Click to See Complete Forum and Search --> : Accessing a partition from both Linux and Win98


Zurd
12-29-2000, 06:53 PM
So I've got my system set up dual booting RH7 and Win98. Hard drives are partitioned like this:

hda [swap][linux][ empty space ]
hdb [win98 boot][FAT32 storage partition ]

I've got it booting both OSes fine, (Getting Win98 to boot off of the slave disk was tricky, but I found out how in redhat's docs) and I can mount the Win98 partitions on hdb in RH and see them okay, but here's my question:

How do I partition the empty space on hda and make it so I can use it from both Win98 and RH? I just wanna use it for media storage.

I've fdisked it from RH and formatted it in Win98, but RH gives an error when I try to mount it. I tried fdisking and formatting it from Win98 but it screwed up my RH partition and I had to reinstall. Can anybody shed some light?

Thanks,
Zack



------------------
http://asymmetric.net/ - Chicken Soup for the Autistic Savant's Soul

bugfix
12-29-2000, 07:04 PM
Create directories for the partitions to be mounted in (normally sub-directories of /mnt) and then issue the following commands:


mount /dev/hda1 /mnt/<insert directory name> -t vfat

mount /dev/hda2 /mnt/<insert directory name> -t vfat


The first line is for the boot partition, the other is for your storage partition.

You can also add lines to the fstab file in the /etc directory so the partitions are automatically mounted on boot. Use the same formatting as the other entries or consult 'man fstab' for help.

TTFN

Zurd
12-29-2000, 07:37 PM
This doesn't work, though. The fat32 partitions on hdb all mount fine, but when I try to apply the same tactic to the partition on hda, it gives me an error to the effect that there's no valid filesystem on hda6 (which is the partition I'm trying to mount, obviously.) or that there are too many filesystems mounted.