From 154c0ce4dfee62b5d8671c9d022ee5cd92f5be20 Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Wed, 7 Jul 2010 19:21:08 +0000 Subject: [PATCH] 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 --- chapter01/changelog.xml | 11 +++++++++++ chapter08/grub.xml | 8 ++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index f2d9080a7..3d50f4181 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -36,6 +36,17 @@ --> + + 2010-07-07 + + + [matthew] - Fixed creation of a GRUB boot disk. Fixes + #2706. Thanks to + Sebastian Plotz for the report and fix. + + + + 2010-07-04 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