You are not logged in.
Pages: 1
I have arch and ubuntu both successfully installed on my machine (arch is my main os, ubuntu is backup) and I am having trouble getting Ubuntu to load up from the grub menu.lst from arch's boot partition. here is the relevant part of my menu.lst:
# (0) Arch Linux
title Arch Linux
root (hd0,0)
kernel /vmlinuz26 root=/dev/disk/by-uuid/cc5e81eb-b552-4b81-b853-9c6a738f9536 ro vga=773
initrd /kernel26.img
# (1) Arch Linux
title Arch Linux Fallback
root (hd0,0)
kernel /vmlinuz26 root=/dev/disk/by-uuid/cc5e81eb-b552-4b81-b853-9c6a738f9536 ro
initrd /kernel26-fallback.img
# (2) Ubuntu
title Ubuntu
root (hd0,6)
kernel /vmlinuz-2.6.32-21-generic root=/dev/disk/by-uuid/c9a28a6f-3eb1-45ac-b679-b18b9057182f ro quiet splash
initrd /initrd.img-2.6.32-21-generic
I have checked multiple times, Ubuntu is indeed installed on sda6 (which I assume means I should put (hd0, 6) correct me if I'm wrong) and the UUID for the partition that Ubuntu is on is correct. The grub error message that appears when I attempt to boot Ubuntu is:
root(hd0,6)
filesystem type is ext2fs partition type 0x83
kernel /vmlinuz-2.6.32-21-generic root=/dev/disk/by-uuid/c9a28a6f-3eb1-45ac-b679-b18b9057182f ro quiet splash
Error 15: File not found
Offline
I think you probably need to correct this entry:
# (2) Ubuntu
title Ubuntu
root (hd0,6)
kernel /boot/vmlinuz-2.6.32-21-generic root=/dev/disk/by-uuid/c9a28a6f-3eb1-45ac-b679-b18b9057182f ro quiet splash
initrd /initrd.img-2.6.32-21-generic
I assume you have no seperate /boot partition for ubuntu? So the kernel file isn't in the root directory of the partition, it lies in the /boot directory.
Offline
when I correct that line I receive the same error message except it says .../boot/vmlinuz... file not found
Offline
you need to figure out where both vmlinuz and initrd are relative to sda6 (they will be in the same folder).
so it will either be
kernel /vmlinuz-2.6.32-21-generic root=/dev/disk/by-uuid/c9a28a6f-3eb1-45ac-b679-b18b9057182f ro quiet splash
initrd /initrd.img-2.6.32-21-generic
or more likely
kernel /boot/vmlinuz-2.6.32-21-generic root=/dev/disk/by-uuid/c9a28a6f-3eb1-45ac-b679-b18b9057182f ro quiet splash
initrd /boot/initrd.img-2.6.32-21-generic
Offline
yes I tried that too, putting /boot/ in front of vmlinuz.. and initrd..., because they are both in /boot, I have checked the spelling of both multiple times
Offline
You might want to look at chainloading Ubuntu: http://wiki.archlinux.org/index.php/GRU … NU.2FLinux
Also, you can find where grub's root is with
> grub find ..
http://wiki.archlinux.org/index.php/Gru … B.27s_root
Last edited by jasonwryan (2010-05-11 06:53:47)
Offline
Ubuntu is indeed installed on sda6 (which I assume means I should put (hd0, 6) correct me if I'm wrong)
sda6 corresponds to (hd0, 5)
to avoid this kind of problems, with the same config (Arch + Ubuntu as secondary distro), I asked Ubuntu to put its grub in its own / partition, and in Arch's grub I put an Ubuntu entry that "chainload" to Ubuntu's grub.
Offline
Pages: 1