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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-26-2003, 07:48 PM
|
#1
|
Member
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654
Rep:
|
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
|
|
|
01-26-2003, 08:05 PM
|
#2
|
Senior Member
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004
Rep:
|
What does fdisk give you:
fdisk -l /dev/hda
?
|
|
|
01-26-2003, 08:20 PM
|
#3
|
Member
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654
Original Poster
Rep:
|
[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
|
|
|
01-27-2003, 01:10 PM
|
#4
|
Moderator
Registered: Aug 2002
Posts: 26,272
|
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.
|
|
|
01-27-2003, 09:16 PM
|
#5
|
Member
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654
Original Poster
Rep:
|
[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
|
|
|
01-27-2003, 10:57 PM
|
#6
|
Member
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654
Original Poster
Rep:
|
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?
|
|
|
01-28-2003, 03:38 AM
|
#7
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
add an "auto" to the options for that line
|
|
|
01-28-2003, 10:57 AM
|
#8
|
Member
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654
Original Poster
Rep:
|
would the line look like this then? if not can you please provide an example?
mount -t -auto vfat /dev/hda5 /mnt/windows
|
|
|
01-28-2003, 11:18 AM
|
#9
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
sorry, i meant the line in /etc/fstab
|
|
|
01-28-2003, 02:13 PM
|
#10
|
Moderator
Registered: Aug 2002
Posts: 26,272
|
like this
/dev/hda1 /mnt/windows vfat auto,iocharset=iso8859-1,codepage=850,umask=0 0 0
|
|
|
All times are GMT -5. The time now is 05:05 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|