Another disk image attempt failed :(
Daniel Carrera
daniel.carrera at zmsl.com
Thu Apr 13 21:06:00 UTC 2006
Hello,
I tried something else to effectively make a "disk image" of an Ubuntu
OEM installation, but that didn't work either. This is what I did:
Note: /dev/hda is the working installation and /dev/hdb is where I want
to put the clone.
1. Boot from a rescue disk.
2. dd if=/dev/hda of=/dev/hdb count=1 bs=446
This should copy the bootloader part of the MBR without touching the
partition part.
3. fdisk to create the appropriate partitions that the Ubuntu OEM
expects (hdb1 - ext3, hdb2 - extended, hdb5 - swap).
5. Mount hda1 and hdb1 and 'cp --archive'.
After this, I still can't boot from hdb (after pulling out hda). It says
"DISK BOOT FAILURE. INSERT SYSTEM DISK AND PRESS ENTER".
So... the MBR bit didn't work. I don't know what else to try (btw, yes,
hdb1 has the bootable flag set, but it shouldn't matter if the problem
is right at the MBR).
At this point I'm stuck, I don't know what else to try to get a working
MBR. Suggestions welcome.
Cheers,
Daniel.
--
/\/`) http://opendocumentfellowship.org
/\/_/
/\/_/ A life? Sounds great!
\/_/ Do you know where I could download one?
/
More information about the ubuntu-users
mailing list