Re: powerpc d-i daily builds reactivated, use 2.6.12 kernels
- To: Hans Ekbrand <hans@murphy.debian.org>, debian-powerpc@lists.debian.org
- Subject: Re: powerpc d-i daily builds reactivated, use 2.6.12 kernels
- From: Sven Luther <sven.luther@wanadoo.fr>
- Date: Wed, 28 Sep 2005 06:17:28 +0200
- Message-id: <20050928041728.GA4375@localhost.localdomain>
- In-reply-to: <20050927220044.GB2904@samir>
- References: <20050818113050.GA13439@localhost.localdomain> <20050819080044.GA5149@ime.usp.br> <20050921175400.GA26576@localhost.localdomain> <20050926205949.GB19047@samir> <20050927050655.GA24285@localhost.localdomain> <20050927220044.GB2904@samir>
On Wed, Sep 28, 2005 at 12:00:44AM +0200, Hans Ekbrand wrote:
> > Nope, you need the miboot package from p.d.o/~luther/miboot, and its
> > dependencies, and do (taken from the d-i build) :
> >
> > gzip -c -9 $(TEMP_KERNEL) >$(TEMP_KERNEL).gz
> > dd if=/dev/zero of=$(TEMP_BOOT) bs=1024 count=$(FLOPPY_SIZE)
> > hformat -l $(DISK_LABEL) $@
> > echo device $(TEMP_BOOT) > $(TEMP)/miboot.conf
> > echo kernel $(TEMP_KERNEL).gz $(KERNEL_CMDL) >> $(TEMP)/miboot.conf
> > miboot -c $(TEMP)/miboot.conf
> >
> > where TEMP_KERNEL is the patgh to the kernel, FLOPPYY_SIZE is 1440, DISK_LABEL
> > is any random label, and TEMP_BOOT is the name of the floppy, and TEMP is some
> > random temporary dir. and KERNEL_CMDL is the kernel command line.
>
> OK. I do have miboot installed, so that should not pose any problem.
> But why would not the procedure outlined above work (I copied it from
> one of Rogério Britos posts to the list)?
Rogerio is not creating a floppy disk from scratch, he is overwriting the
kernel on an existing miboot floppy, and can thus not set the KERNEL_CMDL
among other stuff. The above procedure is the one used by d-i to create the
now working 2.6 miboot floppies.
> > > To create a working miboot floppy that boot a root on HD (no initrd) I
> > > assume I must also use the perl script patch-floppy-image.pl to set
> > > the "root=" argument to whatever partition the rootfs exists on,
> > > right?
> >
> > Just add the right root= to KERNEL_CMDL.
>
> OK.
>
> Thanks for the info, I will probably not have time to try it out until
> the weekend though.
No problem.
Friendly,
Sven Luther
Reply to: