LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How can I access files in my Windows 98 partition from my Linux partition, /w BASH? (http://www.linuxquestions.org/questions/linux-newbie-8/how-can-i-access-files-in-my-windows-98-partition-from-my-linux-partition-w-bash-231888/)

Fabyfakid 09-17-2004 03:01 PM

How can I access files in my Windows 98 partition from my Linux partition, /w BASH?
 
I have one HD with two OSs in it, Windows 98 and Fedora Core 1; as the thread's title implies. I downloaded some files to Windows that I need to install in my Linux partition because I dont have access to the Internet with Linux (I have a winmodem). So I need to know how to access such information.

Thanks in advanced.

EDIT: I forgot to mention that because I dont have a window manager in the Linux partition, I need to do everything from the shell. Those files are for a window manager (XFCE) and some drivers.

dsegel 09-17-2004 03:06 PM

You need to mount the Windows partition somewhere. Something like this:

mkdir /mnt/windows
mount /dev/hda1 /mnt/windows

Now your Windows partition is under /mnt/windows, so you can copy files out of it like this:

cp /mnt/windows/temp/fileIneed.zip ~

If your Windows partition is NTFS (is that possible with Win98?) you'll need to make sure you have support for it in your kernel.

Fabyfakid 09-17-2004 07:30 PM

When I mount the partition, can I use the whereis, find and that type of commands to look for stuff in the partition?

Vincent_Vega 09-17-2004 10:51 PM

you can run 'updatedb' (as root) and the use the 'locate' command. I'm not sure about whereis, i don't use it much.

realjustin 09-17-2004 11:05 PM

Yes you can use those commands, but note that whereis probably won't do anything as the new mount isn't in any paths.

When you mount the drive, you might need to add the
-t vfat
option to the mount command.


All times are GMT -5. The time now is 02:09 AM.