[ale] Using Extended and Logical partitions

Joe Bayes jbayes at cs.oberlin.edu
Thu May 23 10:17:43 EDT 1996


I want to partition my drive into 5 partitions, but Linux will only
let me creat 4 primary partitions. It is my understanding that the way
to create 5 partitions is to create 3 primary partitions, and one
extended partition, then create 2 more logical partitions on that
extended partition. 

Having done the above, I stuck partition 5 in /etc/fstab, and
rebooted. Linux decided that partition 5 had a bad superblock, and
wanted me to e2fsck it. I tried doing so, with no luck. The same thing
happenned with partition 6. When I try to mount the partition by hand,
the following happens:

spoo:~# mount /home
mount: wrong fs type or bad superblock on /dev/sda5

I sorta doubt that sda5 has a bad superblock, since this also happens
with partition 6, and happenned again when I deleted partitions 4, 5,
and 6 and re-created them. Has anybody ever had any problems with this
before? If not, can anybody think of a better place to look for a
solution? 

Thanks a bunch.

--joe

Possibly relevant files follow:

/etc/fstab:
/dev/sda1	/dosc		msdos	defaults	1	2
/dev/sda2	/		ext2	defaults	1	1
/dev/sda3	swap		swap	defaults	1	2
/dev/sda5	/home		ext2	defaults	1	2
/dev/sda6	/usr/local	ext2	defaults	1	2
none		/proc		proc	defaults	1	2

Output of fdisk's printing out partition table:

Disk /dev/sda: 53 heads, 62 sectors, 1019 cylinders
Units = cylinders of 3286*512 bytes

   Device Boot	Begin	Start	End	Blocks	id	System
/dev/sda1	1	1	156	256277	6	DOS 16-bit >=32M
/dev/sda2  *	157	157	281	205375	83	Linux native
/dev/sda3	282	282	344	103509	82	Linux swap
/dev/sda4	345	345	1019	1109025	5	Extended
/dev/sda5	345	345	656	512585	83	Linux native
/dev/sda6	657	657	1019	596378	83	Linux native






More information about the Ale mailing list