You are not logged in.
I have two harddrive disk in my computer - one with Windows 7 and Ubuntu 11.04 and the other with a fresh install of Arch. When I boot the computer, it opens Arch's new Grub menu and will launch either Arch or Windows 7 just fine, but I'm having issues adding an Ubuntu option.
I installed Grub during the initial install process to the first location on the disk. I have no idea where Ubuntu's Grub2 loader was installed to, or whether it's still there. I've tried searching around for similar cases, but most of them were asked before Arch was installed - I did not think that far ahead. The solutions I did find that seemed relevant did not help. I ranged from the option in Grub just flashing the screen and returning to giving me more specific errors:
Error 15: File not found
and
Error 13: Invalid of unsupported executable format
When I turn on my computer, I want a bootloader with at least three options: Windows 7, ArchLinux, and Ubuntu. I am not partial to Grub Legacy, Grub2, or any other loader. All I ask is ease of customization, which I'm sure this site's wiki will grant me.
How can I meet this goal?
Here is my current /boot/grub/menu.lst file. Again, Windows 7 and Arch launch fine off of it. No luck from Ubuntu.
# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst
# DEVICE NAME CONVERSIONS
#
# Linux Grub
# -------------------------
# /dev/fd0 (fd0)
# /dev/sda (hd0)
# /dev/sdb2 (hd1,1)
# /dev/sda3 (hd0,2)
#
# FRAMEBUFFER RESOLUTION SETTINGS
# +-------------------------------------------------+
# | 640x480 800x600 1024x768 1280x1024
# ----+--------------------------------------------
# 256 | 0x301=769 0x303=771 0x305=773 0x307=775
# 32K | 0x310=784 0x313=787 0x316=790 0x319=793
# 64K | 0x311=785 0x314=788 0x317=791 0x31A=794
# 16M | 0x312=786 0x315=789 0x318=792 0x31B=795
# +-------------------------------------------------+
# for more details and different resolutions see
# http://wiki.archlinux.org/index.php/GRUB#Framebuffer_Resolution
# general configuration:
timeout 2
default 0
color light-blue/black light-cyan/blue
# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*
# (0) Arch Linux
title Arch Linux
root (hd1,0)
kernel /vmlinuz26 root=/dev/disk/by-uuid/81d7c541-9225-4b83-b07d-27f859a74363 ro
initrd /kernel26.img
#No idea what this fallback is, but I'm guessing it's panic mode. Don't really want it in the way...
# so I'll just comment it incase I ever need it.
# (1) Arch Linux
#title Arch Linux Fallback
#root (hd1,0)
#kernel /vmlinuz26 root=/dev/disk/by-uuid/81d7c541-9225-4b83-b07d-27f859a74363 ro
#initrd /kernel26-fallback.img
# (1) Ubuntu
title Ubuntu 11.04
root (hd0,2)
kernal /boot/grub/core.img root=/dev/disk/by-uuid/b8fed4ef-91dd-41d8-9f40-6cf0480cb2e6
# (2) Windows
title Windows 7
rootnoverify (hd0,0)
makeactive
chainloader +1
Last edited by Hazzy (2011-05-26 00:06:00)
Offline
You spelt kernel wrong. Kernal
Offline
Wow.... I feel like a retard now. I'm posting this in Windows 7, so I'll reboot and try to fix that. x_x Thanks for catching that.
Edit:
Thank you for that! It now 'works', but by loading a second bootloader. Less than ideal, but if I remember correctly Ubuntu will list future kernel upgrades there, so this should work. But I am curious if there's a way for me to launch Ubuntu directly from the first Grub menu, and then have another option to bring me to this loader.
Otherwise everything works and I can now move on to setting up Arch more.
Last edited by Hazzy (2011-05-25 23:43:12)
Offline
ubuntu kernel is called linux-2.6.38-x and should be on your /boot partition together with its initrd image,
Replace your ubuntu entry to something similar to your Arch entry that calls :
kernel /linux-2.6.38-x root=/dev/sdaX
initrd /your-ubuntu-initramfs
Replace the x, X, initramfs accordingly
Ah, good taste! What a dreadful thing! Taste is the enemy of creativeness.
Picasso
Perfection is reached, not when there is no longer anything to add, but when there is no longer anything to take away.
Saint Exupéry
Offline