On Sun, 27 Mar 2011 12:06:35 -0400 "piper.guy1" <[email protected]> wrote:
> Hi, > > I'm almost finished LFS-6.7. I verified that grub works in section > 8.4.3 and LFS boots up without any hitches. > > But now section 8.4.4 requires the change to the MBR with the > 'grub-setup' command. But it just won't work for me. I getting > segmentation faults and syntax errors. > > root:/# grub-setup '(hd0)' > Segmentation fault > root:/# grub-setup /dev/sda > Invalid device `/dev/sda'. > Try `grub-setup --help' for more information. > root:/# grub-setup "/dev/sda" > Invalid device `/dev/sda'. > Try `grub-setup --help' for more information. > root:/# grub-setup '/dev/sda' > Invalid device `/dev/sda'. > Try `grub-setup --help' for more information. > root:/# grub-setup '\(hd0\)' > Invalid device `\(hd0\)'. > Try `grub-setup --help' for more information. > root:/# grub-setup '/(hd0/)' > Invalid device `/(hd0/)'. > Try `grub-setup --help' for more information. > root:/# grub-setup \(hd0\) > Segmentation fault > > What am I doing wrong? > I'm going to guess that you've re-entered chroot and haven't mounted /dev in the chroot environment. So in chroot /dev/sda does not exist? Just a wild guess. Andy -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
