Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just cloned a disk (A) using dd into the same kind of disk (B):

dd if=/dev/sda of=/dev/sdb

Now, I want to boot the server with new disk (B) instead of old (A). But i getting an error during start:

............................Could not find /dev/disk/by-id/scsi-35000c5004c05c167-part3.
Want me to fall back to /dev/disk/by-id/scsi-35000c5004c05c167-part3? (Y/n) 
Waiting for device /dev/disk/by-id/scsi-35000c5004c05c167-part3 to appear:             
..............................not found -- exiting to /bin/sh

I think the problem is that it query the disk using old disk (A) ID (scsi-35000c5004c05c167). Where can i change it to use new disk (B) ID?

I'm using Suse Linux Enterprise 11

More info:

$ ls /dev/disk/by-id/scsi-*           
share|improve this question
up vote 4 down vote accepted

You need to change your paths in:

  • /etc/fstab
  • /boot/grub/menu.lst
share|improve this answer
after exiting to /bin/sh there is no /etc/fstab not /boot/grub/menu.lst – Zhen May 7 '12 at 18:20
Boot using a live CD or temporarily change the boot info as BMDan suggests, then make the change. – MikeyB May 7 '12 at 19:11
@Zhen, you almost certainly are going to need to boot the system with a livecd. – Zoredache May 7 '12 at 19:11
i was able to change '/etc/fstab' but there is no '/boot/grub/menu.lst' file – Zhen May 8 '12 at 8:06
@mikeyB what do you change in that line and replace it with what? – user232262 Jul 10 '14 at 18:51

you need to find and replace that uuid in your grub configuration, something like /boot/grub/menu.lst in grub.

in grub 2, /boot/grub/grub.cfg is generated when you run update-grub, so you could temporarily modify that file and boot, and then change the grub settings and run update-grub once you have booted into your OS.

another option is to temporarily replace the uuid reference to the actual disk partition, and again fix that later.

share|improve this answer
just to nitpick a little, but what he displayed isn't a UUID. UUIDs are globally unique and follow a certain format. – Zoredache May 7 '12 at 19:13
ah yes, it is scsci id. thanks! – johnshen64 May 7 '12 at 20:36

In grub's configuration, you'll have a line that reads something like:

kernel /foo root=/dev/disk/by-id/scsi-35000c5004c05c167-part3

You'll need to change that line. You may also have, as @MikeyB points out, similar entries in /etc/fstab; you'll need to change those, as well.

Alternately, to boot off of the cloned disk, you can do a one-time edit of grub's configuration by hitting any key to enter menu mode, then "e" to edit the startup entry in question, then "e" again to edit the line. Make the changes, then hit enter to "save" (I use the term loosely) the modified line, and press "b" to boot the active entry. Don't forget to then make your changes permanent through the same steps as above!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.