bug-hurd
[Top][All Lists]
Advanced

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

LiveCD


From: Andrew Resch
Subject: LiveCD
Date: Tue, 22 Feb 2005 14:01:01 -0800

We have managed to make a bootable GNU cd!  It does require a patch to
isofs which Alfred should be sending to bug-hurd.  There are still some
issues to be worked out,  but it should be at least usable as an install
environment.  There is also a patch needed for mach so that we do not
need the root=device kernel option.  For now just set it to your cdrom
drive.

http://24.109.97.177:57777/Screenshot2.png  this is a screenshot of it
booting

output:

Hurd server bootstrap: iso9660fs.static[device:hd2] exec init proc auth
/libexec/console-run: /dev/console: Permission denied
/libexec/console-run: /tmp/console: Read-only file system
/libexec/console-run: Using temporary console /tmp
/libexec/runsystem: Running on fallback console /tmp
sh-3.00# uname -a
GNU hurd 0.3 GNU-Mach 1.4/Hurd-0.3 i386-AT386 unknown unknown GNU


here's the recipe for the cd (http://24.109.97.177:57777/livecd.txt)

what you'll need:

stage2_eltorito[http://24.109.97.177:57777/stage2_eltorito] from
grub[http://www.gnu.org/software/grub] (not sure on the version. i am
using 0.95)
base system (i use
http://www.update.uu.se/~ams/gnu/gnu-2004-12-04.tar.bz2)
iso9660fs.static[http://24.109.97.177:57777/iso9660fs.static]
        
how-to:

        # mkdir iso
        ..(at this point untar or setup base system)
        # mkdir -p iso/boot/grub
        # cp iso9660fs.static iso/hurd
        # cp stage2_eltorito iso/boot/grub
        ..(edit iso/boot/grub/grub.conf)
        # mkisofs -R -b boot/grub/stage2_eltorito -no-emul-boot\
-boot-load-size 4 -boot-info-table -o livecd.iso iso/

        note:
        /boot/gnumach /hurd/iso9660fs.static /hurd/exec and 
        /lib/ld.so.1 must NOT be symlinks!
        
contents of grub.conf:

        timeout 60
        default 0
        
        title  GNU/Hurd CD
        #uppermem 523648 #this may need to be set
        root   (cd)
        #root=device: needs to be set to your cdrom device
        kernel /boot/gnumach root=device:hd2
        module /hurd/iso9660fs.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)


andrew





reply via email to

[Prev in Thread] Current Thread [Next in Thread]