Re: Making an initrd image

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Rob Wultsch
Date:  
To: plug-discuss
Subject: Re: Making an initrd image
On Tue, 23 Nov 2004 14:07:07 -0800, Liberty Young
<> wrote:
> On Tue, 2004-11-23 at 13:54, Alan Dayley wrote:
>
>
> > Liberty Young said:
> > > I'm having trouble making a bootable, working initrd image
> > >
> > > Right now, I can get everything working just fine by:
> > >
> > > making an initrd image using busybox and my own /linuxrc script. The
> > > script inserts some USB modules, pivot_root's to a USB thumbdrive, and
> > > then exec chroot . sbin/init <dev/console >dev/console
> > >
> > > bootloader boots up, and passes to the kernel the arguments
> > > root=/dev/ram0 init=/linuxrc
> > >
> > >
> > > This works...however, since linuxrc isn't being exited and passing
> > > control to the thumb-driver's sbin/init, the memory never gets freed!
> > >
> > > I am unable to pass to the kernel
> > >     "initrd=initrd.gz", and have it find the ramdisk's /linuxrc, do the
> > > magic, and then exit 0, which _should_ have the kernel invoke the new
> > > root's sbin/init.

> > >
> > > Anybody have any ideas?!?
> >
> > Liberty,
> >
> > I, for one, was taken aback by your direct dive into technical details.
> > Suddenly we were discussing a USB thumbdrive! Could you perhaps give a
> > little higher view as an introduction to the details? What is the overall
> > goal? What is the platform and evironment?
> >
> > Alan
> >
> >
>
> I'm trying to get an embedded arm board (boot-loader is Redboot) to boot
> to a USB thumbdrive (which has debian on it).
>
>
>

http://lists.debian.org/debian-arm/
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss