diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2004-11-13 23:09:17 -0500 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2004-11-13 23:09:17 -0500 |
commit | a89398e26271ce8e299aa77b521591c363a492ab (patch) | |
tree | 58900116d51d3fe85a97c40f7b6bed95f001648e /configs/boot/nfs-server.rcS | |
parent | f63dd31f4ec1c68ddadbce406a8d1b7d93670016 (diff) | |
download | gem5-a89398e26271ce8e299aa77b521591c363a492ab.tar.xz |
patched nfs boot scripts
configs/boot/nfs-server.rcS:
made the partition size correct
--HG--
extra : convert_revision : 4e9bdbe3e465aea2a914fd928b47296031c2523b
Diffstat (limited to 'configs/boot/nfs-server.rcS')
-rwxr-xr-x | configs/boot/nfs-server.rcS | 7 |
1 files 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..." |