|
NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
How to mount a Linux / Ubuntu ext4 partition on NetBSD
Hello to everyone.
I'm a new netBSD user. I'm trying to understand how to mount my Ubuntu / ext4 partitions directly in NetBSD. We are talking about this disk : Code:
dmesg : [ 3.081318] wd0 at atabus1 drive 0 [ 3.081318] wd0: <CT500MX500SSD4> [ 3.081318] wd0: drive supports 1-sector PIO transfers, LBA48 addressing [ 3.081318] wd0: 465 GB, 969021 cyl, 16 head, 63 sec, 512 bytes/sect x 976773168 sectors (0 bytes/physsect; first aligned sector: 8) [ 3.081318] wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags) [ 3.081318] wd0(ahcisata0:1:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags) Code:
GPT not found, displaying data from MBR. start size index contents 0 1 MBR 1 2047 Unused 2048 976765625 1 MBR part 131 (active) 976767673 5495 Unused netbsd-marietto# disklabel wd0 Code:
# /dev/rwd0: type: ESDI disk: wd0 label: fictitious flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 16 sectors/cylinder: 1008 cylinders: 969021 total sectors: 976773168 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # microseconds track-to-track seek: 0 # microseconds drivedata: 0 5 partitions: # size offset fstype [fsize bsize cpg/sgs] d: 976773168 0 unused 0 0 # (Cyl. 0 - 969020) e: 976765625 2048 Linux Ext2 0 0 # (Cyl. 2*- 969015*) disklabel: boot block size 0 disklabel: super block size 0 Code:
netbsd-marietto# mount -r -t ext2fs /dev/rwd0e /mnt/CT500-wd0-ext4 mount_ext2fs: /dev/rwd0e on /mnt/CT500-wd0-ext4: Block device required netbsd-marietto# mount -r -t ext2fs /dev/wd0e /mnt/CT500-wd0-ext4 mount_ext2fs: /dev/wd0e on /mnt/CT500-wd0-ext4: incorrect super block netbsd-marietto# mount -r -t ext4fs /dev/wd0e /mnt/CT500-wd0-ext4 mount: exec mount_ext4fs for /mnt/CT500-wd0-ext4: mount_ext4fs: No such file or directory netbsd-marietto# mount -r -t ext4fs /dev/rwd0e /mnt/CT500-wd0-ext4 mount: exec mount_ext4fs for /mnt/CT500-wd0-ext4: mount_ext4fs: No such file or directory Last edited by marietto2021; 15th September 2021 at 07:13 PM. |
|
||||
Quote:
You're rather going to need a userspace solution like fuse-ext2, which also includes support for ext4 and relies on the puffs subsystem. Cheers
__________________
“Mi casa tendrá dos piernas y mis sueños no tendrán fronteras„ |
Tags |
ext2fs, filesystem, mount options, partitioning |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
create and mount partition on image file | niks007 | OpenBSD General | 9 | 28th January 2021 10:57 PM |
About to install NetBSD in system which is already XP/Ubuntu/FreeBSD triple boot. | velikij | NetBSD Installation and Upgrading | 5 | 15th June 2012 07:36 AM |
cant mount 16th partition because of disklabel limitation | thereisopenbsd | OpenBSD General | 2 | 3rd June 2011 09:10 AM |
mount ufs from linux | kanonmat | FreeBSD General | 8 | 2nd December 2008 06:13 AM |
Convertin A Ubuntu ssh/ Samba server to NetBSd | FloridaBSD | FreeBSD General | 6 | 24th May 2008 09:35 AM |