Hi. I managed to create a ging .iso using the svn at http://svn.debian.org/wsvn/glibc-bsd/trunk/web/ging/#_trunk_web_ging_ I quickly tested the .iso under qemu. It doesn't boot because of problems with the cdrom drive. In my past tries I remember the attached patch "ging.dma.diff" solved this. Consider that in /etc/crosshurd/packages/kfreebsd-gnu I substituted "kfreebsd-image-5-486" with "kfreebsd-image-7-486". Following there are short comments of the attached patches/notes. tarball.diff - a bit hackish; I think this kind of hack is unuseful under debootstrap packages.diff - I disabled GUI related packages mfsroot.diff - disable the check on the freebsd-hackedutils package ging.diff - this seems unuseful to me boot.txt - sequence of commands to boot the .iso (I don't know why) 20090406_ging.sh.log - log of the creation of the .iso (I had already created the "tmp" folder using "sh tarball.sh") ging.dma.diff - I didn't apply this patch but (as described above) this can be useful to successfully boot Cheers, Luca Favatella
unload load /boot/kfreebsd-7.1-1-486 boot
Index: tarball.sh
===================================================================
--- tarball.sh (revision 2390)
+++ tarball.sh (working copy)
@@ -28,6 +28,15 @@
######################################################################
/usr/share/crosshurd/makehurddir.sh ./tmp ${cpu} ${system}
+# crosshurd downloads some packages but doesn't extract them; work
+# around extracting them manually; chroot is needed (or perhaps we can
+# do without it, I don't know)
+chroot ./tmp dpkg --force-depends -i var/cache/apt/archives/libc0.1_2.9-6_kfreebsd-i386.deb
+chroot ./tmp dpkg -i var/cache/apt/archives/gcc-4.3-base_4.3.3-5_kfreebsd-i386.deb
+chroot ./tmp dpkg -i var/cache/apt/archives/libgcc1_1%3a4.3.3-5_kfreebsd-i386.deb
+chroot ./tmp dpkg -i var/cache/apt/archives/libfreebsd0_0.0-5_kfreebsd-i386.deb
+chroot ./tmp dpkg -i var/cache/apt/archives/libbsd0_0.0.1-2_kfreebsd-i386.deb
+
cat > ./tmp/etc/apt/apt.conf << __EOF__
APT::Get::AllowUnauthenticated "yes";
__EOF__
Index: packages =================================================================== --- packages (revision 2390) +++ packages (working copy) @@ -1,27 +1,27 @@ # desktop environment -gaim -gimp -gtk2-engines-gtk-qt -kde-core +#gaim +#gimp +#gtk2-engines-gtk-qt +#kde-core # no work yet #kdm -koffice -konqueror -xscreensaver -x-window-system-core +#koffice +#konqueror +#xscreensaver +#x-window-system-core # some games -defendguin -tuxtype -xbill -wesnoth +#defendguin +#tuxtype +#xbill +#wesnoth # needed by ging internal purposes adduser dhcp3-client -kfreebsd-image-5-586 +kfreebsd-image-7-486 # misc
Index: mfsroot.sh
===================================================================
--- mfsroot.sh (revision 2390)
+++ mfsroot.sh (working copy)
@@ -35,9 +35,8 @@
/bin/sh /bin/bash \
/lib/ld.so.1 /lib/libc.so.0.1 /lib/libncurses.so.5 /lib/libdl.so.2 \
/sbin/mdconfig \
- /libexec/ld-elf.so.1 /lib/libc.so.5 \
/sbin/mount_cd9660 \
- /lib/libkiconv.so.1 \
+ /usr/lib/libkiconv.so.3 \
${NULL}
do
mkdir -p ${mnt}/$i
Index: ging.sh
===================================================================
--- ging.sh (revision 2390)
+++ ging.sh (working copy)
@@ -30,9 +30,6 @@
# get kernel and loader from cloop image (FIXME: exclude this from cloop!)
cp -a ${pwd}/tmp/boot ${tmp}/
-if [ "${OPTS}" != "qemu" ] ; then
- ${gzip} ${tmp}/boot/kernel/kernel
-fi
# shut up silly warning
if test -e ${tmp}/boot/kernel/linker.hints ; then
Index: ging.sh
===================================================================
--- ging.sh (revision 2381)
+++ ging.sh (working copy)
@@ -43,7 +43,7 @@
cat > ${tmp}/boot/loader.conf << EOF
loader_color="YES"
-hw.ata.atapi_dma=1
+hw.ata.atapi_dma=0
mfsroot_load="YES"
mfsroot_type="mfs_root"
mfsroot_name="/boot/mfsroot"
Attachment:
20090406_ging.sh.log
Description: Binary data