Windows NTFS partition won't mount? [ubuntu]

VashX

n00b
Joined
Nov 11, 2004
Messages
28
At first, I've been trying to boot into my Windows XP partition and trying to solve that problem (as you can see here) but I found out that I couldn't even mount the partition.
I try mounting it and get the following:
Code:
mount: wrong fs type, bad option, bad superblock on /dev/hda2,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail  or so
Any variation of the mount command will not work. I've tried many different ways...
So I type in dmesg and get the following:
Code:
6>ACPI: PCI interrupt 0000:00:14.1[A] -> GSI 10 (level, low) -> IRQ 10
ATIIXP: chipset revision 0
ATIIXP: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x8070-0x8077, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0x8078-0x807f, BIOS settings: hdc:DMA, hdd:pio
Probing IDE interface ide0...
hda: FUJITSU MHT2080AT, ATA DISK drive
elevator: using anticipatory as default io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: max request size: 128KiB
hda: 156301488 sectors (80026 MB) w/8192KiB Cache, CHS=65535/16/63, UDMA(100)
hda: cache flushes supported
/dev/ide/host0/bus0/target0/lun0: p1 p2 p3 p4 < p5 p6 >
Probing IDE interface ide1...
hdc: TSSTcorpCDW/DVD TS-L462A, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...
Stopping tasks: ==|
Freeing memory... done (455 pages freed)
Restarting tasks... done
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
Adding 1461872k swap on /dev/hda5.  Priority:-1 extents:1
EXT3 FS on hda3, internal journal
hdc: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.20
lp: driver loaded but no devices found
mice: PS/2 mouse device common for all mice
Synaptics Touchpad, model: 1
Firmware: 5.9
Sensor: 37
new absolute packet format
Touchpad has extended capability bits
-> multifinger detection
-> palm detection
input: SynPS/2 Synaptics TouchPad on isa0060/serio4
Capability LSM initialized
ts: Compaq touchscreen protocol output
device-mapper: 4.3.0-ioctl (2004-09-30) initialised: [email][email protected][/email]
md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
cdrom: open failed.
NTFS driver 2.1.22 [Flags: R/O MODULE].
NTFS-fs error (device hda2): read_ntfs_boot_sector(): Primary boot sector is invalid.
NTFS-fs error (device hda2): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover.
NTFS-fs error (device hda2): ntfs_fill_super(): Not an NTFS volume.
Real Time Clock Driver v1.12
input: PC Speaker
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected Ati IGP9100/M chipset
agpgart: Maximum main memory to use for agp memory: 627M
agpgart: AGP aperture is 64M @ 0xdc000000
cpci_hotplug: CompactPCI Hot Plug Core version: 0.2
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
Evaluate _OSC Set fails. Status = 0x0005
pciehp: add_host_bridge: status 5
pciehp: Fails to gain control of native hot-plug
ACPI: PCI interrupt 0000:00:14.5[B] -> GSI 5 (level, low) -> IRQ 5
ACPI: PCI interrupt 0000:00:14.6[B] -> GSI 5 (level, low) -> IRQ 5
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.12.14 (AR5210, AR5211, AR5212)
wlan: 0.8.4.5 (EXPERIMENTAL)
ath_rate_onoe: 1.0
ath_pci: 0.9.4.12 (EXPERIMENTAL)
ACPI: PCI Interrupt Link [LNK2] enabled at IRQ 6
PCI: setting IRQ 6 as level-triggered
ACPI: PCI interrupt 0000:02:03.0[A] -> GSI 6 (level, low) -> IRQ 6
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ath0: mac 5.9 phy 4.3 radio 4.6
ath0: 802.11 address: 00:02:78:42:4b:23
ath0: Use hw queue 0 for WME_AC_BE traffic
ath0: Use hw queue 1 for WME_AC_BK traffic
ath0: Use hw queue 2 for WME_AC_VI traffic
ath0: Use hw queue 3 for WME_AC_VO traffic
ath0: Atheros 5212: mem=0xd8200000, irq=6
Linux Kernel Card Services
options:  [pci] [cardbus] [pm]
ACPI: PCI interrupt 0000:02:04.0[A] -> GSI 10 (level, low) -> IRQ 10
Yenta: CardBus bridge found at 0000:02:04.0 [144d:b028]
Yenta: ISA IRQ mask 0x0098, PCI irq 10
Socket status: 30000006
b44.c:v0.95 (Aug 3, 2004)
ACPI: PCI interrupt 0000:02:05.0[A] -> GSI 6 (level, low) -> IRQ 6
eth0: Broadcom 4400 10/100BaseT Ethernet 00:00:f0:73:cd:c2
usbcore: registered new driver usbfs
usbcore: registered new driver hub
ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ACPI: PCI Interrupt Link [LNK3] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI interrupt 0000:02:06.0[A] -> GSI 11 (level, low) -> IRQ 11
ohci_hcd 0000:02:06.0: NEC Corporation USB
ohci_hcd 0000:02:06.0: irq 11, pci mem 0xd8210000
ohci_hcd 0000:02:06.0: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
ACPI: PCI interrupt 0000:02:06.1[B] -> GSI 6 (level, low) -> IRQ 6
ohci_hcd 0000:02:06.1: NEC Corporation USB (#2)
ohci_hcd 0000:02:06.1: irq 6, pci mem 0xd8211000
ohci_hcd 0000:02:06.1: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usb 1-2: new low speed USB device using ohci_hcd and address 2
ACPI: PCI interrupt 0000:02:06.2[C] -> GSI 5 (level, low) -> IRQ 5
ehci_hcd 0000:02:06.2: NEC Corporation USB 2.0
ehci_hcd 0000:02:06.2: irq 5, pci mem 0xd8212000
ehci_hcd 0000:02:06.2: new USB bus registered, assigned bus number 3
ehci_hcd 0000:02:06.2: USB 2.0 initialized, EHCI 1.00, driver 26 Oct 2004
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 5 ports detected
usbcore: registered new driver hiddev
usbhid: probe of 1-2:1.0 failed with error -5
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
usb 1-2: USB disconnect, address 2
usb 1-2: new low speed USB device using ohci_hcd and address 3
b44: eth0: Link is down.
input: USB HID v1.10 Mouse [USB Mouse              ] on usb-0000:02:06.0-2
NET: Registered protocol family 17
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
NET: Registered protocol family 10
Disabled Privacy Extensions on device c02f0500(lo)
IPv6 over IPv4 tunneling driver
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: AC Adapter [ADP1] (on-line)
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: Battery Slot [BAT1] (battery present)
ACPI: Power Button (FF) [PWRF]
ACPI: Sleep Button (CM) [SLPB]
ACPI: Lid Switch [LID0]
ibm_acpi: ec object not found
ACPI: Video Device [ATIM] (multi-head: yes  rom: no  post: no)
apm: BIOS version 1.2 Flags 0x0b (Driver version 1.16ac)
apm: overridden by ACPI.
[drm] Initialized drm 1.0.0 20040925
ACPI: PCI interrupt 0000:01:05.0[A] -> GSI 10 (level, low) -> IRQ 10
[drm] Initialized radeon 1.14.0 20050125 on minor 0: PCI device 1002:5835 (ATI Technologies Inc)
agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
agpgart: Xorg passes broken AGP3 flags (1f00020f). Fixed.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
agpgart: Putting AGP V3 device at 0000:01:05.0 into 8x mode
[drm] Loading R200 Microcode
cs: IO port probe 0x0100-0x04ff: clean.
cs: IO port probe 0x0800-0x08ff: clean.
cs: IO port probe 0x0c00-0x0cff: excluding 0xc00-0xc07 0xc10-0xc17 0xc50-0xc57 0xc68-0xc6f 0xcd0-0xcd7
cs: IO port probe 0x0a00-0x0aff: clean.
speedstep-centrino: invalid ACPI data
speedstep-centrino: no table support for CPU model "Intel(R) Pentium(R) M processor 1.60GHz":
acpi-cpufreq: CPU0 - ACPI performance management activated.
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
eth0: no IPv6 routers present
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
NTFS-fs error (device hda2): read_ntfs_boot_sector(): Primary boot sector is invalid.
NTFS-fs error (device hda2): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover.
NTFS-fs error (device hda2): ntfs_fill_super(): Not an NTFS volume.
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
NTFS-fs error (device hda2): read_ntfs_boot_sector(): Primary boot sector is invalid.
NTFS-fs error (device hda2): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover.
NTFS-fs error (device hda2): ntfs_fill_super(): Not an NTFS volume.
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
NTFS-fs error (device hda2): read_ntfs_boot_sector(): Primary boot sector is invalid.
NTFS-fs error (device hda2): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover.
NTFS-fs error (device hda2): ntfs_fill_super(): Not an NTFS volume.
ACPI: acpi_ec_space_handler: bit_width should be 8
ACPI: acpi_ec_space_handler: bit_width should be 8
I've tried adding this to my fstab:
Code:
/dev/hda1 /mnt/hda1 ntfs noatime,defaults,users,ro,umask=0 0 0
and during Ubuntu boot up when it says it's mounting the filesystems, it gives me that "mount: wrong fs type" error. But when I go to Places --> Computer, I see a drive that says "31G Drive" which must mean that it detects the partition in some way, right? Is there any way I can access this thing?

What I want to do is copy some files from the Windows partition into my empty FAT32 partition or my mp3 player.

I've already posted on UbuntuForums.org and LinuxForums.org and so far nothing good...

Original topic posted here:
http://ubuntuforums.org/showthread.php?t=71832
 
MTB2Live said:
what's the output of
Code:
sudo fdisk /dev/hda -l
please?
Code:
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1           2       16033+  fe  LANstep
/dev/hda2   *           3        3826    30716280    7  HPFS/NTFS
/dev/hda3            3827        5042     9767520   83  Linux
/dev/hda4            5043        9729    37648327+   5  Extended
/dev/hda5            5043        5224     1461883+  82  Linux swap / Solaris
/dev/hda6            5225        9729    36186381    b  W95 FAT32
 
well for one, the line in fstab is trying to mount the wrong partition?
try something like this
Code:
/dev/hda2 /mnt/point ntfs auto,noatime,users,umask=0000,gid=users,ro 0 0
umask=0000 is because the kernel will often override what you'd expect the mounted permissions to be, so this sets them the way we want
gid=users means that the group "users" owns the mount point
the equiv line from a command prompt to make sure it will work would be
Code:
sudo mount /dev/hda2 /mnt/point -o noatime,users,umask=0000,gid=users,ro
hopefully this is helpful, i'm not entirely familiar with how ubuntu treats this stuff but it can't be far off from default linux standards

i haven't read the entire ubuntu forum post, and like i said im not sure exactly how ubuntu is configured, but the following should work (cross the fingers :rolleyes: )

less /boot/grub/grub.conf (menu.lst on some distributions)
Code:
default 0 #default winxp, change to 1 for ubuntu
fallback 1 #if winxp not found SHOULD but not reliable fallback to ubuntu

# for booting windows as default
title=Windows XP
rootnoverify (hd0,1)
makeactive
chainloader +1

#for booting ubuntu

title Ubuntu, kernel 2.6.10-5-386
 root (hd0,2)
 kernel /boot/vmlinuz-2.6.10-5-386 root=/dev/hda3 ro quiet splash
 initrd /boot/initrd.img-2.6.10-5-386
# savedefault
 boot
 
 title Ubuntu, kernel 2.6.10-5-386 (recovery mode)
 root (hd0,2)
 kernel /boot/vmlinuz-2.6.10-5-386 root=/dev/hda3 ro single
 initrd /boot/initrd.img-2.6.10-5-386
# savedefault
 boot
 
 title Ubuntu, kernel memtest86+
 root (hd0,2)
 kernel /boot/memtest86+.bin
# savedefault
 boot
Code:
grub-install --no-floppy /dev/hda
 
Gah, same error. There's absolutely no hope with this thing. :(
Thanks for the help, though. Of course, if you have anything else to suggest, I'll happily accept your replies. :)
 
reread that dmesg..i missed an important part :rolleyes:
can you run fsck from within ubuntu on your windows partition?
fsck -r /dev/hda2
EDIT: the above shouldn't work, i don't think
another option
(does ubuntu come with linux-ntfs? if not, get the latest 1.11.2)
http://linux-ntfs.sourceforge.net/man/ntfsfix.html
hopefully that will fix the boot sector. try booting into windows, which should then run chkdsk (if it boots)

EDIT2
try this before linux-ntfs
mount -t ntfs -o ro,errors=recover /dev/hda2 /mnt/point
 
Code:
root@ubuntu:/home/excentra # ntfsfix /dev/hda2

Mounting volume... FAILED
Attempting to correct errors... FAILED
Failed to startup volume: Invalid argument
Volume is corrupt. You should run chkdsk.root@ubuntu:/home/excentra #
...so I'm guessing it's corrupt? Crap. :(

How do I run chkdsk? Isn't that a Windows command?
 
VashX said:
Code:
How do I run chkdsk? Isn't that a Windows command?[/QUOTE]

It is, yes. Reboot to windows to run it.
BTW, could you try "file -s /dev/hda2", just to see if it thinks it's an NTFS partition?
(I'd be very suprised if not, but it's just a sanity check of sorts.)
 
HHunt said:
It is, yes. Reboot to windows to run it.
BTW, could you try "file -s /dev/hda2", just to see if it thinks it's an NTFS partition?
(I'd be very suprised if not, but it's just a sanity check of sorts.)
Code:
root@ubuntu:/home/excentra # file -s /dev/hda2
/dev/hda2: x86 boot sector, code offset 0x48, OEM-ID "NTFS    ", sectors/cluster 8, reserved sectors 0, Media descriptor 0xf8, heads 255, hidden sectors 32130, dos < 4.0 BootSector (0x80)
So I guess it does read it as NTFS.

lol, I can't boot into Windows. What got me into this whole ordeal is that I couldn't get GRUB to dual-boot with Windows and I got totally screwed. So what I wanted to do was mount the partition to back up some files (some files, most of which are my brothers.......).

Can I boot up my old Windows 98se CD in command-mode or whatever to order run chkdsk?

Edit: nevermind, just tried it. It doesn't know the command. I can't find my Windows XP Home CD either. Any ideas?
 
2000 would work, but '98 doesn't support NTFS.
You could, uhm ... stuff the disk in another computer with windows, and check it from there?
(Fixing NTFS isn't really a linux thing.)
 
So my friend forgot his CD and I'm stuck with it over the weekend.

Is there any place where I can download something to run chkdsk and is bootable from a CD? I didn't mention that the computer that I'm working on is a laptop, and it being a newer model doesn't have a floppy drive.

Edit: Good news is that I found my XP home CD. The really bad news is that I ran chkdsk and it said that "there appears to be an unrecoverable error on the disk" and it does nothing. :(
So I'm guessing there's absolutely no hope...? Is it possible to install Windows on my empty FAT32 partition and access the NTFS partition? Or am I keeping my hopes up too high? I'm kind of "iffy" about that because I've read that Windows doesn't like being on any other partition besides the first...
So basically, can I access my NTFS partition somehow? If yes, how?
 
Back
Top