|
|
|
|
| Ubuntu booting new kernel problems |
|
|
|
[Original]
[Print]
[Top]
|
So this is my first time compiling a kernel, I had a couple problems and I finally got it right and successfully compiled a 2.6.20 kernel for my dell 1705/9400 laptop. After getting a kernel panic problem at boot I did some research and found I had to include a initrd line in grub # initrd /boot/initrd.img-2.6.20 I have no idea where the initrd file came from, I tried to compile my own prior and got problems (maybe that's where it came from I have no idea) and I booted it and crossed my fingers. I got this message: Starting Ubuntu... mount: unknown filesystem type 'devfs' FATAL: Module ata_piix not found FATAL: Module sg not found. FATAL: Module sd_mod not found. umount: devfs: not mounted mount: unknown filesystem type 'devfs' umount: devfs: not mounted pivot_root: No such file or directory /sbin/init: 432: cannot open dev/console: No such file [ 5.100000] Kernel panic - not syncing: Attempted to kill init! [ 5.100000]
I've been trying to figure this stuff my entire spring break, (very new to linux) and I'm sure this is an easy fix for an experienced user. Please help, or provide a link to a working initrd img.
Also maybe someone could give me a link to a guide on how to build the filesystem into the kernel so that the initrd won't be necessary?
|
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
How did you build the kernel?
initrd is a ramdisk filesystem that contains modules used by the Linux kernel during boot. If you don't want the modules to be in the initrd, you have to build them (*) with the kernel, rather than modules (M).
|
|
|
----
|
|
[Original]
[Print]
[Top]
|
|
|