LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-10-2003, 10:38 AM   #1
tiger7007
Member
 
Registered: Aug 2003
Distribution: RedHat9/FedoraCore1
Posts: 73

Rep: Reputation: 15
Unhappy 2 hdds win+linux 1 question.


hi all,

as u probably guessed iam new to linux bla bla.

anyway i got 2 hdd's 1 with redhat 9 2nd hdd is with windows xp,

and i wanted to know if its possible to share data (mp3's,txt) between them i readed litle about samba in linux but iam not sure if its what i need.

plz help me , thx in advance.

e.g:sorry for bad english

Last edited by tiger7007; 08-10-2003 at 10:40 AM.
 
Old 08-10-2003, 10:40 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Welcome to LQ

If these HD's are on the same box, you don't need Samba. You can mount up windoze partitions in linux you just have to figure out what they are known as since linux and windoze don't use the same drive naming scheme (C: is windoze linux is /dev/hda1).

So post up what you get when you open up a console and type (as root):
/sbin/fdisk -l

And is your XP drive formatted with NTFS or Fat32?

Cool
 
Old 08-10-2003, 10:42 AM   #3
tiger7007
Member
 
Registered: Aug 2003
Distribution: RedHat9/FedoraCore1
Posts: 73

Original Poster
Rep: Reputation: 15
damn that was quick ,win hdd is ntfs and linux is ext3 and yea they are on the same box :]


*edit*

ok here is what i got :

Disk /dev/hda: 61.4 GB, 61492838400 bytes
255 heads, 63 sectors/track, 7476 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 1020 8193118+ 7 HPFS/NTFS
/dev/hda2 1021 7475 51849787+ f Win95 Ext'd (LBA)
/dev/hda5 1021 7475 51849756 7 HPFS/NTFS

Disk /dev/hdb: 30.7 GB, 30750031872 bytes
16 heads, 63 sectors/track, 59582 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 203 102280+ 83 Linux
/dev/hdb2 204 58542 29402856 83 Linux
/dev/hdb3 58543 59582 524160 82 Linux swap

ok now what do i do and in simple english plz

Last edited by tiger7007; 08-10-2003 at 10:50 AM.
 
Old 08-10-2003, 10:59 AM   #4
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
ok, it seems that you have partitioned your windows hda drive into 2 partitions (the LBA is the extended container partition)

first, i'm going to have to know what distro u are using (if it is redhat, you're going to have to go to sourceforge.net and look up ntfs for linux and download an rpm for your kernel *u can find your kernel with the command uname -r; u may also consider recompiling your kernel)

for most other systems, just go into the directory /mnt and see if you have extra folder for your windoze partitions, if not make them with the commands (as root, with the "su -" command) mkdir /mnt/hda1 and then mkdir /mnt/hda5

then, u can simply do mount /dev/hda1 /mnt/hda1 and then mount /dev/hda5 /mnt/hda5 (u really don't need to worry about the other extra commands others may use, readonly is already implied)
 
Old 08-10-2003, 11:06 AM   #5
tiger7007
Member
 
Registered: Aug 2003
Distribution: RedHat9/FedoraCore1
Posts: 73

Original Poster
Rep: Reputation: 15
qoute: "anyway i got 2 hdd's 1 with redhat 9 2nd hdd is with windows xp,"

like i said redhat 9 with kde ,btw i also updated all the patches
 
Old 08-10-2003, 11:10 AM   #6
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
http://linux-ntfs.sourceforge.net/info/redhat.html#down

go there and download an rpm (if u don't want to recompile your kernel) for your kernel version, then cd into the directory where u put it and do rpm -ivh blanameoffilebla####.rpm

you should see two 100%'s and a bunch of ##### symbols, then u have ntfs support and do the commands in my other reply
 
Old 08-10-2003, 11:26 AM   #7
tiger7007
Member
 
Registered: Aug 2003
Distribution: RedHat9/FedoraCore1
Posts: 73

Original Poster
Rep: Reputation: 15
awesome it worked! u ppl are faster then my isp support thx allot :]
 
  


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
linux and win XP duel boot question Cogvos Linux - General 4 09-18-2005 08:13 AM
partition win/linux question frizzo Linux - Newbie 8 03-24-2004 07:43 PM
Both Hdds booting to Linux HuggyBear Linux - Newbie 7 07-06-2003 10:26 AM
one more question about /mnt/win from Linux ..sorry purpleburple Linux - General 3 07-06-2002 07:09 AM
Devil for Win, Penguin for Linux. SSI Question mrl Programming 4 05-31-2001 08:29 PM


All times are GMT -5. The time now is 04:19 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