Hi theBrain, thanks for you input.
I've just spent a while trying again -- deleting lines from grub.cfg until it broke.
The first problem, for
Fedora users, is that it puts everything in
/boot/grub2 so I recommend:
Code:
ln -s grub2 /boot/grub
I followed your instructions to generate the grub modules.
But, I've managed to sidestep the need by using the config:
Code:
GRUB_GFXPAYLOAD_LINUX="text"
GRUB_TERMINAL="serial"
These cause the following lines to be put into grub.cfg
Code:
serial
terminal_input serial
terminal_output serial
NOW, I see the menu, but as you point out, it's a bit wonky if your terminal isn't 80x24 characters.
Note, I've also removed the serial line speeds. They don't seem to be necessary.
My full
/etc/default/grub looks like:
Code:
GRUB_CMDLINE_LINUX="console=ttyS0"
GRUB_DEFAULT=0
GRUB_DISABLE_RECOVERY="true"
GRUB_DISABLE_SUBMENU=true
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_GFXPAYLOAD_LINUX="text"
GRUB_SERIAL_COMMAND="serial"
GRUB_TERMINAL="serial"
GRUB_TIMEOUT=5
Below is the stripped down, but
WORKING, output of grub-mkconfig
Code:
serial
terminal_input serial
terminal_output serial
set timeout_style=menu
set timeout=5
menuentry 'Fedora 22' --class fedora --class gnu-linux --class gnu --class os --unrestricted 'gnulinux-4.0.7-300.fc22.x86_64-advanced-e7051d37-c6f7-450f-bf21-eec3a735838a' {
set gfxpayload=text
insmod gzio
insmod ext2
set root='hd0'
search --no-floppy --fs-uuid --set=root 5558db20-252a-4342-94f3-86886e17afe0
linux16 /boot/vmlinuz-4.0.7-300.fc22.x86_64 root=UUID=5558db20-252a-4342-94f3-86886e17afe0 ro console=ttyS0
initrd16 /boot/initramfs-4.0.7-300.fc22.x86_64.img
}
I tried, but failed, to get the default
Debian 7 deployment to work.
It seems to have a different version of grub2.
My machine works, so I'm happy.
Rich / FlatCap