From: Ali Saidi Date: Sun, 14 Nov 2004 04:09:17 +0000 (-0500) Subject: patched nfs boot scripts X-Git-Tag: m5_1.0_tutorial~137^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a89398e26271ce8e299aa77b521591c363a492ab;p=gem5.git patched nfs boot scripts configs/boot/nfs-server.rcS: made the partition size correct --HG-- extra : convert_revision : 4e9bdbe3e465aea2a914fd928b47296031c2523b --- 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..."