## Make a disk image This is just a reminder to myself currently. /bin/dd if=/dev/zero of=gnu.img count=224000 /sbin/sfdisk -C 58 -H 16 -S 63 -D gnu.img< Install GNU/Hurd mkdir image mount /dev/loop0 image cd image/ /usr/share/crosshurd/makehurddir.sh `pwd` i386 gnu cd .. umount image losetup -d /dev/loop0 ## Make Boot ISO I use this for testing OSKit... mkdir -p iso/boot/grub cp /lib/grub/i386-pc/stage2_eltorito iso/boot/grub/ cp oskit-mach.gz iso/boot/ cat >iso/boot/grub/menu.lst << EOF title GNUmach 2.0 (OSKit-Mach) root (cd) kernel /boot/oskit-mach.gz root=device:hd0s1 -- root (hd0,0) module /hurd/ext2fs.static --multiboot-command-line=${kernel-command-line} \ --host-priv-port=${host-port} --device-master-port=${device-port} \ --exec-server-task=${exec-task} -T typed ${root} $(task-create) \ $(task-resume) module /lib/ld-2.3.2.so /hurd/exec $(exec-task=task-create) title GNU/Hurd (GNUmach 1.3) root (hd0,0) kernel /boot/gnumach.gz root=device:hd0s1 module /hurd/ext2fs.static --multiboot-command-line=${kernel-command-line} \ --host-priv-port=${host-port} --device-master-port=${device-port} \ --exec-server-task=${exec-task} -T typed ${root} $(task-create) \ $(task-resume) module /lib/ld.so.1 /hurd/exec $(exec-task=task-create) EOF mkisofs -R -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 \ -boot-info-table -o grub.iso iso ## Booting Qemu qemu -m 512 -user-net -isa -boot d -cdrom grub.iso -drive cache=writeback,index=0,media=disk,file=gnu.img The switch `-isa` is for current gnumach.gz on hda. -- [[Main/JoachimNilsson]] - 11 Apr 2005