Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Apr 2017 14:40:25 +0200
From:      Ralf Mardorf <ralf.mardorf@rocketmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: OT: mounting our GPT/UFS file system in Linux/Ubuntu
Message-ID:  <20170418144025.03cf052e@archlinux.localdomain>
In-Reply-To: <20170418112325.GA4745@c720-r314251>
References:  <20170418112325.GA4745@c720-r314251>

next in thread | previous in thread | raw e-mail | index | archive | help
Doesn't

$ sudo mkdir /mnt/freebsd
$ sudo mount -t ufs -o ufstype=ufs2,ro /dev/sda1 /mnt/freebsd

work?

Replace sda1 with whatever your ufs partition is.

This is something I once posted to the Xubuntu users mailing list:

"$ lsmod | grep ufs
$ sudo mkdir /mnt/freebsd
$ sudo mount -t ufs -o ufstype=ufs2,ro /dev/sda1 /mnt/freebsd
$ cat /mnt/freebsd/etc/fstab
# Device Mountpoint FStype Options Dump Pass
/dev/ad4s1b none swap sw 0 0
/dev/ad4s1a / ufs rw 1 1
/dev/ad4s1e /tmp ufs rw 2 2
/dev/ad4s1f /usr ufs rw 2 2
/dev/ad4s1d /var ufs rw 2 2
/dev/acd0 /cdrom cd9660 ro,noauto 0 0
proc /proc procfs rw 0 0
/dev/ada0s8 /mnt/dump ext2fs rw 0 0
/dev/ada0s9 /mnt/archlinux ext2fs rw 0 0
$ lsmod | grep ufs
ufs 69632 1"

It worked for a MBR based HDD.

Regards,
Ralf



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170418144025.03cf052e>