On Wed, 11 Aug 1999, you wrote: >I am booting my diskless Linux using etherboot. I get the following messsage... > >... >RRAMDISK: Compressed image found at block 0 >VFS: Mounted root (ext2 filesystem) >Freeing unused kernel memory: 48K freed >Warning: unable to open an initial console >Kernel panic: No init found. Try passing init= option to kernel > >I used the following command to build the tagged image: > >linux-mknbi -d ram -r ram_image.gz -k zImage -o bootImage > >I even tried -a init=/bin/sh in the above command but the same problem remains. > >I have the following files in the ramdisk image: > >/sbin/init >/etc/inittab >/bin/sh > >Thanks, >Piyush > Supply at least the files below (if you use a 2.2 kernel). I think this selection is very close to the minimum you need. total 14 drwxr-xr-x 2 root root 1024 May 27 09:28 bin drwxr-xr-x 2 root root 1024 Jun 9 22:01 dev drwxr-xr-x 3 root root 1024 Jun 24 12:31 etc drwxr-xr-x 2 root root 1024 May 27 09:37 floppy drwxr-xr-x 2 root root 1024 May 27 11:50 home drwxr-xr-x 2 root root 1024 May 27 08:45 lib drwxr-xr-x 2 root root 1024 May 27 09:37 mnt drwxr-xr-x 2 root root 1024 May 27 11:56 opt dr-xr-xr-x 2 root root 1024 May 27 09:37 proc drwxr-xr-x 2 root root 1024 May 28 09:46 root drwxr-xr-x 2 root root 1024 May 27 12:04 sbin drwxrwxrwx 2 root root 1024 May 27 14:42 tmp drwxr-xr-x 2 root root 1024 May 27 11:50 usr drwxr-xr-x 12 root root 1024 May 27 13:44 var bin: total 535 -rwxr-xr-x 1 root root 475348 Apr 4 21:59 bash -rwsr-xr-x 1 root root 51516 Apr 4 22:40 mount -rwxr-xr-x 1 root root 13608 Apr 4 21:55 rm lrwxrwxrwx 1 root root 4 May 27 08:55 sh -> bash dev: total 0 crw------- 1 root root 4, 0 May 25 11:43 console brw-rw-rw- 1 root disk 2, 0 Apr 5 01:12 fd0 brw-rw-rw- 1 root disk 2, 28 Apr 5 01:12 fd0u1440 crw-r----- 1 root kmem 1, 2 Apr 5 01:12 kmem crw-r----- 1 root kmem 1, 1 Apr 5 01:12 mem lrwxrwxrwx 1 root root 5 May 28 09:25 mouse -> psaux crw-rw-rw- 1 root root 1, 3 Apr 5 01:12 null crw-rw-rw- 1 root root 10, 1 May 27 07:30 psaux crw-rw---- 1 root tty 5, 2 Apr 5 01:12 ptmx lrwxrwxrwx 1 root root 4 May 27 08:53 ram -> ram0 brw-rw---- 1 root disk 1, 0 Apr 5 01:12 ram0 crw-rw-rw- 1 root root 5, 0 Apr 5 01:12 tty crw-rw---- 1 marc dev 4, 0 Apr 5 01:12 tty0 crw--w---- 1 root tty 4, 1 May 27 08:49 tty1 crw--w---- 1 marc tty 4, 2 May 27 08:12 tty2 crw--w---- 1 root tty 4, 3 May 27 08:32 tty3 crw------- 1 root root 4, 4 May 25 11:43 tty4 crw------- 1 root root 4, 5 May 25 11:43 tty5 crw------- 1 root root 4, 6 May 25 11:43 tty6 crw-rw---- 1 marc dev 4, 7 Apr 5 01:12 tty7 crw-rw---- 1 marc dev 4, 8 Apr 5 01:12 tty8 crw-rw---- 1 root tty 4, 9 Apr 5 01:12 tty9 crw-rw---- 1 root uucp 4, 64 Apr 5 01:12 ttyS0 crw-rw---- 1 root uucp 4, 65 Apr 5 01:12 ttyS1 crw-rw-rw- 1 root root 1, 5 Apr 5 01:12 zero etc: total 76 -rw-rw-rw- 11 root root 806 Jul 9 10:19 fstab -rw-r--r-- 11 root root 38 May 27 12:08 group -rw-r--r-- 11 root root 242 May 27 22:16 host.conf -rw-r--r-- 9 root root 5561 Jun 24 12:31 inetd.conf -rwxr-xr-x 11 root root 266 May 28 09:36 inittab -rw-r--r-- 11 root root 44 Jun 10 00:51 issue -rw-r--r-- 11 root root 326 May 27 12:28 ld.so.conf -rw-r--r-- 11 root root 9395 May 25 15:17 login.defs -rw-rw-rw- 11 root root 238 May 27 22:24 nsswitch.conf -rw-r--r-- 11 root root 992 Jul 22 10:35 passwd -rw-r--r-- 11 root root 6433 Aug 9 18:01 profile -rw-r--r-- 11 root root 595 May 25 22:52 protocols -rwxr-xr-x 11 root root 5834 Jun 24 10:20 rc -rw-r--r-- 11 root root 21763 May 25 22:05 rc.config drwxr-xr-x 2 root root 1024 May 25 22:58 rc.d -rw-r--r-- 11 root root 262 May 27 22:16 resolv.conf -rw-r--r-- 11 root root 7362 May 25 22:52 services -rw-r----- 11 root root 1069 Jul 22 10:35 shadow etc/rc.d: total 5 -rwxr--r-- 1 root root 4883 May 25 22:39 boot floppy: total 0 home: total 0 lib: total 3447 -rwxr-xr-x 1 root root 148968 Apr 4 16:39 ld-2.0.7.so lrwxrwxrwx 1 root root 11 May 27 08:44 ld-linux.so.2 -> ld-2.0.7.so -rwxr-xr-x 1 root root 2475225 Apr 4 16:36 libc.so.6 -rwxr-xr-x 1 root root 85427 Apr 4 16:38 libcrypt.so.1 -rwxr-xr-x 1 root root 65006 Apr 4 16:39 libdl.so.2 lrwxrwxrwx 1 root root 17 May 27 08:44 libncurses.so.4 -> libncurses.so.4.2 -rwxr-xr-x 1 root root 500910 Apr 4 12:17 libncurses.so.4.2 -rwxr-xr-x 1 root root 167648 Apr 4 16:38 libnss_files.so.1 -rwxr-xr-x 1 root root 62776 Apr 4 16:37 libutil.so.1 mnt: total 0 opt: total 0 proc: total 0 root: total 0 sbin: total 345 -rwxr-xr-x 1 root root 37612 Apr 5 01:09 ifconfig -rwxr-xr-x 1 root root 248776 May 27 12:04 init -rwxr-xr-x 1 root root 25596 Apr 4 22:35 portmap -rwxr-xr-x 1 root root 36160 May 27 11:57 route tmp: total 0 usr: total 0 var: total 10 drwxr-xr-x 3 root root 1024 May 25 11:43 log drwxrwxr-x 2 root uucp 1024 May 26 14:25 run var/log: total 2175 -rw-r--r-- 1 root root 0 May 27 11:49 wtmp var/run: total 11 -rw-r--r-- 1 root root 0 May 27 11:49 utmp =========================================================================== This Mail was sent to netboot mailing list by: Marc Prager <mp@asterius.de> To get help about this list, send a mail with 'help' as the only string in it's body to majordomo@baghira.han.de. If you have problems with this list, send a mail to netboot-owner@baghira.han.de.
For requests or suggestions regarding this mailing list archive please write to netboot@gkminix.han.de.