Results 1 to 2 of 2
i'm compiling my kernel 2.6.16.13 on SuSE 10.1
while creating initrd im getting error as
/sbin/mkinitrd : line 2812 : /boot/initrd-2.6.16.13SOM/etc/fstab : No such file or directory
No '/' mountpoint ...
- 01-31-2007 #1Just Joined!
- Join Date
- Nov 2006
- Posts
- 8
Kernel 2.6 compilation problem with initrd plz help
i'm compiling my kernel 2.6.16.13 on SuSE 10.1
while creating initrd im getting error as
/sbin/mkinitrd : line 2812 : /boot/initrd-2.6.16.13SOM/etc/fstab : No such file or directory
No '/' mountpoint specified in /boot/initrd-2.6.16.13SOM/etc/fstab
on givin command mkinitrd /boot/initrd-2.6.16.13SOM 2.6.16.13SOM
and i tried command
mkinitrd -k /boot/vmlinuz-2.6.16.13SOM
-i /boot/initrd-2.6.16.13SOM
-M /boot/System.map-2.6.16.13SOM
initrd is created but wen booted, system halts and prints Kernel Panic, not syncing Attempt to kill init!!!
SO please can anyone tell me wat could be the problem???
by the way, i've modified read_write.c with some "Kernel Sockets" calls thats "work fine" in modules.
- 02-07-2007 #2
Maybe in your initrd file is an erroneous mount command.
In the fstab file are the complete mount commands that you can refer to with a shortcut mount command (e.g. "mount /flash").
Below, a few entries from my fstab. It's FreeBSD, as at home, I don't have Linux, but you'll get the point:
/dev/acd0c /cdrom cd9660 ro,noauto 0 0
/dev/acd1c /cdrom1 cd9660 ro,noauto 0 0
/dev/da0s1c /flash msdos rw,noauto 0 0
/dev/da0 /mp3 msdos rw,noauto 0 0
/dev/fd0 /floppy msdos rw,noauto 0 0
/dev/fd0 /floppy_ufs ufs rw,noauto 0 0
With this fstab entry, I can use the shortcut ("mount /flash"). Without it, I would need the full mount command every time.
Maybe there is some mismatch between inird and fstab with a mount command that mounts a disk or another indispensible thing.Bus Error: Passengers dumped. Hech gap yo'q.


Reply With Quote
