DragonFly bugs List (threaded) for 2008-12
DragonFly BSD
DragonFly bugs List (threaded) for 2008-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

src/share/examples/rconfig/hammer.sh does not create a usable system


From: Rumko <rumcic@xxxxxxxxx>
Date: Sat, 06 Dec 2008 22:19:46 +0100

With hammer.sh the way it is, when you boot the system of the hdd, it will
boot, but you wont be able to login or do anything else useful. The problem is
that /mnt/usr is another mount point and another cpdup has to be run.

Attached is the patch for this + added some cleanup (deletes /mnt/autorun* &
co.)
-- 
Regards,
Rumko
--- src/share/examples/rconfig/hammer.sh	2008-11-29 01:57:17 +0100
+++ src/share/examples/rconfig/hammer.sh	2008-12-06 15:57:09 +0100
@@ -119,6 +119,7 @@
 #
 cpdup -o / /mnt
 cpdup -o /var /mnt/var
+cpdup -o /usr /mnt/usr
 cpdup -o /dev /mnt/dev
 cpdup -i0 /etc.hdd /mnt/etc
 
@@ -213,5 +214,9 @@
     ssh-keygen -t dsa -f ssh_host_dsa_key -N ""
 endif
 
+# Misc cleanups
+rm -R /mnt/README* /mnt/autorun* /mnt/index.html /mnt/dflybsd.ico
+rm /mnt/boot.catalog
+
 # take CD out and reboot
 # 



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