Pixel wrote:

"John Danielson, II" <[EMAIL PROTECTED]> writes:


Any system that has EVER had a file system with Windows or DOS on it has the
following part structure.

Part #s 1-4 can be primary.
Part #5 is always an extended part table to hold logical drives.
Parts 6 and up can be logicals.

it really seems like we can't agree on terminology or ???

% fdisk -l /dev/sda

[...]

Device Boot Start End Blocks Id System
/dev/sda1 1 2 16033+ 83 Linux
/dev/sda2 * 3 263 2096482+ 83 Linux
/dev/sda3 264 276 104422+ 83 Linux
/dev/sda4 277 1106 6666975 5 Extended
/dev/sda5 277 340 514048+ 83 Linux
/dev/sda6 341 353 104391 82 Linux swap
...
/dev/sda11 1013 1106 755023+ 83 Linux

parts #5-#11 are included in #4



And Windows allows for 4 primaries, not 3. So a mixed system or a migrators system will have a mess.

You are using SCSI, me IDE also.

fdisk -l /dev/hda

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

Device Boot Start End Blocks Id System
/dev/hda1 * 1 1021 8201151 83 Linux
/dev/hda2 1022 9729 69947010 f Win95 Ext'd (LBA)
/dev/hda5 1022 1071 401593+ 82 Linux swap
/dev/hda6 2960 3980 8201151 83 Linux
/dev/hda7 1072 2959 15165297 83 Linux
/dev/hda8 3981 5313 10707291 83 Linux
/dev/hda9 5314 8513 25703968+ 83 Linux
/dev/hda10 8514 8901 3116578+ 83 Linux
/dev/hda11 8902 9729 6650878+ 83 Linux

Partition table entries are not in disk order
[root@ root]# fdisk -l /dev/hdb
omitting empty partition (5)

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

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 648 5205028+ 83 Linux
/dev/hdb2 649 698 401625 82 Linux swap
/dev/hdb3 699 4865 33471396 f Win95 Ext'd (LBA)
/dev/hdb5 700 1606 7285414+ 83 Linux
/dev/hdb6 1607 2368 6120702 83 Linux
/dev/hdb7 2369 4865 20057121 83 Linux
[root@ root]# fdisk -l /dev/hdd

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

Device Boot Start End Blocks Id System
/dev/hdd1 1 1021 8201151 b Win95 FAT32
[root@ root]#

where anything based on DOS or Windows sticks the extended is based on how many Primaries there are:

What fdisk saw on theHD after diskdrake was done as I described was:
hda1 /
hda4 Extended
hda5 /cookermirror (type unknown)
as in /etc/fstab
but hda5 was unformatted and marked as Ext2 when I told Diskdrake to use Ext3

here is the /etc/fstab

[root@ root]# cat /etc/fstab
/dev/hdb1 / ext3 defaults 1 1
# /dev/hda5 /Cookermirror ext3 noauto 1 2
none /dev/pts devpts mode=0620 0 0
/dev/hdb7 /home ext3 defaults 1 2
none /mnt/cdrom supermount dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,sync,codepage=850,umask=0 0 0
/dev/hdd1 /mnt/hd auto user,iocharset=iso8859-1,kudzu,codepage=850,noauto,umask=0,exec 0 0
/dev/hda1 /newslash ext3 defaults 1 2
none /proc proc defaults 0 0
none /tmp tmpfs defaults 0 0
/dev/hdb6 /usr ext3 defaults 1 2
/dev/hdb5 /var ext3 defaults 1 2
/dev/hdb2 swap swap defaults 0 0
[root@ root]#

The commented line is what I had to pull to get the machine to boot past an ext2 fsck that said it could not find a superblock when I tried to boot the machine into Linux.

BTW, Supermount WORKS on this P4 box, even in stock Mandrake 9.0.

I was trying to use Diskdrake from the GUI when this happened, as any newbie would.

John.









Reply via email to