LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-11-2002, 02:25 AM   #1
purpleburple
Member
 
Registered: Jun 2002
Location: USA
Distribution: Slackware8.1
Posts: 332

Rep: Reputation: 30
copy files from vfat to vfat from linux?


Hi. I have a dual-boot system with win98/linux on one harddrive. Well my windows partition somehow got messed up and I can't get into win98. So i am just going to reinstall windows no problem. However first I am going to boot into Linux and I want to copy some stuff i had saved in windows C: drive to my second harddrive; which is by the way hdb1. So I have two harddrives in my computer. One is split in two and has win98/linux and the second one (slave) is just a big ol' fat32 disk for backup. In Linux I am going to 'mount -t vfat /dev/hda1 /mnt/win' and access my windows files I want saved before I reinstall windows. My question is ... After mounting my windows C: drive from Linux, how do I copy the files not to Linux but from C: drive in windows to that slave harddrive which is also vfat? So basically what I want to do is 'from' linux access windows and copy some files to my slave harddrive which is also fat32.

thank you
 
Old 12-11-2002, 05:23 AM   #2
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 63
su root
(enter root's password)
mkdir /mnt/backup
mount -t vfat /dev/hda1 /mnt/win
mount -t vfat /dev/hdb1 /mnt/backup
*copy all the files over you want*
umount /mnt/win
umount /mnt/backup
exit
 
Old 12-11-2002, 04:24 PM   #3
purpleburple
Member
 
Registered: Jun 2002
Location: USA
Distribution: Slackware8.1
Posts: 332

Original Poster
Rep: Reputation: 30
thnks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Executing Files on a vfat partition pymehta Linux - Newbie 3 01-23-2004 06:04 AM
From WindowsXP I cannot access files written onto vfat-partition under Linux Agi Hammerthief Linux - Hardware 10 01-19-2004 02:07 PM
Changing permissions on VFAT files bluesailor Linux - Software 7 10-08-2003 07:57 PM
Mount VFAT files? Intoxicado Linux - Newbie 2 03-23-2003 12:21 PM
Copying files to vfat partion in linux??? MgF Linux - Newbie 15 11-02-2002 07:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration