I dont think i did. at  this point i am thinking of redoing the book
again however, how i can mount /dev ?

On Fri, Jul 16, 2010 at 9:02 PM, Andrew Benton <[email protected]> wrote:
> On 16/07/10 18:52, Face wrote:
>> i try to redo  8.4 and i get this
>>
>> chroot "$LFS" /usr/bin/env -i \
>>     HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \
>>     PATH=/bin:/usr/bin:/sbin:/usr/sbin \
>>     /bin/bash --login
>>
>>
>> cd /tmp
>> root:/tmp# grub-mkrescue --image-type=floppy floppy.img
>> Unrecognized option `--image-type=floppy'
>> Usage: /usr/bin/grub-mkrescue [OPTION] SOURCE...
>> Make GRUB rescue image.
>>
>>   -h, --help              print this message and exit
>>   -v, --version           print the version information and exit
>>   --modules=MODULES       pre-load specified modules MODULES
>>   --output=FILE           save output in FILE [required]
>>
>> /usr/bin/grub-mkrescue generates a bootable rescue image with
>> specified source files or directories.
>>
>> Report bugs to<[email protected]>.
>> root:/tmp# dd if=floppy.img of=/dev/fd0 bs=1440 count=1
>> dd: opening `floppy.img': No such file or directory
>> root:/tmp# grub-mkdevicemap --device-map=device.map
>> root:/tmp# cat device.map
>> root:/tmp# grub-install --grub-setup=/bin/true /dev/sda
>> /usr/sbin/grub-probe: error: cannot find a device for /boot/grub (is
>> /dev mounted?).
>> No path or device is specified.
>> Try `/usr/sbin/grub-probe --help' for more information.
>> Auto-detection of a filesystem module failed.
>> Please specify the module with the option `--modules' explicitly.
>> root:/tmp# grub-mkconfig -o /boot/grub/grub.cfg
>> /usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
>
> Have you read this error message?
> When you chrooted, did you mount /dev?
>
>> root:/tmp# grub-setup hd0
>> Invalid device `hd0'.
>> Try `grub-setup --help' for more information.
>> root:/tmp#
>>
> Andy
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>



-- 
Sincerely,
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to