LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-23-2003, 09:48 AM   #1
jingleman
LQ Newbie
 
Registered: Jul 2003
Posts: 2

Rep: Reputation: 0
Backing up Windows stuff into Linux


Now, be very gentle, I'm a a virtual to Linux - I hadn't realised it would be soooo different to Win XP!

Commands to type, which prog to I type them in - I was looking for Linux equivalent of DOS prompt? - There, you see what a basic stage I'm at.

Windows is on C drive, my old HDD (not a partition) this was showing as D drive in XP , then formatted for Red Hat Linux 9 and installed successfully.

I want to back-up my windows stuff. MP3, word files etc onto the Linux drive - How do I get Linux to see Windows and vice versa? I went into add/remove and came across Samba, which I installed, but could not obviously see it

I dabbled (for only a few days) with another version of Linux in past (gave up) and that was on a partition of same HDD at that time, I managed to see win XP files of Word etc and vice versa, so I know it can be done easily, I'm just missing something no doubt VERY simple.

Once I can get past these basics, I should be OK, but if I can't grasp these, then I'm onto a loser

I know somewhere I need to put "hda" into the equation, I'm fairly sure my Windows Xp HDD is Hda0 and Linux on HDA1, but then again, I'm probably wrong - I need some friendy help from

Please can you just give a bit of basic guidance on these matters

Cheers
 
Old 07-23-2003, 11:40 AM   #2
koyi
Member
 
Registered: Jul 2003
Location: Osaka, Japan
Distribution: Arch, Ubuntu
Posts: 421

Rep: Reputation: 31
Are you still using Redhat 9.0? If you do, try to look for a program called "Terminal" from the menu. It should be under "System (something)" (sorry I forgot ) Then a windows which looks much like M$DOS command prompt appears. You type your commands there.

I am not sure whether Redhat recognizes NTFS( supposed your XP is formatted as NTFS) by default. But you may try your luck by issuing the following commands on the terminal you have just opened.

$ su
password: (type your root password here)
# mkdir /mnt/ntfs
# mount -t ntfs /dev/hda1 /mnt/ntfs

If this fails, I am afraid you have to recompile your kernel to enable NTFS reading.But if this passes safely, proceed with:

# ls /mnt/ntfs

You should be able to see your files in C: listed.
Copy files like this:

# cp /mnt/ntfs/filename directory-in-linux

After you are done.

# umount /mnt/ntfs
# exit

to return to your normal prompt.

p/s There will never be hda0, coz it starts with 1
 
Old 07-23-2003, 12:19 PM   #3
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Hi Jingleman

Linux sees your IDE drives like this

/dev/hda .drive on Primary Master
/dev/hdb .drive on primary slave
/dev/hdc .drive on secondary master
/dev/hdd .drive on secondary slave

You'll need to download an RPM for Red Hat 9 to read NTFS - Red Hat has liscence issues with the Linux NTFS drivers.

supposing NTFS was on /dev/hda1 and the mount point was /mnt/jingle ..... then for a temporary mount try this

mount -t ntfs -o ro /dev/hda1 /mnt/jingle
 
Old 07-23-2003, 12:39 PM   #4
jingleman
LQ Newbie
 
Registered: Jul 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Skyline & Koyi,

Thanks very much for your replies

I'll try them out what you say a little later on.

Koyi - Yes, I agree, Penguins are beautiful creatures
 
Old 07-23-2003, 01:00 PM   #5
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
RPM to add NTFS support to RedHat.
http://linux-ntfs.sourceforge.net/

To install a RPM, open a terminal window and use the following syntax:
Code:
rpm -ivh <package>
I prefer faithful companions on the journey beyond the Gates of limitations.
 
Old 07-23-2003, 02:51 PM   #6
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 46
Actually, to install the NTFS RPM you should follow the directions from that website link. Its not as easy as one command. You may have to tweak a few things.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
backing up windows with nfs class_struggle Linux - Newbie 4 08-28-2004 09:16 AM
Backing up to a windows share BruceC Linux - Newbie 3 08-16-2004 03:09 PM
VM Ware - Linux vs Windows, and some other stuff imonfya Linux - General 3 07-19-2004 01:16 AM
Backing up files on Windows boxes to Linux thosm Linux - Software 1 04-08-2004 07:36 PM
Deleted all my bootloader stuff from windows/linux system jimdaworm Red Hat 2 09-04-2003 06:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:01 AM.

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