LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   cant mount windows (https://www.linuxquestions.org/questions/linux-general-1/cant-mount-windows-42873/)

watashiwaotaku7 01-26-2003 06:48 PM

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

Bert 01-26-2003 07:05 PM

What does fdisk give you:

fdisk -l /dev/hda

?

watashiwaotaku7 01-26-2003 07:20 PM

[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

michaelk 01-27-2003 12:10 PM

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.

watashiwaotaku7 01-27-2003 08:16 PM

[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

watashiwaotaku7 01-27-2003 09:57 PM

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?

acid_kewpie 01-28-2003 02:38 AM

add an "auto" to the options for that line

watashiwaotaku7 01-28-2003 09:57 AM

would the line look like this then? if not can you please provide an example?


mount -t -auto vfat /dev/hda5 /mnt/windows

acid_kewpie 01-28-2003 10:18 AM

sorry, i meant the line in /etc/fstab

michaelk 01-28-2003 01:13 PM

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 10:39 AM.