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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/699802

Title:
  error:: no video mode activated

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/699802/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to