Re: kernel 2.6 how-to
On Sun, 17 Aug 2003 12:58:50 -0700 (PDT), James Horey wrote:
> mount: /dev2/root2 is not a valid block device
> mount: /dev2/root2 is not a valid block device
> mount: you must specify the filesystem type
> pivot_root: No such file or directory
> /sbin/init: 196: cannot open dev/console: No such file
> Kernel panic: Attempted to kill init!
>
I also get this with loadlin although I am using a custom image, and
both of us have different hardware and root fs. Strangely enough, lilo
boots the same settings fine. I have reported about it on
http://lists.debian.org/debian-user/2003/debian-user-200308/msg04106.html.
I wonder if you have a chance to try booting with lilo?
I suspect it is a kernel or, less probable, an initrd-tools, problem.
> Here's my grub entry:
>
> root (hd0,1)
> kernel /boot/vmlinuz-2.6.0-tes2-1-386 root=/dev/hda2
> ro
> initrd /boot/initrd.img-2.6.0-tes2-1-386
> > savedefault
> boot
>
> Finally, here's my /etc/fstab:
>
> /dev/hda2 / ext3 defaults 0 1
> /dev/hda1 /home ext3 data=writeback 0 2
> /dev/hda3 none swap sw 0 0
> proc /proc proc defaults 0 0
> sysfs /sys sysfs defaults 0 0
> /dev/cdrom /cdrom iso9660 ro,user,noauto 0 0
> /dev/cdrom1 /cdrom1 iso9660 ro,user,noauto 0 0
>
> I tried to boot the system with both the sysfs line
> left in and out of fstab and as far as I could tell,
> it made no difference. Thanks for any help!
>
What is sysfs?
> Please CC me, as I am not subscribed to this list.
> Thanks!
>
--
Shaul Karl, shaulk @ actcom . net . il
Reply to: