OEM hard disk replication

Chadley Wilson chadleyw at pinnacle.co.za
Wed Mar 3 07:36:28 UTC 2010


> >> You may be in too much of a hurry to answer this (please don't swear
> >> at me), but what exactly fails when you put the duplicated disks in
> another machine?
> > [>] I get a kernel panic message
> What did it say? Something about root?
>
[>] Yes, I found that what Brian said is accurate. I actually learnt something to day. (Thanks Brian)

So for all you fellows out there trying to duplicate hard drives,

Edit /etc/fstab

There are 4 lines

# / was on /dev/sdaX during installation
UUID=xxxxxxxxxxxxxxxxxxxxxxxxx  /       ext3    errors=remount-ro        0        1

And

# swap was on /dev/sdaX during installation
UUID=xxxxxxxxxxxxxxxxxxxxxxxxx  none    swap    sw                       0       0

Replace the UUID=xxxxxxxxxxxxxxxxxxxxx with the relevant /dev/sdaX

Then you need to regenerate your  grub

To do this you need edit:
/etc/default/grub

Look for a line:
# GRUB_DISABLE_LINUX_UUID=true

Uncomment it by removing the #

Then run
grub-mkconfig -o /boot/grub/grub.cfg

NOTE:
 I had to delete the original /boot/grub/grub.cfg before it would work. In my case it added an additional set of menu options to grub leaving the original non-working set alone.
So to summarize I had about 8 items in the list.

reboot and happy cloning...


Thanks to all for the help.

There is one more problem, maybe someone here can help me.. I will post it separately..


Pinnacle Technology Holdings E-Mail Disclaimer:

This e-mail is confidential and intended solely for the use of the individual(s) to whom it is addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of Pinnacle Technology Holdings any of it's divisions or affiliates. If you are not the intended recipient, be advised that you have this e-mail in error and that any use, dissemination, forwarding, printing, or copying of it is strictly prohibited.




More information about the ubuntu-users mailing list