[comp.os.minix] How to mount 1.3 hard disk file systems under 1.5.0

mark@bruce.OZ (Mark Goodwin) (01/08/90)

I have successfully mounted my old 1.3 hard disk file systems
under 1.5.0 using the following technique :-

* under 1.3, patch and compile the new fdisk with the new libc.a

* boot 1.5.0. You may need to "stty -nl echo^j" (yes, control-j
  is a newline).

* run fdisk on /dev/hd0. Note: if your hard disk does not have
  4heads/17sectors, then invoke fdisk as "fdisk -hXX -sYY /dev/hd0"
  where XX is number of heads and YY is number of sectors per track.

* 'h' gives help. In order to mount a 1.3 file system under 1.5.0,
  you need to change the partition type to be MNX-OLD. Use the 't'
  command to list the available types. MNX-OLD is 0x80, MINIX is 0x81.

* Use the 'n' command to set a 1.3 partition to MNX-OLD. The type
  value should be 128 (i.e. 0x80).

* Reboot 1.5.0 and you should be able to mount an old 1.3 file system!!

Mark Goodwin
Programmer @ Monash Uni. Comp. Sci.