Dear Slug,

I am running sarge, and I have compiled a new kernel
(2.6.8).

make xconfig
make bzImage
make modules
make modules_install

then copied System.map, bzImage to /boot, 

When I tried to make the initrd.img I got some errors:

server1:/usr/src/linux-2.6.8# mkinitrd -o
initrd.img-2.6.8 2.6.8
cpio: /etc/modprobe.conf: No such file or directory
cpio: /lib/modules/modprobe.conf: No such file or
directory

And when I try to boot this kernel with this initrd I
get a kernel panic:

RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 1168 blocks [1 disk] into ram
disk..done.
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 196k freed
initrd-tools:0.1.71
pivot_root: No such file or directory
/sbin/init: 424: cannot open dev/console: No such file
Kernel panic: Attempted to kill init!


>From /boot/grub/menu.lst:

title           Debian GNU/Linux, kernel 2.6.8
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.8 root=/dev/hda1 ro
initrd          /boot/initrd.img-2.6.8
savedefault
boot


I have tried booting without the initrd line in
menu.lst (above), which I thought should work since I
have ext3 support into the kernel (

server1:/usr/src/linux-2.6.8# less .config |grep -i
ext3
CONFIG_EXT3_FS=y
CONFIG_EXT3_FS_XATTR=y
# CONFIG_EXT3_FS_POSIX_ACL is not set
# CONFIG_EXT3_FS_SECURITY is not set

) rather than as a module, but I get the following
error:

VFS: Cannot open root device "hda1" or
unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on
unknown-block(0,0)


but I don't see whats wrong with "root=/dev/hda1". See
mount output below.

server1:/usr/src/linux-2.6.8# mount
/dev/hda1 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)

Any help appreciated.

Kind Regards, Joshua Burvill

Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to