LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 02-19-2006, 09:30 PM   #1
Klia
LQ Newbie
 
Registered: Jan 2006
Location: L.A. USA
Distribution: Ubuntu 5.10
Posts: 6

Rep: Reputation: 0
Oops, "lost" Fat32


Running dual boot Breezy/Xp on a secondary machine to learn my way before doing same on primary machine. Seperate router problems have prevented any networking attempts yet. Then yesterday I broke windows on the main machine so I'm writing this on the backup.
Decided to learn how to transfer files between windows and Ububtu in case I can't properly recover windows on the other machine. Since I'd created a Fat32 partition during the initial installation I went to disc manager to try and access it. It was listed as disabled and nothing happened when I tried to activate it.
I opened the command window and attempted to edit(?) the mount directory. Somehow I moved, or at least changed the path to the drive, since when I tried to mount it I got "not found" and it no longer showed up in disc manager either.
Besides being an obvious newbie, I'm also not too bright since I failed to make any notes of what I was doing so I might be able to backtrack, guess I was still trying to think of a way to fix my other computer without loosing my data, yea, only half backed up.
I'd found some directions to mount the Fat partition on another site this a.m. but must've copied them wrong. I think that's how I broke windows too so if anyone can help real simple instructions would be appreciated. I promise to write them down.
Thanks!
 
Old 02-19-2006, 10:05 PM   #2
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775

Rep: Reputation: 86
First of all, the terminal is Applications > Accessories > Terminal in Gnome, and it's in KMenu > System > Konsole in KDE. Once you open that up, that's where you type commands.

When you have it open, type this command:
Code:
sudo fdisk -l
It'll list all the partitions you have. One should be listed as FAT32. For the sake of this example, let's say it's /dev/hda2. Every time you see that bolded in the following instructions, replace it with the actual location.

Next, type these commands:
Code:
sudo umount /dev/hda2
sudo mkdir /windows_recovery
sudo cp /etc/fstab /etc/fstab_backup
sudo nano /etc/fstab
If there's already a line with /dev/hda2 in it, replace it with this one (if there's no line with /dev/hda2, just create it):
Code:
/dev/hda2 /windows_recovery vfat iocharset=utf8,umask=000 0 0
Then save (control-x), confirm (y), and exit (Enter). Finally, type
Code:
sudo mount -a
exit
Now if you go to the /windows_recovery folder, you should see your FAT partition.
 
Old 02-19-2006, 11:00 PM   #3
Klia
LQ Newbie
 
Registered: Jan 2006
Location: L.A. USA
Distribution: Ubuntu 5.10
Posts: 6

Original Poster
Rep: Reputation: 0
That was quick, thanks. I'll copy and paste your commands as written and let you know results, probably won't have time till tomorrow eve. though, didn't really expect such a quick reply.
I'm sorry about my terminology. I've spent most of the day trying to figure out how to fix windows (yea, probably not worth it, but it's become a challenge) and got my vocabulary mixed up.
Guess I better get on the ball and learn more about Linux so I won't need anything else.
 
Old 02-20-2006, 10:42 PM   #4
Klia
LQ Newbie
 
Registered: Jan 2006
Location: L.A. USA
Distribution: Ubuntu 5.10
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks Allot, worked as advertised.
Guess I still have a lot of homework to do though.
One last related question, will the same command sequence work to enable access to the windows NTFS partition or will a change be needed for "read only"?
Any further questions will hopefully be on a new subject so I'll open a new thread next time. I also plan to spend more time studying the Linux and Ubuntu user guides I've got bookmarked.
Thanks again.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
hdd type changed from "FAT32" to "win95 FAT32 lba" billgnu Linux - Newbie 4 12-12-2005 01:19 PM
hdd type changed from "FAT32" to "win95 FAT32 lba" billgnu Linux - General 1 12-11-2005 04:57 PM
Cedega from Fat32 (Invalid path "." given for "--use-dos-cwd") bdox Linux - Software 0 03-30-2005 11:24 AM
Lost DHCP Lease when putting computer in "Standby" mode for a "long" time pnellesen Linux - Networking 1 01-06-2005 11:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 01:41 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