CVS: brutus/iso/usr/sbin lunar.install,1.11,1.12
Terry Chan
tchan at lunar-linux.org
Mon Aug 25 03:44:43 GMT 2003
Update of /var/cvs/lunar/brutus/iso/usr/sbin
In directory dbguin.lunar-linux.org:/tmp/cvs-serv25376
Modified Files:
lunar.install
Log Message:
Added the dd command to zero out the MBR in the inst_mbr function of the
install script.
Index: lunar.install
===================================================================
RCS file: /var/cvs/lunar/brutus/iso/usr/sbin/lunar.install,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- lunar.install 30 Jul 2003 03:59:43 -0000 1.11
+++ lunar.install 25 Aug 2003 03:44:41 -0000 1.12
@@ -41,6 +41,9 @@
# kernels from the install menu. vanilla will be restored
# once the kernel version match the other lunar kernels again
#############################################################
+# 20030824. tchan added the dd command to zero out the MBR in
+# the inst_mbr function, per csm's request.
+#############################################################
introduction() {
@@ -673,9 +676,8 @@
;;
*)
$DIALOG --cr-wrap --msgbox \
-"New for the 0907-1 iso, the kernel can also
-finally be installed using GRUB! The grub shell
-is now included on the iso.
+"The kernel can also finally be installed using GRUB!
+The grub shell is now included on the iso.
Unlike other distros, Lunar installs LILO to the
first sector of /boot. If you did not specifiy
@@ -820,6 +822,7 @@
chroot $TARGET mount -t proc proc /proc
chroot $TARGET mount -t devfs devfs /dev
chroot $TARGET mount -t tmpfs tmpfs /tmp
+ dd if=/dev/zero of=/dev/disc/$DISC/disc bs=446 count=1
/sbin/lilo -M /dev/discs/$DISC/disc
chroot $TARGET umount /tmp
chroot $TARGET umount /dev
More information about the Lunar-commits
mailing list