Go Back   PCMech Forums > Linux Support > Linux OS and Software Assistance

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 05-20-2001, 08:47 PM   #1
Member (7 bit)
 
Join Date: Jan 2001
Location: Vancouver
Posts: 86
smokin Getting info from Windows partition

Hi guys,
I'm running RH6 and I'm dual booting with '98. When I was installing Linux I remember where I was asked to set up the mount points for the swap and root partitions and delegated those accordingly. However, since I was unsure about mount points for the fat32 partions that i have i decided not to set them with mount points.
Does anyone know how I might be able to access info from those partitions. I've heard about an import command from time to time but not really sure about syntax. I've tried to mount them with 'mount' but you know what happens...
Any help appreciated.
TIA
spinoza is offline   Reply With Quote
Old 05-21-2001, 05:55 AM   #2
Member (11 bit)
 
mikeL's Avatar
 
Join Date: Nov 1999
Location: Northeast, Michigan
Posts: 1,063
spinoza to access my C:drive I have a mount point of /mnt/win_c and the device name is /dev/hda1 I'm not sure if this is what your looking for since this is my second week of running Linux. mike
mikeL is offline   Reply With Quote
Old 05-21-2001, 12:47 PM   #3
Registered User
 
Join Date: Mar 1999
Posts: 355
there are no set rules about most mount points...stuff like this is pretty much user defined. just create an empty directory in /mnt or somewhere, and issue the mount command command to mount the partition:

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

but, add your own values....hda1 is the first partition of the primary master IDE drive....so, it will be specific to your configuration...but it could be hda1...if in doubt, check it in fdisk or cfdisk.

if you want to mount it automatically at a specific mount point, just add a line to the fstab, if it wasn't added during installation:

/dev/hda1 /mnt/cdrive vfat defaults 0 0

or you could do something like:

/dev/hda1 /mnt/cdrive vfat noauto,rw,user 0 0

if you want to be able to let any user mount or unmount the partition with a command like:

mount /dev/hda1

or

umount /mnt/cdrive

that won't mount the drive at boot, btw.
WickedLittleSlaveBoy is offline   Reply With Quote
Old 05-22-2001, 08:41 AM   #4
Member (7 bit)
 
Join Date: Jan 2001
Location: Vancouver
Posts: 86
Thumbs up

Thanks for the reply WickedLittleSlaveBoy. That's exactly the info that I needed.

Any idea about bringing info over the partition? Are there man pages I can refer to concerning commands of this sort?

Thanks again!!
spinoza is offline   Reply With Quote
Old 05-22-2001, 08:50 AM   #5
Member (7 bit)
 
Join Date: Jan 2001
Location: Vancouver
Posts: 86
OOPS!! Thanks to you too Mike.

Kudos on the switch to Linux.
spinoza is offline   Reply With Quote
Old 05-22-2001, 10:28 PM   #6
Registered User
 
Join Date: Mar 1999
Posts: 355
once you have partition mounted, you just cd to the mount point....from there you should be able to browse the filesystem....if you want to bring something accross, you would just copy or move the file(s) you want over to one of your other filesystems.

if I had a dual boot machine and I wanted to copy files from a partition I have mounted at /mnt/cdrive to my home directory at /home/wlsb, I would run a cp or a move command like this:

cp /mnt/cdrive/windows/desktop/web/index.html /home/wlsb

see the thing about the Unix filesystem is that it's flexible as to how you mount filesystems, but once you have your filesystems mounted, everything exists below /, at whatever moint point you've chosen .....it's seamless to the user or application, as opposed to the way that MS or Apple handles filesystems(this has changed some with windows 2000), where every new filesystem is going to be it's own individual drive....my /home/wlsb is actually another mounted filesystem(/export/home/wlsb on plato via NFS). you can deal with anything you mount just like you would the normal filesystem(unless it's been mounted or shared read-only, of course).
WickedLittleSlaveBoy is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 10:21 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2