You are not logged in.

#1 2010-06-20 23:56:00

slackcub
Member
Registered: 2009-03-14
Posts: 144

Grub errors

The hard drive with my Arch install bit the dust.  Unfortunately I forgot to save my menu.lst.  I have been trying to get GRUB up and running, but I'm running into some issues.

My hard drive partitions are as follows:

/dev/sda1 - Windows (Only use it to play WoW)

/dev/sdb1 - /boot ext3
/dev/sdb2 - / ext4
/dev/sdb3 - /home ext4
/dev/sdb5 - /tmp ext4
/dev/sdb6 - swap

The entry for my Arch boot in menu.lst is:

root (hd1,0)
kernel /vmlinuz26 root=/dev/sdb2 ro
initrd /kernel26.img

and for Windows is:

rootnoverify (hd0,0)
makeactive
chainloader +1

When I try to boot the Arch install, I keep getting errors saying that it's unable to mount partition

And when I try to boot into Windows (XP), it says invalid executable, and I've tried adding map () () lines in case it's not on hd0.

Any ideas on what's going on?  Thanks for any help!

David
slackcub@gmail.com

Offline

#2 2010-06-21 00:40:57

igndenok
Member
From: Sidoarjo, Indonesia
Registered: 2010-06-07
Posts: 160

Re: Grub errors

I have 2 HDD
sda - Windows XP (for my brother)
sdb - (ArchLinux)

But, in my menu.lst it used (hd0,0) to boot into arch and (hd1,0) for windows

# (0) Arch Linux
title  Arch Linux
root   (hd0,0)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/90a968d4-fc11-413f-a802-a8652f84abd9 ro nosmp i8042.nopnp i915.modeset=1 init=/sbin/bootchartd
initrd /boot/kernel26-merkava.img

# (1) Windows
title Windows XP Pro
map    (hd0) (hd1)
map    (hd1) (hd0)
rootnoverify (hd1,0)
makeactive
chainloader +

Edit: Check your device.map in /boot/grub

Last edited by igndenok (2010-06-21 00:44:22)


Ask, and it shall be given you.
Seek, and ye shall find.
Knock, and it shall be opened unto you.

Offline

Board footer

Powered by FluxBB