You are not logged in.

#1 2010-01-10 17:21:13

kekules_dream
Member
Registered: 2009-05-19
Posts: 102

dual boot arch from second hard drive [SOLVED]

I have two sata hard drives connected.  Hard drive 0 has my working updated version of arch.

I'm trying to boot off the second hard drive that has an older installation of arch.  I have added this to my menu.lst of my first hard drive:

# (2) Arch Linux 2.6.31
title  Arch Linux 2.6.31
root   (hd1,0)
kernel /vmlinuz26 root=/dev/disk/by-uuid/29523114-ab52-4a9b-b93f-e2da915c0dc1  ro vga=773
initrd /kernel26.img

I have also tried using /dev/sdb1 on the kernel line with the same results.  The uuid is correct I am able to obtain that from /dev/disk/by-uuid/

this is definately where the vmlinuz26 file resides for that hard drive.  I can mount it and see it.

But when I choose this option, it tries to boot but then I get:

kinit: init not found!
Kernel panic - not syncing: Attempted to kill init!
Pid: 1, comm: init not tainted 2.6.31-ARCH #1

What do I need to change?  Do I need to add something to that initrd line?  Thanks.

Last edited by kekules_dream (2010-01-10 21:43:31)

Offline

#2 2010-01-10 21:46:06

kekules_dream
Member
Registered: 2009-05-19
Posts: 102

Re: dual boot arch from second hard drive [SOLVED]

I had to change the uuid to that of the root partition on sdb (the second hard drive) even though I had a /boot partition on it (sdb1).  It is now working.

# (2) Arch Linux 2.6.31
title  Arch Linux 2.6.31
root   (hd1,0)
kernel /vmlinuz26 root=/dev/disk/by-uuid/4a5827bc-6ace-4d4d-9ba7-24586e365c8a  ro vga=773
initrd /kernel26.img

Offline

Board footer

Powered by FluxBB