]>
Commit | Line | Data |
---|---|---|
28c102eb | 1 | grub-rescue-pc |
2 | ~~~~~~~~~~~~~~ | |
3 | ||
4 | How to test the images with qemu: | |
5 | ||
6 | qemu -fda /usr/lib/grub-rescue/grub-rescue-floppy.img | |
7 | ||
8 | qemu -cdrom /usr/lib/grub-rescue/grub-rescue-cdrom.iso | |
9 | ||
746f572d CW |
10 | qemu -hda /usr/lib/grub-rescue/grub-rescue-usb.img |
11 | ||
28c102eb | 12 | How to write the images to bootable media: |
13 | ||
14 | sudo dd if=/usr/lib/grub-rescue/grub-rescue-floppy.img of=/dev/fd0 bs=32k | |
15 | ||
16 | sudo wodim /usr/lib/grub-rescue/grub-rescue-cdrom.iso | |
17 | # or just use your favourite CD burning program | |
18 | ||
746f572d CW |
19 | sudo dd if=/usr/lib/grub-rescue/grub-rescue-usb.img of=DEVICE bs=32k |
20 | # where DEVICE is something like /dev/sdb, corresponding to your USB | |
21 | # stick's device name; be VERY CAREFUL that this is the correct device as | |
22 | # otherwise you could destroy data on your hard disk! |