On Sunday 08 July 2001 13:17, Maxim Heijndijk wrote:
> I used to be able to mount my ext2 partitions from Windows.
> The past half year I tried reiserfs, which gave me problems, so I'm
> back to ext2 again. However, I cannot mount my ext2 partitions from
> Windoze anymore.
>
> This is the output of fdisk -l /dev/hda :
>
> Disk /dev/hda: 255 heads, 63 sectors, 784 cylinders
> Units = cylinders of 16065 * 512 bytes
>
> Device Boot Start End Blocks Id System
> /dev/hda1 * 1 196 1574338+ 6 FAT16
> /dev/hda2 197 784 4723110 85 Linux extended
> /dev/hda5 197 392 1574338+ 83 Linux
> /dev/hda6 393 405 104391 82 Linux swap
> /dev/hda7 406 758 2835441 83 Linux
> /dev/hda8 759 784 208813+ 83 Linux
>
> It seems that the Mandrake-8.0 Installer (diskdrake) created an extended
> partition on hda2. Shouldnt that be hda5 ? I thought hda1-4 could only
> be primary partitions. Is there a way to change this without losing my data
> ?
Whoa!!!!!
Here is how it works
The first sector on the disk has some OS pointers and then at byte 446 starts
the partition table. There are 4 16-byte entries and then two signature
bytes at 510 and 511.
If there are to be any extended partitions, one of those entries has to point
to the first sector of the extended partition.--this is like hda2.
Now in the first sector of partition 2, there are two entries. One points to
the beginning of hda5(physical data), and the other to the next extended
partition, (hda6), where the process is repeated int the first sector of that
partition and so on...
One of the flaws of 7.2 is that if you make an extended partition with no
physical partitions inside, diskdrake will say your partition table is
invalid and offer you a blank one--that's because the first sector of the
extended partition contains formatting characters or random data. We have
closed that hole in 8.0 Diskdrake now complains but then recovers the table.
explore2fs or similar programs should be able to see your linux partitions,
if you have the latest versions that support sparse superblocks.
Civileme