Red Hat Bugzilla – Bug 186114
Instructions for preparing USB boot media can cause loss of hard drive partition table
Last modified: 2007-04-18 13:40:14 EDT
Description of problem:
the instructions just tell you to type:
dd if=diskboot.img of=/dev/sda
But this could blow away your hard drive partition table (and more besides) if
you have a SCSI hard drive!!!!
Instead, the docs should explain how to find out the device node of your USB
device (e.g. look in dmesg).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
(Don't actually do this!)
1. On a machine with a SCSI hard drive, follow the instructions
Partition table on SCSI hard drive overwritten
Boot image written to USB hard drive
Thanks - I've amended the CVS version with a procedure for finding out the
correct device node. The HAL device mounting in FC5 doesn't seem to log to
/var/log/dmesg, so I've specified "ls /proc/mounts".
(In reply to comment #1)
> The HAL device mounting in FC5 doesn't seem to log to
Note that /var/log/dmesg should really be called /var/log/boot-dmesg - it is
only written once per session, on bootup. Everything that happens after bootup
only appears in the output of the dmesg command, but not in /var/log/dmesg.
OK, I've now revised the instructions to use the dmesg command.