LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-17-2001, 07:27 PM   #1
BetaLord
LQ Newbie
 
Registered: Dec 2001
Posts: 3

Rep: Reputation: 0
Unhappy After installing Mandrake 7.1 - I can't see two out of four FAT partitions


I am completly new to linux ...
OK, the story:
I have two disks and four partitions.
They are all FAT (C:, D:, E: and F:).
I have windows installed on F:.
I had 750MB unallocated space on my second disk.

The problem:
When I've installed mandrake 7.1, F: and E: dissapered.
I booted with my win98 rescue diskette, but E: and F:
dissapered in DOS. I run partition magic. There is no fat anymore,
but TYPE 85 (F: and E:).
When I start LILO and when I select option "windows" it
wouldn't start - because windows are on F: and F: is no more
there, it doesn't find WIN.COM.
In linux, I found all four FAT partitions under /mnd/win_xx.
xx= c, c2, d and d2. d2 is F: and all files from F: are in /mnd/win_d2. They are all marked as FAT partitions (in LINUX!).

OK, I wasn't playing with setup, i've only chosen
AUTOMATIC SETUP and AUTO ALLOCATE (when it asked me
about partitions).
As i could saw in setup, it didn't touched my windows partitions.
(It only took that 750MB of space, I guess)

SO, the question ...
How do I "unhide" F: and E: and what has linux done to this
partitions at all?

Please answer me soon ...

Thank you
*Tomaž
 
Old 12-17-2001, 07:34 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Do you still have all four when booting with a windows boot disk?

C: and E: are probably on one drive and D: and F: are probably on the other.

LILO may think windows is on C:

which is probably hda1

you would have to edit /etc/lilo.conf to change the windows partition to something like hdb5

however to see what it should be you need to run fdisk /dev/hdb

then hit p

you will see a list, if windows is on the last fat drive it will be the last fat drive in the list

Last edited by DavidPhillips; 12-17-2001 at 07:45 PM.
 
Old 12-18-2001, 02:06 PM   #3
BetaLord
LQ Newbie
 
Registered: Dec 2001
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by DavidPhillips
Do you still have all four when booting with a windows boot disk?

C: and E: are probably on one drive and D: and F: are probably on the other.

LILO may think windows is on C:

which is probably hda1

you would have to edit /etc/lilo.conf to change the windows partition to something like hdb5

however to see what it should be you need to run fdisk /dev/hdb

then hit p

you will see a list, if windows is on the last fat drive it will be the last fat drive in the list
OK, it is like this: First disk is hda, second disk is hdc
(hdb is CDROM). C: and E: are two partitions of first disk,
D: and F: are two partitions of the second disk. Why not C + D
and E + F I don't know, but it always was so and it was always OK (Letters doesn't matter). When I installed Mandrake, E and
F dissapered, those are both second partitions, each on its
own disk. In linux I can see both partitions (/mnt/win_x .. x = c,
c2,d and d2 -> d2 = F:) and I can ofcourse access files normally.
Linux says, that these partitions are all vfat (FAT 32 or 16). But
When I use WIN98 Boot diskette, There is no F: and E:.
There is only C: and D: (And E: for CD-ROM). I tried different
system diskettes, it doesn't matter. If I run windows from LILO,
it first says that there are some errors in CONFIG.SYS (which is
in C:) and then it finally says, that WIN.COM cannot be found.
I tried PARTITION MAGIC (5.0) and it didn't found those two
partitions as FAT. It found 3gb big partition with TYPE 85 (->ext2)
file system. That is F: (2.3gb) + 750MB that was unallocated
before setup and are now used for linux partitions (/, /home,
swap). E: is also marked
as TYPE 85. But like I said, I can see normal FAT partitions in
Linux and I can access files as well (and I wasn't playing with
config files, I only picked automatic setup and everything
automatic or default - Because this was my first time installing
linux and I don't know nothing about it).

And I've run fdisk /dev/hdx and all that stuff
(my friend guided me by the phone) but the problem is
not where windows are, but that F: and E: are not
visible under DOS (consequence is that I cannot run windows).

Any ideas how to fix that?

*Tomaž

(excuse me for my poor english ...)

Last edited by BetaLord; 12-18-2001 at 02:13 PM.
 
Old 12-19-2001, 02:18 PM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
E and F are extended partitions, C and D are primary partitions, that's why they are labeled that way.

Something seems to have happened to the extended partitions. I suspect you may have more than one primary partition on each drive and that is somehow preventing windows from seeing them. If you can mount them in linux, one way to fix it would be to backup the data on E and F and remove the partitions using linux fdisk and create the partitions again with windows fdisk, then put the data back on them.

Last edited by DavidPhillips; 12-24-2001 at 10:43 AM.
 
Old 12-23-2001, 05:16 AM   #5
BetaLord
LQ Newbie
 
Registered: Dec 2001
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by DavidPhillips
E and F are extended partitions, C and D are primary partitions, that's why they are labeled that way.

Something seems to have happened to the extended partitions. I suspect you may more than one primary partition on each drive and that is somehow preventing windows from seeing them. If you can mount them in linux, one way to fix it would be to backup the data on E and F and remove the partitions using linux fdisk and create the partitions again with windows fdisk, then put the data back on them.
It's ok, I've just fixed it (with help of a guy from irc).
I had to change hda2 from "linux extended"to "extended"(fat).
Then I saw E:. I did the same thing on hdc, but it didn't worked.
Then I run partition magic 7.0 (from boot disketts) and it said,
that there is an error with extended partition on second disk and it fixed it. From then on I saw F: as well (but before I had to do that linux extended to normal extended thing on hdc as well)

Thanks for help

*Tomaž

Last edited by BetaLord; 12-23-2001 at 05:17 AM.
 
  


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
How do I view FAT partitions in FC4? Navyblue Linux - Newbie 13 07-20-2005 12:00 AM
mounting fat 32 partitions scarryharry Fedora 1 03-31-2005 02:47 PM
Accessing Fat/NTFS partitions satinet Linux - General 3 09-03-2004 02:16 PM
Accessing FAT partitions? fusion1911 Slackware 8 11-16-2003 02:46 PM
Can't see files in mounted fat partitions mcfly420 Slackware 4 05-29-2003 03:23 AM


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