From 154c0ce4dfee62b5d8671c9d022ee5cd92f5be20 Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Wed, 7 Jul 2010 19:21:08 +0000 Subject: Fixed creation of a GRUB boot disk. Fixes #2706. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9336 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter08/grub.xml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'chapter08/grub.xml') diff --git a/chapter08/grub.xml b/chapter08/grub.xml index cf0b4fbe4..70145d303 100644 --- a/chapter08/grub.xml +++ b/chapter08/grub.xml @@ -32,8 +32,12 @@ following commands: cd /tmp -grub-mkrescue --image-type=floppy floppy.img -dd if=floppy.img of=/dev/fd0 bs=1440 count=1 +grub-mkrescue --output=grub-img.iso +dd if=grub-img.iso of=/dev/fd0 bs=1440 count=1 + + Alternatively, a boot CD can be created by using your host system's + CD burning tools to burn the grub-img.iso on to a + blank CD. GRUB uses its own naming structure for drives and partitions in the form of (hdn,m), where n -- cgit v1.2.3-54-g00ecf