linux-2.6.31.6 doesn't boot

Alberto Hernando pajaro.go at gmail.com
Sun Nov 29 13:47:31 PST 2009


Hi.

I've tried it, and:

root:/boot/grub# grub-setup -r '(hd0,8)'
No device is specified.

The same. I've also tried several things using slashes and still the same.
Is there really something wrong with using lilo? I mean, how can I be sure
that grub will be able to boot a kernel that lilo can't? I'm more used to
use lilo than grub.

Alberto

2009/11/29 Bruce Dubbs <bruce.dubbs at gmail.com>

> Alberto Hernando wrote:
>
> >> Make shure that your IDE/PATA/SATA drivers are built right in the
> >> kernel.
>
> > All these drivers are built in the kernel.
> > Now I'm trying  to use GRUB following the book and I get this:
> >
> > root:/# grub-setup
> > No device is specified.
> >
> > root:/# grub-setup -r (hd0,8)
> > bash: error sintáctico cerca del elemento inesperado `(' (syntax error
> near
> > unexpected `(' )
>
> Yes, that's bash interpreting the ( character.  Try:
>
> grub-setup -r '(hd0,8)'
>
> > Here is my /etc/boot/grub/grub.cfg file, as grub made it.
> >
> > ### BEGIN /etc/grub.d/00_header ###
> > set default=0
> > set timeout=5
> > ### END /etc/grub.d/00_header ###
> >
> > ### BEGIN /etc/grub.d/10_linux ###
> > menuentry "GNU/Linux, with Linux 2.6.31.6" {
> >         insmod ext2
> >         set root=(hd0,8)
> >         search --no-floppy --fs-uuid --set
> > 63b80cfb-acd0-4f80-ae29-a4b12b4145a6
> >         linux   /boot/vmlinuz-2.6.31.6 root=/dev/hda8 ro
> > }
> > menuentry "GNU/Linux, with Linux 2.6.31.6 (recovery mode)" {
> >         insmod ext2
> >         set root=(hd0,8)
> >         search --no-floppy --fs-uuid --set
> > 63b80cfb-acd0-4f80-ae29-a4b12b4145a6
> >         linux   /boot/vmlinuz-2.6.31.6 root=/dev/hda8 ro single
> > }
> >
> > Some parts were removed. BTW, the filesystem is actually ext3. Should I
> > change it here?
>
> This looks OK, but the search path is ignored in LFS.  You can remove
> that, but it doesn't do any harm.  The file system being ext3 or ext2
> doesn't matter to grub.  The difference is the journal and grub doesn't
> write to the partition when booting.
>
>   -- Bruce
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20091129/fd766f37/attachment.html>


More information about the lfs-support mailing list