Drives and partitions: converting from Linux to GRUB namingconvention

Dan Nicholson dbn.lists at gmail.com
Wed Aug 16 15:01:55 PDT 2006


On 8/16/06, Angel Tsankov <fn42551 at fmi.uni-sofia.bg> wrote:
>
> Unfortunately, this script uses /boot/grub/device.map, which does not exist in the LFS system.

I forgot that we don't create it. You can do it really easily. As root:

# grub --batch --device-map=/boot/grub/device.map << "EOF"
quit
EOF

GRUB won't overwrite an existing file, so you'd have to remove it first.

--
Dan



More information about the lfs-support mailing list