View Single Post
  #1   (View Single Post)  
Old 11th August 2008
IIMarckus IIMarckus is offline
Port Guard
 
Join Date: Aug 2008
Posts: 13
Default Cannot mount (NTFS)

Hi,

I have a Windows HD and have been trying to mount it in OpenBSD.
Code:
# mount /dev/wd0i /mnt/winhdd
mount_ntfs: /dev/wd0i on /mnt/winhdd: Operation not supported
# mount -r /dev/wd0i /mnt/winhdd
mount_ntfs: /dev/wd0i on /mnt/winhdd: Operation not supported
I'm new to Unixes in general, so I'm not sure what I'm doing wrong. Here's my fstab:
Code:
/dev/wd1a / ffs rw 1 1
/dev/wd1g /home ffs rw,nodev,nosuid 1 2
/dev/wd1d /tmp ffs rw,nodev,nosuid 1 2
/dev/wd1f /usr ffs rw,nodev 1 2
/dev/wd1e /var ffs rw,nodev,nosuid 1 2
I tried adding this line to fstab:
Code:
/dev/wd0i /mnt/winhdd ntfs r 1 2
However, I still cannot mount the disk and on boot I receive several instances of this: "fstab: /etc/fstab: Inappropriate file type or format"

Here's some information that may or may not be helpful (I can't tell what's what, to be honest). disklabel:
Code:
# /dev/rwd0c:
type: ESDI
disk: ESDI/IDE disk
label: IBM-DHEA-36480  
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 790
total sectors: 12692736
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]
  c:         12692736                0  unused      0     0      
  i:         12675222               63    NTFS
fdisk:
Code:
Disk: wd0	geometry: 790/255/63 [12692736 Sectors]
Offset: 0	Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
*0: 07      0   1   1 -    788 254  63 [          63:    12675222 ] HPFS/QNX/AUX
 1: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
 2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
 3: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
dmesg:
Code:
OpenBSD 4.3 (GENERIC) #698: Wed Mar 12 11:07:05 MDT 2008
    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD-K6(tm) 3D processor ("AuthenticAMD" 586-class) 501 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX
real mem  = 393768960 (375MB)
avail mem = 372424704 (355MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 09/14/99, BIOS32 rev. 0 @ 0xfb470, SMBIOS rev. 2.1 @ 0xf0800 (12 entries)
bios0: vendor Award Software version "4.51 PG" date 09/14/99
bios0: Compaq Compaq PC
apm0 at bios0: Power Management spec V1.2 (slowidle)
apm0: AC on, battery charge unknown
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xf0000/0xb90c
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf00/144 (7 entries)
pcibios0: PCI Exclusive IRQs: 3 5 10 11 12
pcibios0: PCI Interrupt Router at 000:01:0 ("SiS 85C503 System" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0x8000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "SiS 530 PCI" rev 0x03
agp0 at pchb0: aperture at 0xe0000000, size 0x4000000
pciide0 at pci0 dev 0 function 1 "SiS 5513 EIDE" rev 0xd0: 530: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <IBM-DHEA-36480>
wd0: 16-sector PIO, LBA, 6197MB, 12692736 sectors
wd1 at pciide0 channel 0 drive 1: <QUANTUM FIREBALL CX10.0A>
wd1: 16-sector PIO, LBA, 9541MB, 19541088 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <TEAC, CD-W512EB, 2.0K> SCSI0 5/cdrom removable
atapiscsi1 at pciide0 channel 1 drive 1
scsibus1 at atapiscsi1: 2 targets
cd1 at scsibus1 targ 0 lun 0: <LG, CD-RW CED-8042B, 1.07> SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
cd1(pciide0:1:1): using PIO mode 4, DMA mode 2
pcib0 at pci0 dev 1 function 0 "SiS 85C503 System" rev 0xb1
"SiS 5595 System" rev 0x00 at pci0 dev 1 function 1 not configured
ohci0 at pci0 dev 1 function 2 "SiS 5597/5598 USB" rev 0x11: irq 3, version 1.0, legacy support
ppb0 at pci0 dev 2 function 0 "SiS 86C201 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "SiS 530 VGA" rev 0xa3
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ohci1 at pci0 dev 11 function 0 "Acer Labs M5237 USB" rev 0x03: irq 11, version 1.0, legacy support
ohci2 at pci0 dev 11 function 1 "Acer Labs M5237 USB" rev 0x03: irq 10, version 1.0, legacy support
ohci3 at pci0 dev 11 function 2 "Acer Labs M5237 USB" rev 0x03: irq 12, version 1.0, legacy support
ehci0 at pci0 dev 11 function 3 "Acer Labs M5239 USB2" rev 0x01: irq 5
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Acer Labs EHCI root hub" rev 2.00/1.00 addr 1
dc0 at pci0 dev 13 function 0 "Davicom DM9102" rev 0x40: irq 11, address 00:08:a1:8c:91:04
amphy0 at dc0 phy 1: DM9102 10/100 PHY, rev. 1
eso0 at pci0 dev 15 function 0 "ESS SOLO-1 AudioDrive" rev 0x01: ES1946, irq 10
audio0 at eso0
opl0 at eso0: model OPL3
midi0 at opl0: <ESO Yamaha OPL3>
mpu at eso0 not configured
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi1 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
lm0 at isa0 port 0x290/8: LM78
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 "SiS OHCI root hub" rev 1.00/1.00 addr 1
usb2 at ohci1: USB revision 1.0
uhub2 at usb2 "Acer Labs OHCI root hub" rev 1.00/1.00 addr 1
usb3 at ohci2: USB revision 1.0
uhub3 at usb3 "Acer Labs OHCI root hub" rev 1.00/1.00 addr 1
usb4 at ohci3: USB revision 1.0
uhub4 at usb4 "Acer Labs OHCI root hub" rev 1.00/1.00 addr 1
eso0: mapping Audio 1 DMA using I/O space at 0x410
biomask ff6d netmask ff6d ttymask ffef
mtrr: K6-family MTRR support (2 registers)
uhidev0 at uhub1 port 1 configuration 1 interface 0 "Logitech Trackball" rev 1.10/2.20 addr 2
uhidev0: iclass 3/1
ums0 at uhidev0: 3 buttons and Z dir.
wsmouse0 at ums0 mux 0
softraid0 at root
root on wd1a swap on wd1b dump on wd1b
umass0 at uhub1 port 2 configuration 1 interface 0 "Kingston DataTraveler U3" rev 2.00/2.00 addr 3
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets
sd0 at scsibus2 targ 1 lun 0: <Kingston, DataTraveler U3, 6.16> SCSI0 0/direct removable
sd0: 978MB, 124 cyl, 255 head, 63 sec, 512 bytes/sec, 2004991 sec total
Reply With Quote