[UCLA-LUG] (no subject)

Justin justin@cs.ucla.edu
Tue, 23 May 2000 12:18:59 -0700


On Tue, May 23, 2000 at 10:56:57AM -0700, Eric Hu wrote:
>Hi, thinks for the ppp reply although I still didn't work out yet. Now I 
>have another question, that is, how I can mount linux from win98 and vice 
>versa. Thanks.

Mounting Win98 partitions in Linux is cake.  As root type:
mount -t type /dev/hd.. /mount-point
replace type with whatever partition type it is (FAT32 is vfat, and FAT16 is
msdos, "Linux" is ext2).

replace /dev/hd.. with whatever partition Windows is on.  Here's how they're
numbered:
1st disk = hda
2nd disk = hdb
3rd disk = hdc
... you get the idea.  After that put the partition # from the disk, which will
always be 1 if you're talking about C: in Win98.

now replace mount-point with a mount point of your choice, you may want to make
one like /win (a.k.a mkdir /win).  So if Windows is on your Primary Master then
you might do:

mount -t vfat /dev/hda1 /win

As far as mounting linux onto windows, there is a (beta) program you can get
off freshmeat.  Search for something like "ext2 and Windows".  I'm not really
familiar with it, so <insert someone else's advice here>.

-justin