LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   RH9 Mount Problem (https://www.linuxquestions.org/questions/linux-software-2/rh9-mount-problem-93013/)

davnetuk 09-15-2003 10:05 AM

RH9 Mount Problem
 
Ok... i have successfully mounted partitions in RH9 before on my desktop. I have now installed RH9 on my laptop, so its dual-boot with XP (FAT32).

I just can't seem to mount my XP partition..
Here is what I did in konsole...
-----------------------------------------------------------------------------------------
[root@localhost root]# fdisk -l

Disk /dev/hda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 742 4864 33117997+ c Win95 FAT32 (LBA)
/dev/hda2 1 548 4401778+ 83 Linux
/dev/hda3 549 676 1028160 83 Linux
/dev/hda4 677 741 522112+ 5 Extended
/dev/hda5 677 740 514048+ 82 Linux swap

Partition table entries are not in disk order
[root@localhost root]# mount /dev/hda1 /mnt/xp
mount: mount point /mnt/xp does not exist
-----------------------------------------------------------------------------------------

This is how my FSTAB looks...

-----------------------------------------------------------------------------------------
LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
LABEL=/home /home ext3 defaults 1 2
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda5 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/hda1 /mnt/xp vfat auto,ro,umask=0222 0 0
-----------------------------------------------------------------------------------------

I have tried a number of combinations for the last part of my /dev/hda1 entry that include: auto,user,umask=0000

One thing I have noticed is that in the fdisk -i command... there is an asterix in the hda1 partition, I'm sure its nothing but u never know! Also... the FAT32 partition appears to have LBA mapping, this normal?

Maybe... I'm just not meant to access anything MS anymore!

win32sux 09-15-2003 10:49 AM

[root@localhost root]# mount /dev/hda1 /mnt/xp
mount: mount point /mnt/xp does not exist

this would tell me that you need to create directory /mnt/xp

mkdir /mnt/xp

mount -t vfat /dev/hda1 /mnt/xp

davnetuk 09-15-2003 11:06 AM

Legend, absolute legend.

God knows how i forgot to do that, cheers dude.

win32sux 09-15-2003 11:07 AM

as for the fstab, i'm not an expert, but something like this should probably work:

/dev/hda1 /mnt/xp vfat defaults 0 0

the asterisk you see is in the fdisk list is in the boot column so i think it just means that the partition is bootable or something...

davnetuk 09-15-2003 11:29 AM

My FSTAB was fine as it was, I just forgot to make the directory, lol.

Cheers anyway.


All times are GMT -5. The time now is 12:07 PM.