LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-26-2003, 06:48 PM   #1
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Rep: Reputation: 30
cant mount windows


I just upgraded my kernel to 2.4.20 from 2.4.19-16mdk i made sure to select support for all filesystems having to do with microsoft fat or vfat but now i cannot find my windows drive its windows XP and fat 32

heres my fstab

/dev/hda5 / ext3 noatime 1 1
none /dev/pts devpts mode=0620 0 0
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/hda7 /mnt/hda7 ext3 noatime 1 2
/dev/hdb1 /mnt/hdb1 ext3 noatime 1 2
/dev/hda1 /mnt/windows vfat iocharset=iso8859-1,codepage=850,umask=0 0 0
none /proc proc defaults 0 0
/dev/hda6 swap swap defaults 0 0

-thanks
 
Old 01-26-2003, 07:05 PM   #2
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
What does fdisk give you:

fdisk -l /dev/hda

?
 
Old 01-26-2003, 07:20 PM   #3
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Original Poster
Rep: Reputation: 30
[root@localhost root]# fdisk -l /dev/hda

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

Device Boot Start End Blocks Id System
/dev/hda1 * 1 1568 12594928+ c Win95 FAT32 (LBA)
/dev/hda2 1569 4863 26467087+ f Win95 Ext'd (LBA)
/dev/hda5 1569 4086 20225803+ 83 Linux
/dev/hda6 4756 4863 867478+ 82 Linux swap
/dev/hda7 4087 4755 5373679+ 83 Linux

Partition table entries are not in disk order
 
Old 01-27-2003, 12:10 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,750

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
From you fstab your windows partition is supposed to mount on boot. The mount command with no options will display whats mounted. Is it mounted? I take it no files are displayed in the /mnt/windows directory?

You might want to try mounting the partition using the mount
command.
 
Old 01-27-2003, 08:16 PM   #5
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Original Poster
Rep: Reputation: 30
[root@localhost root]# mount
/dev/hda5 on / type ext3 (rw,noatime)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw,mode=0620)
/dev/hda7 on /mnt/hda7 type ext3 (rw,noatime)
/dev/hdb1 on /mnt/hdb1 type ext3 (rw,noatime)



[root@localhost root]# mount /mnt/windows
mount: wrong fs type, bad option, bad superblock on /dev/hda1,
or too many mounted file systems


those are the errors i get
 
Old 01-27-2003, 09:57 PM   #6
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Original Poster
Rep: Reputation: 30
i got it to mount by typing

[root@localhost root]# mount -t vfat /dev/hda1 /mnt/windows

but cant reboot right now does anyone know if now that i have it mounted it will mount all the time at boot or will i have to mount this every time?

if so then how do i set it to mount every time?
 
Old 01-28-2003, 02:38 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
add an "auto" to the options for that line
 
Old 01-28-2003, 09:57 AM   #8
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Original Poster
Rep: Reputation: 30
would the line look like this then? if not can you please provide an example?


mount -t -auto vfat /dev/hda5 /mnt/windows
 
Old 01-28-2003, 10:18 AM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
sorry, i meant the line in /etc/fstab
 
Old 01-28-2003, 01:13 PM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,750

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
like this
/dev/hda1 /mnt/windows vfat auto,iocharset=iso8859-1,codepage=850,umask=0 0 0
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mount windows drive davholla Linux - General 15 01-01-2010 10:59 PM
NFS mount of smb mount of windows share: permission denied problem :( Bagatur Linux - Networking 4 07-07-2009 11:34 AM
mount: unknown filesystem type 'ntfs' when trying to mount windows drive... DiZASTiX Linux - Hardware 12 09-28-2008 07:29 PM
How to Mount windows' HD? sanmartin Linux - Hardware 6 02-01-2005 05:01 PM
mount windows error403 Linux - Hardware 4 09-15-2003 08:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:37 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