From a89398e26271ce8e299aa77b521591c363a492ab Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Sat, 13 Nov 2004 23:09:17 -0500 Subject: [PATCH] patched nfs boot scripts configs/boot/nfs-server.rcS: made the partition size correct --HG-- extra : convert_revision : 4e9bdbe3e465aea2a914fd928b47296031c2523b --- configs/boot/nfs-server.rcS | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/configs/boot/nfs-server.rcS b/configs/boot/nfs-server.rcS index c5b17348e..feefc057f 100755 --- a/configs/boot/nfs-server.rcS +++ b/configs/boot/nfs-server.rcS @@ -47,14 +47,13 @@ echo "/nfs 10.0.0.0/255.0.0.0(rw,sync,no_root_squash)" > /etc/exports /sbin/insmod /modules/scsi_debug.ko dev_size_mb=128 echo -n "creating partition and formatting..." -echo "1,126,L" > /tmp/sfdisk.run -echo ";" >> /tmp/sfdisk.run -echo ";" >> /tmp/sfdisk.run -/usr/sbin/sfdisk --force /dev/sda < /tmp/sfdisk.run +echo "1,120,L" > /tmp/sfdisk.run +/usr/sbin/sfdisk -uM --force /dev/sda < /tmp/sfdisk.run /sbin/mke2fs /dev/sda1 mkdir /nfs /bin/mount /dev/sda1 /nfs chmod a+rwx /nfs +/usr/sbin/sfdisk -uM -l /dev/sda echo "done." echo -n "starting nfs kernel server..." -- 2.30.2