LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-01-2005, 09:13 AM   #1
roxxe1
LQ Newbie
 
Registered: Apr 2005
Posts: 8

Rep: Reputation: 0
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
 
Old 04-01-2005, 09:34 AM   #2
saravkrish
Member
 
Registered: Mar 2004
Location: KY, USA
Distribution: Fedora Core 1
Posts: 190

Rep: Reputation: 30
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
 
Old 04-01-2005, 09:59 AM   #3
roxxe1
LQ Newbie
 
Registered: Apr 2005
Posts: 8

Original Poster
Rep: Reputation: 0
great it works, but only in a shell how could i fix this in my fstab?


--

Last edited by roxxe1; 04-01-2005 at 10:06 AM.
 
Old 04-01-2005, 11:08 AM   #4
saravkrish
Member
 
Registered: Mar 2004
Location: KY, USA
Distribution: Fedora Core 1
Posts: 190

Rep: Reputation: 30
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
 
Old 04-01-2005, 03:42 PM   #5
Speek
Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Slackware
Posts: 124

Rep: Reputation: 41
This is from my fstab:
Code:
/dev/hda1        /mnt/hda1        ntfs        ro,umask=0222    0   0

Last edited by Speek; 04-01-2005 at 03:43 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting an ISO image from a CD different than mounting from HD? NoTiG Linux - Software 4 08-03-2005 04:40 PM
Gnome 2.6 Right click mounting and the mounting system Acetylcholine Linux - Hardware 0 07-25-2004 07:34 AM
Mounting HDD vs. Mounting Filesystem snailophone Linux - Hardware 4 08-12-2003 11:00 AM
Mounting purelific Linux - Software 3 03-25-2002 03:38 AM
Mounting mounting extended partition and its Logical drives desbyleo Linux - Newbie 10 02-18-2002 03:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration