[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How do I pass init= to the kernel?



I just tried the init=/bin/sh, it doesn't work. I get the same error
messages as before. Does it have any importance if I place the init=
before or after root= ?


----- Original Message -----
From: ktb <ktb@nixnotes.org>
To: <debian-user@lists.debian.org>
Sent: Monday, June 04, 2001 1:03 AM
Subject: Re: How do I pass init= to the kernel?


> On Sun, Jun 03, 2001 at 11:34:56PM -0400, Margarete Hans wrote:
> > When trying to install Debian from a DOS partition, using loadlin,
the
> > kernel booted, but then I got the following message:
> >
> > Partition check:
> >  hda: hda1 hda2 hda3 < hda5 hda6 hda7 >
> > RAMDISK: Compressed image found at block invalid compressed format
> > (err=2)<6>apm: BIOS version 1.1 Flags 0x03
> > (Driver version 1.13)
> > apm: disabled on user request.
> > EXT2-fs warning: checktime reached, running e2fsck is recommended
> > VFS: Mounted root (ext2 filesystem).
> > Freeing unused kernel memory: 156k freed
> > kmod: failed to exec /sbin/modprobe -s -k binfmt-464c, errno = 2
> > kmod: failed to exec /sbin/modprobe -s -k binfmt-464c, errno = 2
> > Kernel panic: No init found. Try passing init= option to kernel.
> > ide0: unexpected interrupt, status=0x80, count=1
> >
> > How do I pass init= to the kernel?
> > I tried
> >
> > loadlin linux root=/dev/ram initrd=root.bin init=1,
> >
> > loadlin linux root=/dev/ram initrd=root.bin init=2
> >
> > and
> >
> > loadlin linux single root=/dev/ram initrd=root.bin,
> >
> > but they all give the same error message. What should I do?
>
> I've never used loadlin so take what I say with a grain of salt but
> try -
>
> init=/bin/sh
> hth,
> kent
>
> --
>  From seeing and seeing the seeing has become so exhausted
>      First line of "The Panther" - R. M. Rilke
>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
>
>



Reply to: