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

Re: APEX, NSLU2, skip stuff



On Mon, Aug 14, 2006 at 12:20:36AM +0200, Martin Michlmayr wrote:
> * Marc Singer <elf@buici.com> [2006-08-13 15:14]:
> > > What should the commands lines be for both the installer and the
> > > runtime?
> > 
> > I a bit confused by this.  What *should* be the command line?  If we
> > use an initrd, is the command line root= going to be used?
> > Moreover, if you are going to assign variables in the APEX
> > environment, what do you plan to set or change?
> 
> If you use an _initrd_, the command line has to be root=/dev/ram,
> otherwise the kernel won't find it.  However, if you use an initramfs
> it will be loaded even without such a parameter.  In the case of
> debian-installer, this means that root= doesn't have to exist or can
> even be bogus (e.g. point to the disk).  In terms of booting from
> disk, it would be good to set root (via the APEX environment).
> However, if this is not possible then I can hard-code it into the
> initramfs used to boot from disk.
> 
> In short:
> 
>  debian-installer:
>    - can use an initrd or an initramfs
>        - initrd -> requires root=/dev/ram
>        - initramfs -> doesn't matter
>    - I intend to use an initramfs

Are you sure that will work?  Don't you have to append all of the
initramfs to the kernel?  Doesn't that mean that there will be one
large kernel partition and not ramdisk partition?  This isn't a
problem, really, but it does change what we've been talking about.



Reply to: