[Bug 699802] Re: error:: no video mode activated
Timmmm
699802 at bugs.launchpad.net
Fri Dec 2 12:09:20 UTC 2011
Ok, finally got this to work(ish)! I commented most things out in
/boot/grub/grub.cfg, and the menu finally shows up! When I boot it says
"error: no suitable mode found \n booting however" or somthing like
that.
As an aside, is there meant to be loads of ugly bash-like code in the
grub.cfg? Because I'd hate to think that someone was stupid/masochistic
enough to voluntarily choose bash as their configuration/scripting
language. If someone *was* that stupid, well... I (would have) told you
so!
Anyway, below is the configuration that finally (sort of) worked, with
all the bash bullshit taken out. I also commented the linux_gfx_mode and
recordfail stuff just in case.
I will try setting gfxpayload=text to see if that fixes the "no suitable
mode" error.
----------8<-----------
terminal_input console
terminal_output console
menuentry 'Ubuntu, with Linux 3.0.0-13-generic' --class ubuntu --class gnu-linux --class gnu --class os {
# recordfail
# set gfxpayload=$linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root='(hd0,gpt2)'
search --no-floppy --fs-uuid --set=root 301fb6d4-31e2-41b8-924f-3b073a43bbea
linux /boot/vmlinuz-3.0.0-13-generic root=UUID=301fb6d4-31e2-41b8-924f-3b073a43bbea ro quiet splash vt.handoff=7
initrd /boot/initrd.img-3.0.0-13-generic
}
menuentry 'Ubuntu, with Linux 3.0.0-13-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
# recordfail
insmod gzio
insmod part_gpt
insmod ext2
set root='(hd0,gpt2)'
search --no-floppy --fs-uuid --set=root 301fb6d4-31e2-41b8-924f-3b073a43bbea
echo 'Loading Linux 3.0.0-13-generic ...'
linux /boot/vmlinuz-3.0.0-13-generic root=UUID=301fb6d4-31e2-41b8-924f-3b073a43bbea ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.0.0-13-generic
}
submenu "Previous Linux versions" {
menuentry 'Ubuntu, with Linux 3.0.0-12-generic' --class ubuntu --class gnu-linux --class gnu --class os {
# recordfail
# set gfxpayload=$linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root='(hd0,gpt2)'
search --no-floppy --fs-uuid --set=root 301fb6d4-31e2-41b8-924f-3b073a43bbea
linux /boot/vmlinuz-3.0.0-12-generic root=UUID=301fb6d4-31e2-41b8-924f-3b073a43bbea ro quiet splash vt.handoff=7
initrd /boot/initrd.img-3.0.0-12-generic
}
menuentry 'Ubuntu, with Linux 3.0.0-12-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
# recordfail
insmod gzio
insmod part_gpt
insmod ext2
set root='(hd0,gpt2)'
search --no-floppy --fs-uuid --set=root 301fb6d4-31e2-41b8-924f-3b073a43bbea
echo 'Loading Linux 3.0.0-12-generic ...'
linux /boot/vmlinuz-3.0.0-12-generic root=UUID=301fb6d4-31e2-41b8-924f-3b073a43bbea ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.0.0-12-generic
}
}
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/699802
Title:
error:: no video mode activated
Status in “grub2” package in Ubuntu:
Confirmed
Bug description:
Binary package hint: grub-pc
On my laptop I am getting "error: no video mode activated." message from grub on system boot (in standard VGA mode). After that kernel loads and sets proper resolution (1366x768).
---
Architecture: amd64
DistroRelease: Ubuntu 11.04
Package: grub-pc 1.99~20110104-2ubuntu1
PackageArchitecture: amd64
ProcEnviron:
SHELL=/bin/bash
LANG=pl_PL.UTF-8
ProcVersionSignature: Ubuntu 2.6.37-12.26-generic 2.6.37
Tags: natty
Uname: Linux 2.6.37-12-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/699802/+subscriptions
More information about the foundations-bugs
mailing list