You are not logged in.
Pages: 1
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
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
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
If you get a "cannot mount root fs" via kernel the grub has already done its job.
Offline
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
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
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
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
Pages: 1