Grub-1.97 problems

linux fan linuxscratch at gmail.com
Thu Nov 12 06:55:53 PST 2009


On 11/12/09, Bruce Dubbs <bruce.dubbs at gmail.com> wrote:
> Bruce Dubbs wrote:
>
>> I just had an aha!
>>
>> Try rebuilding grub without the --disable-largefile switch.

That worked!

Now some more things.
.. I needed to suppress probing the ancient mobo ide drive that is not
connected to avoid a 2 minute wait for it not to find a drive
connected ...
cat /etc/default/grub
GRUB_CMDLINE_LINUX="ide_core.noprobe=0.0 ide_core.noprobe=0.1"

... Grub2 ..hardcoded.. what your kernel basname must be like vmlinu[zx]...
ln -s lfskernel-2.6.31.4-noremap vmlinux-2.6.31.4-noremap
ls -l vmlinux-2.6.31.4-noremap
lrwxrwxrwx 1 root root 26 2009-11-12 09:34 vmlinux-2.6.31.4-noremap ->
lfskernel-2.6.31.4-noremap

... Make a cfg
grub-mkconfig -o /boot/grub/grub.cfg
Generating grub.cfg ...
Found linux image: /boot/vmlinux-2.6.31.4-noremap
done

cat /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### 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.4-noremap" {
        insmod ext2
        set root=(hd0,11)
        search --no-floppy --fs-uuid --set 6e97d350-d12d-49d9-954c-169e328ba062
        linux   /boot/vmlinux-2.6.31.4-noremap root=/dev/sda11 ro
ide_core.noprobe=0.0 ide_core.noprobe=0.1
}
menuentry "GNU/Linux, with Linux 2.6.31.4-noremap (recovery mode)" {
        insmod ext2
        set root=(hd0,11)
        search --no-floppy --fs-uuid --set 6e97d350-d12d-49d9-954c-169e328ba062
        linux   /boot/vmlinux-2.6.31.4-noremap root=/dev/sda11 ro
single ide_core.noprobe=0.0 ide_core.noprobe=0.1
}

Now 2 questions:

1 - In the GNU GRUB version 1.97 screen, when you type 'help', how to
keep it from scrolling so that you cannot read it?

2 - When editing an entry in GNU GRUB version 1.97 screen (in emacs
like ..), can it use a different editing mode that has a cursor and
works like it did in grub-legacy?
I have had many occasions when I needed to edit an entry on-the-fly to
get things going.



More information about the lfs-support mailing list