LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 05-31-2004, 12:32 PM   #1
Olle
Member
 
Registered: Nov 2003
Posts: 30

Rep: Reputation: 15
Partition problems


I wanted to create a FAT32 partition on my slave hard drive so I could reach it from windows. I used Mandrake's Diskdrake, and two partitions was created. These did not work for some reason. I installed Mdk 10 and I am telled at startup that they are bad, so they can't be mounted. If I remove them will I loose the data on the disk, right? Is there any whay to solve the problem?
 
Old 05-31-2004, 02:50 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Were the partitions only created or maybe they ware also formatted? Are they FAT32 or NTFS? Please also look into your /etc/fstab and if possible post the lines you have for them (they're on second disk - probably /dev/hdb, so the partitions are probably /dev/hdb1 and /dev/hdb5).

Last edited by Mara; 05-31-2004 at 02:51 PM.
 
Old 05-31-2004, 03:01 PM   #3
Olle
Member
 
Registered: Nov 2003
Posts: 30

Original Poster
Rep: Reputation: 15
Nothing was formatted. Diskdrake created one FAT32 partition and one smaller "auto" partition. The lines from the fstab file:

/dev/hdb2 /mnt/hd vfat defaults 0 0
/dev/hdb1 /mnt/hd1 auto defaults 0 0

Thanks for helping me Mara!
 
Old 05-31-2004, 03:20 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
If they're not formatted, they won't be mounted - the structure doesn't exist. Format the partitions from Windows and then MDK should be able to mount them (or format from MDK...).
 
Old 05-31-2004, 03:28 PM   #5
Olle
Member
 
Registered: Nov 2003
Posts: 30

Original Poster
Rep: Reputation: 15
But if the structure doesn't exist, does that mean that I can remove the partitions again without loosing the data?
 
Old 05-31-2004, 03:52 PM   #6
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
You can, if you have not copied anything important to them...But you can't copy if the partition is not formatted. I just don't know how to understand the 'loss of data', because it looks like there's no data on the two partitions.
 
Old 05-31-2004, 03:55 PM   #7
sharper
Member
 
Registered: Aug 2002
Location: MN USA
Distribution: slakware 9.0
Posts: 121

Rep: Reputation: 15
What data is there to loose? Unless you went into the partitions from Windows and wrote something to them there shouldn't be any data on the partitions to lose.
 
Old 05-31-2004, 04:08 PM   #8
Olle
Member
 
Registered: Nov 2003
Posts: 30

Original Poster
Rep: Reputation: 15
Listen here guys! I am new to Linux and I am not so good at partitions. This is what I did: I had 20 gig data on my slave disk. I had no partitions on it. And I could not reach it from Windows. So I tried to create a FAT32-partition on it without formatting anything. I didn't know that this can't be done. And when I installed Mdk10 I couln't reach the files on it.
 
Old 06-01-2004, 04:35 AM   #9
Olle
Member
 
Registered: Nov 2003
Posts: 30

Original Poster
Rep: Reputation: 15
Maybe the partitions was created on the free space of the disk? So that the partitions are empty and the information is outside? I'm just guessing.
 
Old 06-01-2004, 08:43 AM   #10
binidiot
Member
 
Registered: May 2004
Location: Spain
Distribution: Debian Woody, FreeBSD 5.2.1
Posts: 106

Rep: Reputation: 15
Olle. Do not know Mandrake or the patitioning tool u used, but if you have Windows loaded somewhere it should recognize a FAT partition. If windows doesnīt recognize it then you havenīt created a FAT partition. And probable just made a marker for the Mandrake partitioning program. If this is the case, and you havenīt run any formatting or "write to disk" functions you should be able to delete the "partition" and all will be the same as before you set it.
 
Old 06-01-2004, 11:49 AM   #11
Olle
Member
 
Registered: Nov 2003
Posts: 30

Original Poster
Rep: Reputation: 15
Well, I deleted the partition, but now the hard drive isn't recognized by the system. Should I reinstall Mdk?
 
Old 06-01-2004, 05:31 PM   #12
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
No. Don't reinstall. When you run from a console, as root (so after running 'su' command and typing in root password)
fdisk -l /dev/hdb
you should get something. It means the disk is seen (there's no reason to stop detecting a disk just because it has no partitions). Do you mean 'not detected' by not having a tab about the disk in Diskdrake?
 
Old 06-02-2004, 09:09 AM   #13
Olle
Member
 
Registered: Nov 2003
Posts: 30

Original Poster
Rep: Reputation: 15
Now I have detected it. But I can't reach the files. Diskdrake only shows the empty space of the disk. I think I'm gonna let a computer store fix this for me. I'm not skilled enough to use Partition Magic or any of these programs. But thanks for the help!
 
  


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
partition problems jespr Linux - Newbie 6 10-13-2005 02:59 AM
partition problems in FC@ spookyechc Fedora 1 10-14-2004 10:35 AM
Partition problems DarkSun4241 Linux - Newbie 4 08-04-2004 04:20 PM
Partition problems mistahemu Linux - General 1 03-31-2003 10:30 AM
help! partition problems! Aman9090 Linux - Newbie 1 09-20-2002 06:03 PM

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

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