Quote:
Originally Posted by johnR
You either need to disable automount or manually umount the automounted devices before proceeding. Linux reads the partition table differently from OpenBSD. Use:
# fdisk -l /dev/sdb
to see which partition you need to mount, then use the previously mentioned mount command:
# mount -t ufs -o ro,ufstype=44bsd /dev/sdbx /mnt/openbsd
where x is the relevant partition number.
|
Code:
$ fdisk -l /dev/sdb
fdisk: cannot open /dev/sdb: Permission denied
ubuntu@ubuntu:~$ sudo fdisk -l /dev/sdb
Disk /dev/sdb: 7.4 GiB, 7933526016 bytes, 15495168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000
Device Boot Start End Sectors Size Id Type
/dev/sdb4 * 64 15486659 15486596 7.4G a6 OpenBSD
Code:
$ sudo mount -t ufs -o ro,ufstype=44bsd /dev/sdb4 /home/ubuntu/bsd/
^^ This mounts the partition successfully but the folders are all empty.
Under OpenBSD as root I did
But when I browse to the /root directory its empty.
I ran the command pwd and it printed /home/openbsd but when I browse to home from Ubuntu its empty.