NetBSD nenajde NTFS oddíl na disku

amat

NetBSD nenajde NTFS oddíl na disku
« kdy: 01. 12. 2016, 10:41:13 »
Zdravim,

zkusil jsem dat do dualbootu windows7 + NetBSD, oba jsou na stejnem disku. Hodilo by se mi z NetBSD pristupovat na disk, kde jsou windows, bohuzel #disklabel wd0 ten ntfs oddil nenajde, takze jej nemam jak pripojit.

# mbrlabel wd0
Found unknown partition; size 819200 (400 MB), offset 2048 adding unknown partition to slot h. Found NTFS partition; size 313345892 (153000 MB), offset 821248 adding NTFS partition to slot i. Found 4.2BSD partition; size 310975152 (151843 MB), offset 314167296 skipping existing unused partition at slot c.

16 partitions: # size offset fstype [fsize bsize cpg/sgs] a: 43008336 314167296 4.2BSD 2048 16384 0 # (Cyl. 311673*- 354340*) b: 6339312 357175632 swap # (Cyl. 354340*- 360629*) c: 310975152 314167296 unused 0 0 # (Cyl. 311673*- 620180) d: 625142448 0 unused 0 0 # (Cyl. 0 - 620180) e: 110592720 363514944 4.2BSD 2048 16384 0 # (Cyl. 360629*- 470344*) f: 7078176 474107664 4.2BSD 2048 16384 0 # (Cyl. 470344*- 477366*) g: 143956608 481185840 4.2BSD 2048 16384 0 # (Cyl. 477366*- 620180) h: 819200 2048 unknown # (Cyl. 2*- 814*) i: 313345892 821248 NTFS # (Cyl. 814*- 311673*)

Not updating disk label.




# fdisk wd0
Disk: /dev/rwd0d NetBSD disklabel disk geometry: cylinders: 620181, heads: 16, sectors/track: 63 (1008 sectors/cylinder) total sectors: 625142448, bytes/sector: 512

BIOS disk geometry: cylinders: 1023, heads: 255, sectors/track: 63 (16065 sectors/cylinder) total sectors: 625142448

Partitions aligned to 2048 sector boundaries, offset 2048

Partition table: 0: unknown (sysid 39) bootmenu: win7 start 2048, size 819200 (400 MB, Cyls 0-51/30/43), Active 1: NTFS, OS/2 HPFS, QNX2 or Advanced UNIX (sysid 7) bootmenu: win start 821248, size 313345892 (153001 MB, Cyls 51/30/44-19555) 2: NetBSD (sysid 169) bootmenu: net start 314167296, size 310975152 (151843 MB, Cyls 19556/2/31-38913/80/63) 3: UNUSED Bootselector disabled. First active partition: 0 Drive serial number: 2791899404 (0xa669010c)

# disklabel wd0
# /dev/rwd0d: type: unknown disk: TOSHIBA MK3263G label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 16 sectors/cylinder: 1008 cylinders: 620181 total sectors: 625142448 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # microseconds track-to-track seek: 0 # microseconds drivedata: 0

16 partitions: # size offset fstype [fsize bsize cpg/sgs] a: 43008336 314167296 4.2BSD 2048 16384 0 # (Cyl. 311673*- 354340*) b: 6339312 357175632 swap # (Cyl. 354340*- 360629*) c: 310975152 314167296 unused 0 0 # (Cyl. 311673*- 620180) d: 625142448 0 unused 0 0 # (Cyl. 0 - 620180) e: 110592720 363514944 4.2BSD 2048 16384 0 # (Cyl. 360629*- 470344*) f: 7078176 474107664 4.2BSD 2048 16384 0 # (Cyl. 470344*- 477366*) g: 143956608 481185840 4.2BSD 2048 16384 0 # (Cyl. 477366*- 620180)


Kód: [Vybrat]
# mount -t ntfs /dev/wd0i /mnt mount_ntfs: /dev/wd0i on /mnt: Device not configured

Budu rad za jakekoli rady.
« Poslední změna: 01. 12. 2016, 13:36:24 od Petr Krčmář »


Babicka

Re:NetBSD-problem s pristupem k ntfs oddilu na disku
« Odpověď #1 kdy: 01. 12. 2016, 13:15:56 »
sysutils/fusefs-ntfs mas nainstalovane?

amat

Re:NetBSD nenajde NTFS oddíl na disku
« Odpověď #2 kdy: 01. 12. 2016, 15:23:09 »
nemam, v pkgsrc nic takoveho ani neni. Pokud jsem hledal spravne, tak by to mel byt ekvivalent ve freebsd k ntfs-3g, ktery nainstalovany mam

trubicoid2

Re:NetBSD nenajde NTFS oddíl na disku
« Odpověď #3 kdy: 01. 12. 2016, 16:43:50 »
se to nemountovalo přímo mountem, ale tim fuse způsobem čili:
Kód: [Vybrat]
ntfs-3g /dev/wd0i /mnt

amat

Re:NetBSD nenajde NTFS oddíl na disku
« Odpověď #4 kdy: 01. 12. 2016, 18:37:18 »
to jsem samozřejmě zkoušel, bohužel bez úspěchu:

# ntfs-3g /dev/wd0i /mnt
Error opening '/dev/wd0i': Device not configured
Failed to mount '/dev/wd0i': Device not configured
Either the device is missing or it's powered down, or you have
SoftRAID hardware and must use an activated, different device under
/dev/mapper/, (e.g. /dev/mapper/nvidia_eahaabcc1) to mount NTFS.
Please see the 'dmraid' documentation for help.


trubicoid2

Re:NetBSD nenajde NTFS oddíl na disku
« Odpověď #5 kdy: 01. 12. 2016, 20:46:28 »
no a fdisk -l rika o tom disku co? ty to tam uz mas napsany, ale nejak to nevidim

stejny disk v linuxu pripojis?

a jak ma to BSD fuse modul?

tady pisi, jak se to ma kompilirovat, to mas udelane?

https://wiki.netbsd.org/tutorials/how_to_use_fuse_in_netbsd/

amat

Re:NetBSD nenajde NTFS oddíl na disku
« Odpověď #6 kdy: 01. 12. 2016, 23:07:40 »
tak jse to vyřešil podle návodu: http://www.netbsd.org/ports/i386/faq.html#ms_partition
#disklabel -e wd0
a přidat ntfs oddíl (zkopíroval jsem to z výpisu z mbrlabel)