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

Re: powerpc d-i daily builds reactivated, use 2.6.12 kernels

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.


Sven Luther

Reply to: