You are not logged in.
Pages: 1
Im getting a file not found/kernel panic error when the kernel tries to mount my root filesystem.
The partition is being specified correctly on the grub kernel line and I dont believe it is a module issue - this happens for both ext2 and ext3 partitions, but not all - just my arch partition.
So what else could cause the kernel to not mount it?
Offline
Faulty init image.Try booting with the fallback image - if that works, regenerate the default image with mkinitcpio.
Offline
thanks for the suggestion!
ill give that a shot right away.
Offline
ok, i tried the fallback image. same problem. so i tried making a new image with mkinitcpio and now the kernel no longer panics when trying to mount the root fs, it just tells me it cant find /dev/sda3 (which is the correct location of my arch partition). my mkinitcpio.conf is as follows:
(modules, files, binaries all blank)
HOOKS="base udev autodetect pata scsi sata filesystems"
Any other hooks or modules I should try? My root filesystem is ext2.
Offline
FWIW, my mkinitcpio.conf has this in the MODULES section:
MODULES="pata_acpi pata_via ata_generic sata_via"
Perhaps you need to add those (or something similar) to yours then regenerate initrd?
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
cant hurt!
ill give it a shot.
Offline
another issue worth mentioning - when i initially ran mkinitcpio and it parsed the autodetect hook, it gave me a /sys/devices not found error message. I am doing all this maintenance on my arch partition by chrooting into it on my ubuntu install. i mount --bind'ed the /sys/ directory of my ubuntu partition to my arch /sys/ partition, which got rid of the error message, but i dont know if it actually helps - the /sys/devices folder is empty in ubuntu. dont know if thats of any relevance because i dont know how autodetect parsing works.
Offline
also, when i run mkinitcpio, it seems to be looking for modules in 2.6.24.19-generic in /lib/modules...this isnt right, where can i change it? (should be /lib/modules/2.6.25-ARCH as far as I can tell)
Offline
alright, alright, sorry to spam, but i figured out my mkinitcpio woes. and i found something i should have caught much sooner.
i believe the filesystem is being mounted, but the problem is actually afterward, with kinit...here is the last 3 lines of the boot process:
kinit: mounted root (ext2 filesystem) readonly
sh: root=/dev/sda3: No such file or directory
Kernel panic - not syncing: Attempting to kill init!
Offline
Can you run fdisk -l as root and post the output?
(That's a lower-case L, not a capital I)
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Disk /dev/sda: 30.0 GB, 30005821440 bytes
255 heads, 63 sectors/track, 3648 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x86338633
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2940 23615518+ 83 Linux
/dev/sda2 3588 3648 489982+ 82 Linux swap / Solaris
/dev/sda3 2941 3587 5197027+ 83 Linux
Partition table entries are not in disk order
sda1 is my ubuntu partition (ext3) im currently running. sda3 is arch (ext2)
Last edited by kristersaurus (2008-07-30 17:48:14)
Offline
I don't know if this is the problem, but it might help to fix the partition table order.
Looking at the post here:
http://ubuntuforums.org/archive/index.php/t-108649.html
Post #4 by "roelofs" mentions about kernel panics etc, as well as instructions on how to fix it (fdisk, expert mode, 'f'ix, 'w'rite)
Sorry I can't be more help.
Last edited by fukawi2 (2008-07-30 23:33:00)
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Hey, you have been a good deal of help by asking constructive questions. I will give that a shot.
Offline
No joy. But ummm my partitions are in order now. So thats good.
Offline
Would this spark any more ideas in another section?
Offline
This is probably the best place for it - maybe in the kernel section...
I'm out of ideas though
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
UUID, search the wiki
http://wiki.archlinux.org/index.php/Per … ice_naming
if you still get a kernel panic, I'd suggest pulling out an antique HD and try installing on a separate disk.
Have u tried a new arch ISO, booting that kernel, but using your partition from the disk?
try this method,
http://wiki.archlinux.org/index.php/Kernel_Panics
Last edited by rooloo (2008-07-31 12:29:51)
Offline
Pages: 1