Does anyone know how to mount a partition other that the first one under Linux (Ubuntu 7)?
I can easily mount and access the first one either from a disk or disk image. These are from my Intel SCSI drives.
$ mkdir /media/NS_Disk
$ sudo losetup /dev/loop0 NS_Disk0.img
$ sudo mount -t ufs -r -o ufstype=openstep /dev/loop0 /media/NS_Disk
$ ls -ald /media/NS_DISK/N*
dr-xr-xr-x 2 root root 1024 2004-01-13 01:17 /media/N/Net
drwxr-xr-x 2 root root 1024 1998-06-17 00:10 /media/N/News
drwxr-xr-x 11 root root 1024 2009-06-16 17:42 /media/N/NextAdmin
drwxr-xr-x 13 root root 1024 1999-08-06 12:26 /media/N/NextApps
drwxr-xr-x 10 root root 1024 1997-03-27 14:17 /media/N/NextDeveloper
But when I try to mount the second or third, using an offset from the /etc/disktab I used to build the disk it doesn't work. Is it possible to mount the other partitions?
Or does someone know what a good signature would be for the start of the partition I could use to locate the correct offset into the image?
Caulk this one up to pilot error :oops:
When I was computing the offsets, I didn't catch that the calculator was in Octal mode, instead of Decimal. Once I recomputed the partition block offset (4144304) into the base10 byte offset, the mount worked perfectly for all the other partitions in the disk image.
$ sudo losetup -o 2121883648 /dev/loop0 NS_Disk0.img