You are not logged in.

#1 2007-03-27 00:09:24

ArchPad
Member
Registered: 2007-03-26
Posts: 81

GRUB problem...

It seems I didn't understand how to configure GRUB properly...my machine gets a kernel panic on boot because it can't mount the root filesystem to hd0(0,0). How to I fix this? I did a default partition. And this is the second consecutive time I've had this problem...

Offline

#2 2007-03-27 00:35:29

aradu
Member
From: Sweden
Registered: 2007-03-24
Posts: 5

Re: GRUB problem...

GRUB is tricky to understand at first because of the different hard drive naming. Please post your /boot/grub/menu.lst file. Also, post your /etc/fstab to make sure everything is correct there as well.

Last edited by aradu (2007-03-27 00:36:40)

Offline

#3 2007-03-27 05:44:46

moses
Member
From: Finland
Registered: 2006-07-02
Posts: 28

Re: GRUB problem...

Could be the common mistake, after system upgrade, did you change the initrd field of you grub/menu.lst entry to /boot/kernel26.img .
That usually causes a 'unable to mount root', or lot's of keycode errors.


- Judge a pig competition? But I'm no super genius... or are I?

Offline

#4 2007-03-27 08:43:50

stb
Member
Registered: 2007-03-13
Posts: 40

Re: GRUB problem...

If you get a "cannot mount root fs" via kernel the grub has already done its job.

Offline

#5 2007-03-27 12:12:44

ArchPad
Member
Registered: 2007-03-26
Posts: 81

Re: GRUB problem...

stb wrote:

If you get a "cannot mount root fs" via kernel the grub has already done its job.

So where is it going wrong? All I've been doing is a simple installation: Autopartition, install BASE (sometimes EDITORS), edit the configs for eth0=dhcp, change my localhost to ArchPad in two places, move the GA tech mirror to the top of each pacman page, installing the kernel and GRUB, and rebooting...

Also, I then update Pacman's repositories and update pacman along with the whole system (-Suy).

Last edited by ArchPad (2007-03-27 12:13:31)

Offline

#6 2007-03-27 12:33:46

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: GRUB problem...

boot from your archdisk and 0.8 iso has trhe option to boot from disk, if this fails then use a live disk such as dsl

post your /etc/fstab and /boot/grub menu.lst

?? what iso did you install from

Offline

#7 2007-03-27 12:49:20

stb
Member
Registered: 2007-03-13
Posts: 40

Re: GRUB problem...

aradu already suggested to show us your menu.lst and fstab. My suggestions:

Change initrd line in menu.lst to use kernel26-fallback.img instead of kernel26.img. If it still does not work, it could be the problem that the installation routine found the harddisk under /dev/hdX and the (new) kernel founds the disk under /dev/sdX. If this is the case, you will see messages like

SCSI subsystem initialized
scsi0 : ata_piix
scsi1 : ata_piix
scsi 0:0:0:0: Direct-Access     ATA      HTC426040G9AT00  00P4 PQ: 0 ANSI: 5
SCSI device sda: 78140160 512-byte hdwr sectors (40008 MB)

although you have an IDE disk. Then you will have to change the root= entry in the menu.lst and change your /etc/fstab accordingly. Hope you will get that fixed.

Offline

#8 2007-03-29 00:40:42

Shnerdly
Member
From: The frozen tundra of Minnesota
Registered: 2007-03-28
Posts: 14
Website

Re: GRUB problem...

I've had that problem a couple of times after an FTP install of 0.8. I booted the install CD using the command they give you just above the prompt. I think it's "arch root=/dev/hda3 noinitd ro". The hda3 would be the root partition of the HD if you did the HD auto prep. I think it uses the cd to boot and the HD for configuration. Any way, after it boots you are at the prompt you would be at if the HD had booted. I was having trouble with Grub so I tried LILO and everything works fine. I just typed "lilo" and hit enter. It gave me an error when I typed lilo but it did install it and the machine boots fine.


I not old . . . I'm chronologically gifted.

Offline

Board footer

Powered by FluxBB