Re: Unable to boot cloned disk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jun 19, 2009 at 12:56 PM, Markus Kesaromous <remotestar@xxxxxxxx> wrote:
>
> On my workstation, with FC9, I attached a second drive, identical to the linux boot drive.
> In single user mode, I cloned sda to sdb
> dd if=/dev/sda of=/dev/sdb bs=32M
> I shut down and remove the second drive and insert it into
> another workstation.
>
> Booting the second workstation fails because it cannot find
> /dev/root, among other things, and the kernel panics.

Please do not post html to this list.

Check the kernel command line in your /boot/grub/grub.conf to see if
it might be using a UUID in the kernel parameter that specifies the
partition to mount as root. The UUID is a identifier created uniquely
by your system for each hard drive partition. The grub.conf syntax is
the same as described by 'man fstab'.

Here is an example from /boot/grub/grub.conf my Fedora 9 initial install.

kernel /vmlinuz-2.6.25-14.fc9.i686 ro 3
root=UUID=9ce915fd-c95f-4817-8b02-448a4306fb11

After you clone the drive, the cloned copy of grub.conf will contain
the UUID of the original drive. You will need to edit this line in the
cloned grub.conf so that it matches the UUID of the cloned drive.

Or you can elect to use one of the other fstab syntaxes accepted by
grub, such as these examples
	root=LABEL=somelabel
	root=/dev/sda1

You can see the UUID of your drives by
	ls -l /dev/disk/by-uuid/

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux