Click to See Complete Forum and Search --> : Bootup error message


trekker
03-20-2001, 05:58 AM
Recently, I have message whenever RH7 boots up:
mount: wrong fs type, bad option, bad superblock on /dev/hda1, or too many mounted file systems
and
mount: wrong fs type, bad option, bad superblock on /dev/hda4, or too many mounted file systems (aren't you trying to mount an extendedpartition instead of some logical partition inside?)

What is wrong?

I ran scandisk under windoze. Initially, it detected bad sectors but when I used Partition Magic to retest the bad sectors, it 'reclaimed' the bad sectors (since it decided that the bad sectors were not bad after all) and subsequent scandisks did not detect the bad sectors anymore.

bdg1983
03-20-2001, 07:56 AM
Post the contents of your /etc/fstab.

'hda4' is the extended partition which contains all the logical partitions. It cannot be mounted since it is actually the 'holder' of the logical partitions.

yard21
03-20-2001, 07:59 AM
Hmm, I ithink it would help if you could post the content of your /etc/fstab and what harddrives you have in your PC and which partitions you have. Perhaps you just have a badly configured fstab.

trekker
03-20-2001, 10:44 AM
of course... silly me. Here it is:

LABEL=/ / ext2 defaults 1 1
LABEL=/boot /boot ext2 defaults 1 2
/dev/ /dosc vfat defaults 0 0
/dev/hda4 /dosd vfat defaults 0 0
LABEL=/home /home ext2 defaults 1 2
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
LABEL=/var /var ext2 defaults 1 2
none /proc proc defaults 0 0
none /dev/pts devpts gid=5,mode=620 0 0
/dev/hda7 swap swap defaults 0 0

Thanks for the help!

bdg1983
03-21-2001, 10:08 AM
I'm certainly not a fstab expert or familiar with some of the lines in yours.

First of all, hda4 (as previously stated) cannot be correct as it's the extended partition and not accessible. hda1, hda2, hda3 and then hda5 for the first logical partition within the extended.

Try to comment out the line in fstab

# /dev/hda4 /dosd vfat defaults 0 0

and see what happens.

Maybe run the linux version of fdisk and verify the partitions against what is listed in fstab.

Now if this is a new install, then I would suggest you perhaps repartition and reinstall unless someone else here can see where the problem is.

trekker
03-21-2001, 01:04 PM
Thanks!!

I'll try that out... must have messed it up when I shifted my partitions around using partition magic...