LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-01-2005, 05:07 AM   #1
john_active
LQ Newbie
 
Registered: Dec 2005
Distribution: ubuntu
Posts: 9

Rep: Reputation: 0
fstab mess please help!!


my fstab before:

proc /proc proc defaults 0 0
/dev/hda4 / ext3 defaults,errors=remount-ro 0 1
/dev/hda1 /media/hda1 ntfs defaults 0 0
/dev/hda5 /media/hda5 ntfs defaults 0 0
/dev/hda3 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0


i change options(stupidly) for hda5.i had not any problem, just for curiocity as i see it in a forum:

proc /proc proc defaults 0 0
/dev/hda4 / ext3 defaults,errors=remount-ro 0 1
/dev/hda1 /media/hda1 ntfs defaults 0 0
/dev/hda5 /media/hda5 ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/hda3 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0


and i try to mount it and errors occur.i change it back to defaults and nothing.i can't mount.

wrong fs type, bad option, bad superblock on /dev/hda5,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

pleeeeeeeeseeeeee help...........
i have everything in this disc

note: i have windows xp too and i start computer with windows and they see the disc as unformated

Please help
 
Old 12-01-2005, 05:53 AM   #2
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
did you try dmesg | tail then?? like it suggested??

Did you format the drive or do anythign with fdisk?
 
Old 12-01-2005, 06:03 AM   #3
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52
sounds bad. please only post in one forum.
 
Old 12-01-2005, 11:28 AM   #4
john_active
LQ Newbie
 
Registered: Dec 2005
Distribution: ubuntu
Posts: 9

Original Poster
Rep: Reputation: 0
no i did not format or anything else.i just edit fstab->unmount hda5->mount hda5(errors occur-fail mount)->edit fstab(restore as first)->mount hda5 and nothing.
dmesg | tail gives me:

NTFS-fs error (device hda5): read_ntfs_boot_sector(): Primary boot sector is invalid.
[4295227.580000] NTFS-fs error (device hda5): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover.
[4295227.580000] NTFS-fs error (device hda5): ntfs_fill_super(): Not an NTFS volume.

is there A N Y way to take back my data?
 
Old 12-01-2005, 11:43 AM   #5
john_active
LQ Newbie
 
Registered: Dec 2005
Distribution: ubuntu
Posts: 9

Original Poster
Rep: Reputation: 0
fdisk hda info:

Device Boot Start End Blocks Id System
/dev/hda1 * 1 1275 10241406 7 HPFS/NTFS
/dev/hda2 1276 5864 36861142+ f W95 Ext'd (LBA)
/dev/hda3 5865 5989 1004062+ 82 Linux swap / Solaris
/dev/hda4 5990 7296 10498477+ 83 Linux
/dev/hda5 1276 5864 36861111 7 HPFS/NTFS
 
Old 12-01-2005, 11:54 AM   #6
purelithium
Member
 
Registered: Oct 2005
Location: Canada
Distribution: Mandriva 2006.0
Posts: 390

Rep: Reputation: 30
You can't mount a partition that is not formatted. Format the partition then mount it. That is your problem.
 
Old 12-01-2005, 12:09 PM   #7
john_active
LQ Newbie
 
Registered: Dec 2005
Distribution: ubuntu
Posts: 9

Original Poster
Rep: Reputation: 0
the disc was all right before my edit fstab.I want my data, i don't (N O W A Y)want to format.at least before take my data.
 
Old 12-01-2005, 12:43 PM   #8
purelithium
Member
 
Registered: Oct 2005
Location: Canada
Distribution: Mandriva 2006.0
Posts: 390

Rep: Reputation: 30
Well, if windows doesn't detect it properly, then you probably aren't going to be able to save your data, as the partition is probably already corrupt. What did you do before this all happened? Has this partition mounted properly before? What changed between then and now?
 
Old 12-01-2005, 01:14 PM   #9
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
Quote:
Originally posted by john_active
the disc was all right before my edit fstab.I want my data, i don't (N O W A Y)want to format.at least before take my data.
Might not be an option, that's why it's important to backup data and be careful when messing around with partitions, like mentioned ,if windows can't detect its own filesystem format properly, it's unlikely Linux can
 
Old 12-01-2005, 01:21 PM   #10
john_active
LQ Newbie
 
Registered: Dec 2005
Distribution: ubuntu
Posts: 9

Original Poster
Rep: Reputation: 0
before that the disc was mounted properly,everything ok,i 'd been used it a long time with linux.I don't want what changed between then and now.i just edit fstab, unmount and remount the disc and...all that crap
 
Old 12-01-2005, 01:24 PM   #11
john_active
LQ Newbie
 
Registered: Dec 2005
Distribution: ubuntu
Posts: 9

Original Poster
Rep: Reputation: 0
somebody know a way to take back my data?data retrieval companies or something?
 
Old 12-01-2005, 02:10 PM   #12
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52
http://www.quetek.com/prod02.htm?source=google1

http://www.active-undelete.com/

http://www.sysinternals.com/Utilitie...fessional.html
 
Old 12-01-2005, 02:57 PM   #13
mr_demilord
Member
 
Registered: Sep 2005
Posts: 244

Rep: Reputation: 30
Quote:
Originally posted by john_active
somebody know a way to take back my data?data retrieval companies or something?
Change the filesystem of the cdrom drive to auto in the /etc/fstab
And create a file in /etc/ called filesystems with.
Code:
iso9660
udf
Hope it helps.

Last edited by mr_demilord; 12-01-2005 at 03:00 PM.
 
Old 12-01-2005, 02:59 PM   #14
mr_demilord
Member
 
Registered: Sep 2005
Posts: 244

Rep: Reputation: 30
oops
 
Old 12-02-2005, 08:10 AM   #15
john_active
LQ Newbie
 
Registered: Dec 2005
Distribution: ubuntu
Posts: 9

Original Poster
Rep: Reputation: 0
i found "Easy Recovery Professional" (full) and i solve the problem!!I take back all my data!Thanks god there are such incredible utilities!!!Thanks a lot gays.recommend this to others with such problems.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 07:15 AM
fstab mess please help!! john_active Ubuntu 2 12-01-2005 01:40 PM
newbie vs fstab. fstab wins :( blop Linux - Newbie 3 01-07-2005 06:54 AM
(version 5.1 chapter 08 fstab) vs (man fstab) rgiggs Linux From Scratch 2 06-03-2004 06:55 PM
cleaning up the mess Shade00 Linux - Newbie 3 05-10-2004 01:20 AM


All times are GMT -5. The time now is 08:25 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration