init

Cristian CONSTANTIN constantin at fokus.gmd.de
Thu Nov 8 01:53:18 CET 2001


On Wed, Nov 07, 2001 at 09:33:49PM +0100, Geert Stappers wrote:
> At 18:49 +0100 11/7/01, Cristian CONSTANTIN wrote:
> >On Wed, Nov 07, 2001 at 04:06:14PM +0100, Geert Stappers wrote:
> >> At 15:22 +0100 11/7/01, Cristian CONSTANTIN wrote:
> >> >hi!
> >> >
> >> >tried to boot with pxelinux (through net) 2.4.13-pre3-xfs and the root
> >> >image provided by debian-potato from:
> >> >
> >>
> >>>ftp.de.debian.org:/debian/dists/potato/main/disks-i386/current/images-1.44/root
> >> >.bin
> >> >
> >> >I get:
> >> >
> >> >Kernel panic: No init found.  Try passing init= option to kernel.
> >> >
> >> >(well, /sbin/init seems to be in the right place in root.bin; the error
> >> >appears even after I configure something like init=/sbin/init)
> >> >
> >> >any idea what's the magic behind it?
> >>
> >> You have to tell the kernel that you supplied the root.bin
> >>
> >>
> >> The etherboot utilty "mknbi" does it automagicly when provide a ramdisk
> >>
> >
> >cristian: o.k. and how comes then that it boots the same kernel but with
> >other root image; which I created myself??
> >
> Geert: That is usefull information you could have told before.
> With the information I have now, seems you have
> a working ( home brew ) root image
> and a broken root image. A corrupt download???????
> 
> <screenshot>
> stappers at mir:~
> $ file /pub/debian/dists/potato/main/disks-i386/current/images-1.44/root.bin
> /pub/debian/dists/potato/main/disks-i386/current/images-1.44/root.bin: gzip
> compressed data, deflated, last modified: Wed Jul  5 16:07:48 2000, max
> compression, os: Unix
> stappers at mir:~
> $
> </screenshot>

cristian: well, here are some screenshots from me...

crist at mobile60:~$ file /tftpboot/potato_root.bin 
/tftpboot/potato_root.bin: gzip compressed data, deflated, original
filename, `potato_root', last modified: Wed Nov  7 16:47:49 2001, os:
Unix
crist at mobile60:~$ file /tftpboot/potato_root     
/tftpboot/potato_root: Linux rev 1.0 ext2 filesystem data (mounted or
unclean)

let's see now if we can mount this root image...

crist at mobile60:~$ mount | grep loop
/tftpboot/potato_root on /mnt type ext2 (rw,loop=/dev/loop0)

well, it's mounted all right; let's have a look at init:

crist at mobile60:~$ file /mnt/sbin/init 
/mnt/sbin/init: ELF 32-bit LSB executable, Intel 80386, version 1,
dynamically linked (uses shared libs), stripped

so, from my point of view everything looks quite o.k. still, the kernel
does not boot ;-(

thanks again and
bye now!
-- 
 _          | Hackers built the Internet. Hackers made
(_'_        | the Unix operating system what it is today.
  (_'rist   |              --Eric Steven Raymond
GPG public key at https://www.mobile-ip.de/~crist/constantin.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20011108/b90ea69a/attachment.bin 


More information about the linux-fai mailing list