Hi Steve,

On Freitag, 8. Februar 2013, Steven Chamberlain wrote:
> I'd like to share a recipe that works for an extracted netboot.tar.gz:
> 
> $ qemu-system-x86_64 -m 512 -enable-kvm -net nic -net
> user,bootfile=grub2pxe,tftp=. -serial stdio -boot n -drive
> if=ide,bus=0,file=/dev/sdX,cache=writeback -no-reboot

thanks! with that I can surely make an installation work!
 
> I usually remove the font.pf2 file (forcing GRUB to run in text-mode)
> and patch the grub.cfg like the attached.  This automatically starts a
> pre-seeded install, and the d-i syslog gets conveniently redirected to
> qemu's stdout.

nice. though I'd actually prefer to boot the mini.iso unmodified and still get 
pre-seeding, is that somehow possible?
 
> The preseed.cfg can probably be the same as a Linux one.  If you specify
> a partman-auto/disk it should probably be /dev/ada0 (first IDE whole
> disk on kfreebsd-9) or /dev/ad0 (on kfreebsd-8).
> 
> Here's one I've had some success with:
> http://pyro.eu.org/f/x-Lru4G5SieJVqMaRj71vQ.cfg

thanks! I've now finally booted d-i on debian kfreebsd once+twice \o/ ;-)

> It can be adapted easily to boot a mini.iso instead, but then it is
> harder to tweak the grub.cfg.

can you show me how to do this? :-)


cheers,
        Holger


Reply via email to