Disk Partitioning Problem

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Victor Odhner
Date:  
To: plug-discuss
Subject: Disk Partitioning Problem
Problem: Windows can't see FAT32 partitions that I created
under Linux using parted. What step did I skip?

I have a new Western Digital 80GB IDE hard disk as /dev/hdc
on my dual-boot system and have created a bunch of FAT32
partitions using parted. Some of these will become ext2
later on, but I want to get any Windows setup out of the
way first so that the Windows tools won't screw up my
Linux partitions.

But Win98 only sees one big partition. Parted and fdisk
displays are at the end of this message.

Maybe I have missed a step in my setup. Maybe my BIOS
auto-detect needs to be overridden. It tells me I have
80 GB, 38309 Cylinders, 16 heads and 255 sectors.
I understand that Linux does not use the BIOS.
Do I need to set some parameters that will line up with
what Windows will see?

Windows has no problem with another hard disk on the same
box that has interleaved ext2 and FAT32 partitions,
including one FAT32 that is 11GB. That disk was totally
set up using this same version of Linux and parted.

I'm still on Red Hat 8.

Of course I could partition it with Win98's FDISK, but
that would be a cop-out. Anyway, I'm sure I'm just
overlooking some stupid detail.

TIA,

Vic

(Read on for gory details)
________________________________________________

When I go to Win98 and run Fdisk, I get this:
_____________________________________________
                     Display Partition Information
  Current fixed disk drive: 3
  Partition  Status   Type    Volume Label  Mbytes   System   Usage
      1         A    Non-DOS                 8025               74%
  Total disk space is 10781 Mbytes (1 Mbyte = 1048576 bytes)
______________________________________________


Note that we are seeing some 100 GB here as "Total disk space", and
the full 80 GB as the size of the one partition.

Here's what "parted" looks like:
_____________________________________________
GNU Parted 1.4.24
Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation,
- - -
Using /dev/hdc
Information: The operating system thinks the geometry on /dev/hdc
is 9729/255/63.  Therefore, cylinder 1024 ends at 8032.499M.
(parted) p
Disk geometry for /dev/hdc: 0.000-76319.085 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem  Flags
1          0.031   4000.561  primary   FAT         lba
2       4000.562   8001.123  primary   FAT         lba
3       8001.123  76316.594  extended              lba
5       8001.154  29996.367  logical   FAT         lba
6      29996.398  49999.174  logical   FAT         lba
7      49999.206  76316.594  logical   FAT         lba
(parted)
__________________________________________________


uname -a:
Linux localhost.localdomain 2.4.18-14 #1 Wed Sep 4 12:13:11 EDT 2002
i686 athlon i386 GNU/Linux
__________________________________________________

Here's what Linux fdisk says about this disk:
__________________________________________________

Disk /dev/hdc: 255 heads, 63 sectors, 9729 cylinders
Units = cylinders of 16065 * 512 bytes

    Device Boot    Start       End    Blocks   Id  System
/dev/hdc1             1       510   4096543+   c  Win95 FAT32 (LBA)
/dev/hdc2           511      1020   4096575    c  Win95 FAT32 (LBA)
/dev/hdc3          1021      9729  69955042+   f  Win95 Ext'd (LBA)
/dev/hdc5          1021      3824  22523098+   c  Win95 FAT32 (LBA)
/dev/hdc6          3825      6374  20482843+   c  Win95 FAT32 (LBA)
/dev/hdc7          6375      9729  26949006    c  Win95 FAT32 (LBA)
__________________________________________________


By comparison, Linux fdisk gives me this for /dev/hdb which is
40GB and is working just fine. Parted set this one up too:
__________________________________________________

Disk /dev/hdb: 255 heads, 63 sectors, 4998 cylinders
Units = cylinders of 16065 * 512 bytes
    Device Boot    Start       End    Blocks   Id  System
/dev/hdb1   *         1       307   2465946    c  Win95 FAT32 (LBA)
/dev/hdb2           308       316     72292+  82  Linux swap
/dev/hdb3           317      1500   9510480   83  Linux
/dev/hdb4          1501      4998  28097685    f  Win95 Ext'd (LBA)
/dev/hdb5          1501      3414  15374173+  83  Linux
/dev/hdb6          3415      4870  11695288+   c  Win95 FAT32 (LBA)
/dev/hdb7          4871      4998   1028128+   c  Win95 FAT32 (LBA)
_____________________________________________



---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss