LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   no mounting of xp possible? :s (https://www.linuxquestions.org/questions/linux-general-1/no-mounting-of-xp-possible-s-308607/)

roxxe1 04-01-2005 09:13 AM

no mounting of xp possible? :s
 
dev/hda1 * 1 2755 22129506 7 HPFS/NTFS
/dev/hda2 2756 24321 173228895 5 Extended
/dev/hda5 2756 12336 76959351 7 HPFS/NTFS
/dev/hda6 12337 12464 1028128+ 82 Linux swap / Solaris
/dev/hda7 13641 14915 10241406 b W95 FAT32
/dev/hda8 14916 24321 75553663+ 7 HPFS/NTFS
/dev/hda9 * 12465 13640 9446188+ 83 Linux


i can mount all other ntfs exept hda1 where my xp is

if i try to mount it in console, i get this:
root@2[~]# mount -t ntfs /dev/hda1 /mnt/hda1
mount: wrong fs type, bad option, bad superblock on /dev/hda1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

when i type dmesg | tail, i get this

root@2[~]# dmesg | tail
ABORTED IN=eth0 OUT= MAC=00:0c:76:c1:d7:38:00:30:bd:f6:6f:f6:08:00 SRC=212.113.84.46 DST=192.168.2.5 LEN=40 TOS=0x10 PREC=0x20 TTL=54 ID=51483 DF PROTO=TCP SPT=80 DPT=1722 SEQ=10371 ACK=0 WINDOW=0 RES=0x00 RST URGP=0
ABORTED IN=eth0 OUT= MAC=00:0c:76:c1:d7:38:00:30:bd:f6:6f:f6:08:00 SRC=212.113.84.46 DST=192.168.2.5 LEN=40 TOS=0x00 PREC=0x80 TTL=54 ID=51509 DF PROTO=TCP SPT=80 DPT=1729 SEQ=20842 ACK=0 WINDOW=0 RES=0x00 RST URGP=0
ABORTED IN=eth0 OUT= MAC=00:0c:76:c1:d7:38:00:30:bd:f6:6f:f6:08:00 SRC=212.113.84.46 DST=192.168.2.5 LEN=40 TOS=0x00 PREC=0x80 TTL=54 ID=51510 DF PROTO=TCP SPT=80 DPT=1729 SEQ=20843 ACK=0 WINDOW=0 RES=0x00 RST URGP=0
ABORTED IN=eth0 OUT= MAC=00:0c:76:c1:d7:38:00:30:bd:f6:6f:f6:08:00 SRC=66.102.9.104 DST=192.168.2.5 LEN=40 TOS=0x00 PREC=0x80 TTL=240 ID=23495 PROTO=TCP SPT=80DPT=1786 SEQ=2540925344 ACK=1821978791 WINDOW=9300 RES=0x00 RST URGP=0
NTFS-fs error (device hda1): read_ntfs_boot_sector(): Primary boot sector is invalid.
NTFS-fs error (device hda1): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover.
NTFS-fs error (device hda1): ntfs_fill_super(): Not an NTFS volume.
NTFS-fs error (device hda1): read_ntfs_boot_sector(): Primary boot sector is invalid.
NTFS-fs error (device hda1): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover.
NTFS-fs error (device hda1): ntfs_fill_super(): Not an NTFS volume.


what should i do?
big thanx in advance

saravkrish 04-01-2005 09:34 AM

Like the dmesg output says, why don't u try using the errors=recover mount option.

It should probably look like:
mount -t ntfs /dev/hda1 /mnt/hda1 -o errors=recover

Hope it works.

-Sarav

roxxe1 04-01-2005 09:59 AM

great it works, but only in a shell how could i fix this in my fstab?


--

saravkrish 04-01-2005 11:08 AM

A line similar to this should be added to your /etc/fstab

Code:

/dev/hda1              /mnt/windows            ntfs    defaults,errors=recover        0 0
Look into mount man pages for other options supported by each file system.

-Sarav

Speek 04-01-2005 03:42 PM

This is from my fstab:
Code:

/dev/hda1        /mnt/hda1        ntfs        ro,umask=0222    0  0


All times are GMT -5. The time now is 06:16 AM.