|
NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Cannot mount Linux ext2 partitions
Hi,
I got an error when mounting a Linux partition. Please help: Quote:
|
|
||||
I don't use NetBSD, but in the NetBSD Guide I found a discussion of provisioning disklabels for foreign filesystems. While this guide is for i386 and discusses Microsoft, the same information should apply to other MBR architecture platforms and to Linux MBR partitions
https://www.netbsd.org/ports/i386/faq.html#ms_partition |
|
|||
I followed the NetBSD Guide and got the error:
Quote:
|
|
||||
Create an EXT2 filesystem and use revision 0 (aka GOOD_OLD_REV) as the format
The best way to share a partition with Linux is to create an EXT2 filesystem and use revision 0 (aka GOOD_OLD_REV) as the filesystem format.
By using the GOOD_OLD_REV (revision 0) format you can avoid the ''dir_index'' and ''large_file'' issues encountered with DYNAMIC_REV (revision 1). Here is an example of how you can create, format and check an EXT2 filesystem using the Linux native tools: Code:
# mkfs -t ext2 -r 0 /dev/hda3 # fsck -C -t ext2 /dev/hda3 # tune2fs -c 20 -i 6m -L Share /dev/hda3 # fsck -C -t ext2 /dev/hda3 # tune2fs -l /dev/hda3 This will ensure 100% compatibility with Linux.
__________________
A daemon in need is a daemon indeed. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can you mount logical ntfs partitions? | Broodjegehaktmetmayo | FreeBSD General | 10 | 11th April 2010 07:47 PM |
Mounting ext2 partitions seems to fail | Sunsawe | FreeBSD Installation and Upgrading | 2 | 17th June 2009 01:38 PM |
Moving linux partitions out of the BSD disklabel/slice | fbsduser | NetBSD Installation and Upgrading | 5 | 4th March 2009 07:07 AM |
mount ufs from linux | kanonmat | FreeBSD General | 8 | 2nd December 2008 06:13 AM |
Mounting ext2 in fstab | latorion | FreeBSD General | 3 | 6th August 2008 04:56 PM |