Installing Hurd on Bochs
Hello,
Many others have reported installing the GNU on the Bochs so I thought
I could try it out without disturbing my "work" (which still seems to
depend on the other GNU OS). Some random notes.
1. Marcus' gnu-latest.tar.gz does not have its grub files under /boot/grub
and does not have have a menu.lst containing the boot lines. This
would certainly simplify the boot procedure as the floppy boot
would only be required to do "root (hd0,0)" and "setup (hd0)".
Or perhaps the hurd-installation guide could suggest that the
unpacking of the tar.gz. be followed by
cd /gnu/boot
mkdir grub
cd grub
ln -s ../../lib/grub/i386-unknown/* .
cat <<EOF > menu.lst
<paste relevant lines here>
EOF
2. Marcus' "cross-install" script is a bit out-of-date. The crude script
enclosed makes use of grep-dctrl to generate a newer list of
"essential" packages.
3. The second run of "native-install" runs into difficulties if run
with an image created with "cross-install" because
"adduser" version 3.49 seems to be broken on Debian GNU---is this
because of perl?
Kapil.
--
If you steal from one author it's plagiarism; if you steal from
many it's research.
-- Wilson Mizner
--
#!/bin/sh
# To use this cript download the Packages.gz and Packages.bz2
# files from
# ftp://alpha.gnu.org/gnu/hurd/debian
# http://ftp.debian.org/debian/dists/unstable/main/binary-i386-hurd/
#
# The "wanted" file can be empty or contain one line for each
# additional package that you consider essential.
#
zcat Packages.gz | bzcat Packages.bz2 - | \
grep-dctrl -F essential -n -s package yes | \
cat wanted - | sort | uniq > essential
diffs=1
while [ $diffs -gt 0 ]; do
zcat Packages.gz | bzcat Packages.bz2 - | \
grep-dctrl -F package -n -s depends -e \
$( paste -sd"," essential |
sed -e's/^/(^/' -e's/,/\$\)\|\(^/g' -e's/\+/\\+/' -e's/$/\$\)/') | \
sed -e's/([^)]*)//g' -e's/ //g' -e'/^$/d' | \
tr "," "\n" | \
cat essential - | sort | uniq > essential1
diffs=`diff essential essential1 | wc -l`
mv essential1 essential
done
Reply to: