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 09-16-2007, 06:50 AM   #1
ahafeel
LQ Newbie
 
Registered: Sep 2007
Posts: 2

Rep: Reputation: 0
lost windows partition file system after mounting under linux


Hi guys, I'm a linux newbie. Recently I mounted my fat32 partition under Linux and chmod 777 the directory in which it was mounted on. I shutdown my system without unmounting the fat32 partition. The problem is that now this partition has lost its file system and appears as unformatted under both linux & windows. However I did manage to do recover the data from the partition. My question is how can I restore the file system for this partition without loosing my data.

Thanks in advance.

Cheers
 
Old 09-16-2007, 09:07 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
When you shut down your system ALL filesystems were unmounted as part of the shutdown process, including the FAT32 partition. You lost partition information is not the result of Linux shutting down, you did make a newbie mistake however, Microsoft filesystems do not understand or care about Linux permissions at all (the chmod 777 bit).


To answer your question, restore from backup. You do not have one then lesson learned.

I would suggest that you take the time and truly fix your partitions issue and learn how to properly mount FAT32 partitions for use by non-root users in Linux.
 
Old 09-16-2007, 09:12 AM   #3
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Forgetting too unmount the partition shouldn't hurt anything. You do it everytime you shutdown. Unmounting partitions is part of the shutdown procedure.

Something else is at work here. Since you confess to being a Linux newbie, perhaps 'lack of knowledge'?

Open a terminal window, and run the command: fdisk -l

Post the return from that command.

Then we may be able to take it a step further.
 
  


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
mounting windows partition in linux prince_linux Red Hat 1 10-20-2005 03:16 AM
Windows 98 was lost when Linux 9 was installed. The partition was properly created. lereisch Linux - Software 1 06-14-2005 10:25 AM
Mounting windows xp file system, creates mnt point, however, cant read files in share cmd0a0 Linux - Networking 10 04-16-2005 12:28 AM
mounting linux partition on windows xp nitinbilly General 6 01-24-2005 11:20 PM
Mounting Linux partition in Windows? hitesh_linux Linux - General 7 10-29-2002 03:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05: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
Open Source Consulting | Domain Registration