Disk partitioning for Openstep

Started by rjbrown99, August 10, 2020, 05:23:42 PM

Previous topic - Next topic

milanojess

Thanks for the pointers, yup I found them but figuring out what's best way to download and transfer. sshd on NeXT is out dated that current ssh on Mac cannot communicate with. There's no rsh rcp ftp etc on Mac...

Anyways, my loaner device needs to go back to owner so I wont be able to do more test soon. However, the 2021 rev just became available and I've ordered one. Hopefully the existing SD card just plugs in to get the new hardware going. I'll then do some tests on the new v6 2021 and share findings here.
NeXTcube 030 1990 with 040 upgrade - no longer
NeXTstation Color Turbo - Current.

Nitro

Quote from: Morgon on August 12, 2020, 01:14:48 PMTo create multiply OpenStep partitions fdisk won't help. You need to use the disk command, but prior to using it you have to create an appropriate new entry in /etc/disktab as OpenStep partitions are created within a single partition table partition. But if you don't intend to have a multi booting system you don't need a MBR partition table at all.

The entries of disktab are explained in the corresponding manual page. To construct an entry you need to know some informations like sector size, number of cylinders, tracks, sectors,....

Following is my disktab with several entries (some with multi boot, some not) I constructed over the years:

NEXT|IBM DDYS-T18350N S93EDY:\
    :ty=fixed_rw_scsi:nc#15110:nt#6:ns#399:rm#3600:\
    :fp#320:bp#0:ng#0:gs#0:ga#0:ao#:\
    :os=mach_kernel:z0#127:z1#255:hn=localhost:ro=a:\
    :pa#63:sa#4194304:ba#8192:fa#1024:ca#8:da#4096:ra#10:oa=time:\
        :ia:ta=4.3BSD:\
    :pb#4194367:sb#4194304:bb#8192:fb#1024:cb#8:db#4096:rb#10:ob=time:\
        :ib:tb=4.3BSD:\
    :pc#8388671:sc#4194304:bc#8192:fc#1024:cc#8:dc#4096:rc#10:oc=time:\
        :ic:tc=4.3BSD:\
    :pd#12582975:sd#2276352:bd#8192:fd#1024:cd#8:dd#4096:rd#10:od=time:\
        :id:td=4.3BSD:

NEXT|VMware Virtual IDE Hard 2GB:\
    :ty=fixed_rw_scsi:nc#3952:nt#16:ns#63:rm#3600:ss#512:\
    :fp#320:bp#0:ng#0:gs#0:ga#0:ao#:\
    :os=mach_kernel:z0#64:z1#192:hn=localhost:ro=a:\
    :pa#0:sa#3983296:ba#8192:fa#1024:ca#8:da#4096:ra#10:oa=time:\
        :ia:ta=4.3BSD:

NEXT|SAMSUNG SP0812N:\
    :ty=fixed_rw_ide:nc#16383:nt#16:ns#63:rm#7200:ss#512:\
    :fp#320:bp#0:ng#0:gs#0:ga#0:ao#:\
    :os=mach_kernel:z0#3919924:z1#3920052:hn=localhost:ro=b:\
    :pa#3919860:sa#4194304:ba#8192:fa#1024:ca#16:da#4096:ra#10:oa=time:\
        :ia:ta=4.3BSD:\
    :pb#8114164:sb#4194304:bb#8192:fb#1024:cb#16:db#4096:rb#10:ob=time:\
        :ib:tb=4.3BSD:\
    :pc#12308468:sc#4109642:bc#8192:fc#1024:cc#16:dc#4096:rc#10:oc=time:\
        :ic:tc=4.3BSD:


NEXT|HDD 2_4GB:\
    :ty=fixed_rw_ide:nc#16383:nt#16:ns#63:ss#512:rm#3600:\
    :fp#320:bp#0:ng#0:gs#0:ga#0:ao#:\
    :os=mach_kernel:z0#3695014:z1#3695142:hn=localhost:ro=a:\
    :pa#3694950:sa#4194304:ba#8192:fa#1024:ca#16:da#4096:ra#10:oa=time:\
        :ia:ta=4.3BSD:\
    :pb#7889254:sb#8384271:bb#8192:fb#1024:cb#16:db#4096:rb#10:ob=time:\
        :ib:tb=4.3BSD:

NEXT|IBM-DTTA-350840:\
    :ty=fixed_rw_ide:nc#16383:nt#16:ns#63:rm#3600:ss#512:\
    :fp#320:bp#0:ng#0:gs#0:ga#0:ao#:\
    :os=mach_kernel:z0#3919924:z1#3920052:hn=localhost:ro=a:\
    :pa#3919860:sa#4192911:ba#8192:fa#1024:ca#8:da#4096:ra#10:oa=time:\
        :ia:ta=4.3BSD:\
    :pb#8112771:sb#2104249:bb#8192:fb#1024:cb#8:db#4096:rb#10:ob=time:\
        :ib:tb=4.3BSD:

If using a MBR partition table you have to make sure the partitions specified in disktab don't extend beyond the MBR partition as disk does not know anything about these and will overwrite everything already there.

See man disk how to use the different entries.

Thank you @Morgon for sharing these disktabs, they've been very helpful.
Nitro