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

Some feedback



I'm impressed, congratulation to the GNU/kFreeBSD team!

So what I did to run GNU/kFreeBSD by netboot (no local disk):

I've mounted the iso under my box:

FreeBSD armor 5.1-CURRENT FreeBSD 5.1-CURRENT #1: Sun May  9 15:18:48 GMT 2004     toor@armor:/build/freebsd/october_5_1/src/sys/i386/compile/ARMOR2  i386

# mdconfig -a -t vnode -f /opt/iso/livecd4.iso -u 0
# mount -t cd9660 /dev/md0 /mnt
# cd /mnt/root
# tar -C /opt/debian/livecd4 -xzvf i386-kfreebsd-gnu.tar.gz
# chroot /opt/debian/livecd4 bash

(yes with my FreeBSD 5.1-CURRENT)

# ./native-install
# mkdir /var/db /var/log/news

Edit /etc/network/interfaces

I had to copy /etc/netconfig from my FreeBSD host to /etc because
mount of nfs told me udp: Netconfig database not found

And the following patch:

--- /mnt/etc/init.d/rcArch      Sun Jun 20 17:44:53 2004
+++ ./rcArch    Sat Jul  3 01:01:27 2004
@@ -23,6 +23,7 @@
   mount_no_mtab="-n"
   mount_remount="-o remount"
   halt_ifdown="-i"
+  dmesg_size="-s 524288"
 else
   SYSTEM=bsd-compat
   umount_all="-a"
@@ -32,5 +33,6 @@
   mount_no_mtab=""
   mount_remount="-o update"
   halt_ifdown=""
+  dmesg_size=""
 fi

--- /mnt/etc/init.d/bootmisc.sh Sun Jun 20 17:41:42 2004
+++ ./bootmisc.sh       Sat Jul  3 01:02:18 2004
@@ -8,6 +8,7 @@
 VERBOSE=yes
 EDITMOTD=yes
 [ -f /etc/default/rcS ] && . /etc/default/rcS
+. /etc/init.d/rcArch
 
 #
 #      Put a nologin file in /etc to prevent people from logging in
@@ -57,7 +58,7 @@
 #
 if [ -x /bin/dmesg ] || [ -x /sbin/dmesg ]
 then
-       dmesg -s 524288 > /var/log/dmesg
+       dmesg $dmesg_size > /var/log/dmesg
 elif [ -c /dev/klog ]
 then
        dd if=/dev/klog of=/var/log/dmesg &

TODO:

Early init still call mount with -n option and I don't know how to avoid it.

NFS locks seem not ok yet, I have to digg.

reboot is not clean with umounts and option -d.

Nicholas

-- 
Nicholas Souchu - nsouch@free.fr - nsouch@FreeBSD.org
http://www.freebsd.org/~nsouch/kgi4BSD



Reply to: