You are not logged in.

#1 2008-03-28 20:13:35

spaigy
Member
From: Southampton - UK
Registered: 2008-03-28
Posts: 2

GRUB Problems - Grub does not give me a menu, just a command line.

Hello All,

Installed arch a few days ago, left partitions spare for windows to be installed later. Here's the configuration I'm using:

/dev/sda1 = /boot
/dev/sda2 = /
/dev/sda3 = Windows (unformatted at the time)
/dev/sda5 = Swap
/dev/sda6 = FAT32/NTFS (unformatted at the time)

This all worked fine, until I...

...installed Windows XP. Windows decides GRUB isn't good enough, and seems to have overwritten it, so...

...I used the arch install CD to boot back into my arch system and ran:

grub-install /dev/sda

This ran for a while and told me GRUB was installed. I then put the following into my "/boot/grub/menu.lst" file:

# (0) Arch Linux
title  Linux
root   (hd0,0)
kernel /vmlinuz26 root=/dev/sda2 ro
initrd /kernel26.img

# (1) Windows
title Windows
rootnoverify (hd0,2)
makeactive
chainloader +1

This has kind of worked. When I boot, I now get a grub>_ command shell.

If I run:

grub> root(hd0,0)
grub> configfile /grub/menu.lst

I get the grub menu, as configured - and can load into either windows or linux.

Any idea why GRUB is not reading this on boot?

Cheers,

Craig Roberts

Offline

#2 2008-03-28 21:09:55

spaigy
Member
From: Southampton - UK
Registered: 2008-03-28
Posts: 2

Re: GRUB Problems - Grub does not give me a menu, just a command line.

Hi All,

Solved the problem. Rebooted and ran the following commands:

grub> root (hd0,0)
grub> setup(hd0)

On reboot, the menu came up.

Got the idea from: http://www.linuxjournal.com/node/4622/print

Cheers,

Craig Roberts

Offline

Board footer

Powered by FluxBB