LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-12-2004, 07:05 PM   #1
glenn69
Member
 
Registered: Jul 2003
Location: Chicagoland
Distribution: ArchLinux
Posts: 261

Rep: Reputation: 32
Question Why can't I mount this drive?


I am trying to mount a windows drive that I used to be able to access.

When I try to mount as usual I get this error:

mount: wrong fs type, bad option, bad superblock on /dev/hda5,
or too many mounted file systems

What does this mean?
 
Old 06-12-2004, 07:26 PM   #2
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
It means you need to tell the command what type of filesystem is on the drive.'

Try mount -t msdos /dev/hda5 /mnt

Or whatever... the -t flag might be different based on what format the windows drive is in. Is the drive compressed or anything?
 
Old 06-12-2004, 08:32 PM   #3
glenn69
Member
 
Registered: Jul 2003
Location: Chicagoland
Distribution: ArchLinux
Posts: 261

Original Poster
Rep: Reputation: 32
I tried mount -t msdos /dev/hda5 /mnt, and received the same error.

Now what
 
Old 06-12-2004, 08:49 PM   #4
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
What filesystem type is the windows partition? You might substitute vfat or ntfs accordingly.

Are you still able to boot into the windows partition? Have you made any changes lately?
 
Old 06-12-2004, 09:20 PM   #5
glenn69
Member
 
Registered: Jul 2003
Location: Chicagoland
Distribution: ArchLinux
Posts: 261

Original Poster
Rep: Reputation: 32
I am not able to boot to the windows partition, my lilo hangs with DOS loading then L?

I have not made changes, however I tried a homemade Knoppix CD, it hung when I tried to boot from it. Now I cannot boot to my Windows option from lilo.
 
Old 06-14-2004, 08:47 PM   #6
glenn69
Member
 
Registered: Jul 2003
Location: Chicagoland
Distribution: ArchLinux
Posts: 261

Original Poster
Rep: Reputation: 32
I switched to GRUB and when I try to boot to Windows I get this error:

Booting 'DOS'

rootnoverify (hd0,0)
chainloader +1

Loading stage2Read Error

What does this mean?
 
Old 06-14-2004, 08:49 PM   #7
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381

Rep: Reputation: 47
try posting ur grub
 
Old 06-14-2004, 10:25 PM   #8
glenn69
Member
 
Registered: Jul 2003
Location: Chicagoland
Distribution: ArchLinux
Posts: 261

Original Poster
Rep: Reputation: 32
what file exactly should i post, and where is it located?
 
Old 06-14-2004, 10:28 PM   #9
glenn69
Member
 
Registered: Jul 2003
Location: Chicagoland
Distribution: ArchLinux
Posts: 261

Original Poster
Rep: Reputation: 32
This is my grub.conf"

#boot=/dev/hda
default=0
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
root (hd1,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.20-8.img
title DOS
rootnoverify (hd0,0)
chainloader +1
 
Old 06-14-2004, 10:42 PM   #10
kevinalm
Member
 
Registered: Oct 2003
Location: Iowa
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288

Rep: Reputation: 30
Looks like knoppix messed up grub in the mbr of the windows drive. Boot rh install cd #1 into rescue mode and:

grub
root (hd1,0)
setup (hd0)
quit

then reboot.
 
Old 06-15-2004, 09:48 PM   #11
glenn69
Member
 
Registered: Jul 2003
Location: Chicagoland
Distribution: ArchLinux
Posts: 261

Original Poster
Rep: Reputation: 32
I used the RH9 in rescue mode then:

grub
root (hd1,0)
setup (hd0)
quit

rebooted and the same thing happened

this is my fdisk -l listing if it helps

Disk /dev/hda: 30.7 GB, 30750031872 bytes
255 heads, 63 sectors/track, 3738 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 2537 20378421 c Win95 FAT32 (LBA)
/dev/hda2 2538 3738 9647032+ f Win95 Ext'd (LBA)
/dev/hda5 2538 3738 9647001 b Win95 FAT32

Disk /dev/hdb: 10.2 GB, 10262568960 bytes
255 heads, 63 sectors/track, 1247 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 13 104391 83 Linux
/dev/hdb2 14 1117 8867880 83 Linux
/dev/hdb3 1118 1247 1044225 82 Linux swap
 
Old 06-15-2004, 10:17 PM   #12
kevinalm
Member
 
Registered: Oct 2003
Location: Iowa
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288

Rep: Reputation: 30
Hmmm... odd.

root (hd1,0) points grub to look for menu.lst, stage files etc. in /dev/hdb1, which I presume is your /boot.

setup hd(0) then installs the grub first stage bootloader (encoded with this pointer) into the mbr of /dev/hda.


I'm not quite certain what the stage2 error refers to. I think that it refers to a copy of the dos/win stage1 bootloader (in other words the original mbr) that is saved when grub is originally installed. Possibly that is corrupt. If you have a win95 boot disk with ms fdisk on it then you might try doing fdisk /mbr

then do the

grub
root (hd1,0)
setup (hd0)
quit

again. That should put things back in order if that is the problem. Another possibility is that the stage2 file in /boot/grub/ is corrupt. A clean copy of this file should be on your system, try /usr/share/grub or something like that. Try replacing the one in /boot/grub.
 
Old 06-15-2004, 10:50 PM   #13
glenn69
Member
 
Registered: Jul 2003
Location: Chicagoland
Distribution: ArchLinux
Posts: 261

Original Poster
Rep: Reputation: 32
I'm not sure it is a GRUB problem as I cannot mount the partitions in Windows manually either. If GRUB were pointing to the wrong place I would think I could still manually mount.

That being said...I tried what you suggested, fdisk /mbr redid everything...no change

The only other grub.conf around was in /etc and that was identical to my /boot/grub/ version.

I'm truly confused. And I thought Knoppix was so innocent and friendly.....
 
Old 06-16-2004, 01:34 AM   #14
kevinalm
Member
 
Registered: Oct 2003
Location: Iowa
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288

Rep: Reputation: 30
I'm a little confused here. I thought you were unable to boot windows via grub. That was what I was trying to solve. Maybe it would be a good idea if you would describe the current state of your problems. What works/what doesn't.
 
Old 06-16-2004, 08:56 PM   #15
glenn69
Member
 
Registered: Jul 2003
Location: Chicagoland
Distribution: ArchLinux
Posts: 261

Original Poster
Rep: Reputation: 32
Actually I cannot mount the partitions at all any more. Even when I ran DOS command fdisk /mbr, it would not boot into Windows.

I am assuming that the error is beyond grub, in other words even if grub did everything correctly the partition would not boot.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mount: unknown filesystem type 'ntfs' when trying to mount windows drive... DiZASTiX Linux - Hardware 12 09-28-2008 07:29 PM
Mount usb drive, umount and mount another drive arubin Linux - Hardware 9 01-17-2007 03:46 AM
USB drive mount double mount issue pazzport Ubuntu 3 10-10-2005 08:28 PM
DVD Drive and CDRW Drive Will not mount on Slackware 10.1 Kernel 2.6.1 necrozen Linux - Hardware 1 09-13-2005 08:21 PM
HELP! Error from mount: drive is write-protected... won't mount writeable. system Linux - General 2 12-27-2001 09:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration