[ale] Using Extended and Logical partitions

Mark J. Reed mark.reed at sware.com
Thu May 23 10:22:51 EDT 1996


Did you ever actually make a filesystem on sda5 or sda6 via mke2fs? If
not, then there's nothing there to mount.

\ 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
\ 
\ 




--
Mark J. Reed                     |             http://www.sware.com
Email: mark_reed at secureware.com  |  HP Internet/System Security Lab
Voice: +1 404 315 6296 x158      |      2957 Clairmont Rd Suite 220
Fax  : +1 404 315 6407           |        Atlanta GA 30329-1647 USA






More information about the Ale mailing list