You are not logged in.

#1 2005-12-03 21:14:28

nadman10
Member
From: Erie, PA
Registered: 2005-10-15
Posts: 200

GRUB is messed up

After a fresh install, I ran "pacman -Suy". It rattled off an error about Grub. After searching around, I found someone had done "pacman -Suyf" to fix the problem. I ran that and everything seemed to go properly. After rebooting, I now get an error:

VFS: Cannot open root device "discs/disc0/part3" or unknown-block (0,0)

Please append a correct "root=" boot option.

Kernel Panic - not syncing: VFS: unable to mount root fs on unknown-block (0,0)

I did the "auto partition" option when I did my install. I try to boot off the CD and reinstall Grub, but when I go back into the configuration part of the setup, *edit*/boot/grub/menu.lst*edit* is blank. WTF am I doing wrong?

Offline

#2 2005-12-03 21:25:55

pikass
Member
From: Schwartz space
Registered: 2005-11-28
Posts: 85

Re: GRUB is messed up

There is no grub.conf (and never was, though gentoo has a grub.conf symlink)
Look at /boot/grub/menu.lst

Offline

#3 2005-12-03 21:30:38

nadman10
Member
From: Erie, PA
Registered: 2005-10-15
Posts: 200

Re: GRUB is messed up

edited

Offline

#4 2005-12-03 21:40:40

pikass
Member
From: Schwartz space
Registered: 2005-11-28
Posts: 85

Re: GRUB is messed up

I do not know why it is blank, but this is what it should contain:

timeout   5
default   0
color light-blue/black light-cyan/blue
title  Arch Linux [/boot/vmlinuz26]
root   (hdW,X)
kernel /boot/vmlinuz26 root=/dev/hdYZ ro
initrd /boot/initrd26.img <-- only if you installed 0.7.1pre or updated with testing enabled. You may have to build the initrd (wiki)

Offline

#5 2005-12-04 00:57:16

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: GRUB is messed up

I did the "auto partition" option when I did my install. I try to boot off the CD and reinstall Grub, but when I go back into the configuration part of the setup, *edit*/boot/grub/menu.lst*edit* is blank. WTF am I doing wrong?

You can't just go back and edit menu.list from the install dialog without going through all the steps again. It doesn't work like that.
From the prompt mount the root partition, chroot into it then do your grub stuff.
You shouldn't have to do that though. Arch doesn't reinstall grub on the mbr after each update. You have to do that manually as grub-install /dev/hdx.
The reason you system wont boot anymore is because you used the -f  which replaced your config with the generic one.
From the grub screen type 'e' for edit and change the nameing scheme from devfs(/dev/discs/crap) to udev /dev/hdxy. You can type 'b' to boot after you've made the changes.

Offline

#6 2005-12-11 05:29:55

nadman10
Member
From: Erie, PA
Registered: 2005-10-15
Posts: 200

Re: GRUB is messed up

That fixed it. Thanks

Offline

Board footer

Powered by FluxBB