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 |
What does fdisk give you:
fdisk -l /dev/hda ? |
[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 |
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. |
[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 |
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? |
add an "auto" to the options for that line
|
would the line look like this then? if not can you please provide an example?
mount -t -auto vfat /dev/hda5 /mnt/windows |
sorry, i meant the line in /etc/fstab
|
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. |