Find the answer to your Linux question:
Results 1 to 3 of 3
Dear Linux experts, I cloned a drive image on a computer using clonezilla. I want to clone the hard drive to another computer with same CPU/Motherboard/graphics card. On the first ...
  1. #1
    Just Joined!
    Join Date
    Nov 2006
    Posts
    96

    how to change drive from sdc to sda?

    Dear Linux experts,

    I cloned a drive image on a computer using clonezilla. I want to clone the hard drive to another computer with same CPU/Motherboard/graphics card.

    On the first computer, OpenSUSE is on sda. However, I found that the hard drive I want to clone to on the second computer is sdc. Now, the second computer won't boot because it want to load from sda. How can I change the drive from sdc to sda?

    Thanks!

    phsieh2005

  2. #2
    Linux User Manko10's Avatar
    Join Date
    Sep 2010
    Posts
    250
    Disks are normally named by the order of detection so changing the order of your SATA plugs might have an effect. Otherwise you had to change some Udev rules which is quite complicated for novices.
    The other thing you could do is to just change the boot device name in your grub.conf and /etc/fstab.
    SUSE normally does not use the device file but a symlink /dev/disk/by-uuid/some-weird-id which is unique for each hard drive also when you have cloned one. Therefore you have to change this ID to your new ID found in /dev/disk/by-uuid. Which one it is can be examined with ls -l /dev/disk/by-uuid since those files are just symlinks to your actual device file.

    The other thing you could try is to give your disk a unique label (e2label) and use this instead (/dev/disk/by-label/yourlabel).

  3. #3
    Just Joined!
    Join Date
    Nov 2006
    Posts
    96
    Hi, Manko10,

    Thanks!

    I ended up editing fstab and menu.lst.

    I will also explore the uuid just to learn.

    phsieh2005

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...