[comp.sys.next] hard disk repartitioning

brunger@venus.ycc.yale.edu (01/24/90)

From m@jacobi.biology.yale.edu on a borrowed account, please do not bother
account owner with e-mail.


We are not using system wide accounts so we wanted to change are our
660mb disks to contain only one partition.

The build disk application looks in /usr/template to find out how to
build a system on the new disk. And looks at disktab in particular to
find out how to partition the disk. There several entries in the file
for each type of disk.

We (next people included) weren't sure just how build disk determined
which entry in the file to look at, but on our system it was looking at
'XT-8760S-1024|Maxtor XT-8760S-1024|Maxtor 760MB w/1024 byte sectors:'.
We wanted the following entry 'XT-8760S-1024-ALL...'.  We commented out
the first entry (with #), then replaced the ALL name with the one we knew
build disk was using. Look out when commenting things out in disktab, each
entry is only one line long.

This change was made on the optical system disk to both /etc/disktab, and
/usr/template/client/etc/disktab. I doubt that you have to change
/etc/disktab, but we let next lead the way.

To summaryize with steps omitted above:

1. Boot from optical disk.
2. Change /usr/template/client/etc/disktab, and /etc/disktab.
3. Change /usr/template/client/etc/fstab.sd660.  Comment out the entry for
   the omitted partition if that is what you want to do, otherwise it will
   attempt to mount it during boot-up and hang.
4. Run BuildDisk
5. Boot from hard disk.


mark mccallum <m@jacobi.biology.yale.edu>