You are not logged in.

#1 2011-05-25 23:25:05

Hazzy
Member
Registered: 2011-05-25
Posts: 6

[SOLVED] Booting Win7, Ubuntu, and Arch - Can't load Ubuntu

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

#2 2011-05-25 23:30:16

sudokill
Member
Registered: 2011-04-27
Posts: 54

Re: [SOLVED] Booting Win7, Ubuntu, and Arch - Can't load Ubuntu

You spelt kernel wrong. Kernal

Offline

#3 2011-05-25 23:32:51

Hazzy
Member
Registered: 2011-05-25
Posts: 6

Re: [SOLVED] Booting Win7, Ubuntu, and Arch - Can't load Ubuntu

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. big_smile

Last edited by Hazzy (2011-05-25 23:43:12)

Offline

#4 2011-05-26 09:21:19

ChoK
Member
From: France
Registered: 2008-10-01
Posts: 346

Re: [SOLVED] Booting Win7, Ubuntu, and Arch - Can't load Ubuntu

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

Board footer

Powered by FluxBB