LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 01-02-2005, 03:58 AM   #1
paul1892
LQ Newbie
 
Registered: Jan 2005
Distribution: Trying to use Redhat
Posts: 25

Rep: Reputation: 15
Question Dual Booting - Shared Drive Question?


Newbie here looking for some advice please....

I am dual booting WinXP and RH9, I want to access documents from both operating systems - what is the best way to do this? can my Linux partition be access by WinXP or do I need to create an additional partition and use a common file system???

TIA - once again ;-)

Paul.
 
Old 01-02-2005, 04:04 AM   #2
ttolst
Member
 
Registered: Jan 2005
Location: Århus, Denmark
Distribution: Debian GNU/Linux
Posts: 34

Rep: Reputation: 15
The easiest way is to create a FAT32 partition, which is the only thing they both support directly.

There are ways to make windows able to read linux file systems, but in my experience it doesn't work very well.
 
Old 01-02-2005, 04:09 AM   #3
paul1892
LQ Newbie
 
Registered: Jan 2005
Distribution: Trying to use Redhat
Posts: 25

Original Poster
Rep: Reputation: 15
Talking

OK - the obvious one...how do I do that from RH? or should I just create from Windows? also, is it likely to create any parition naming problems and impact GRUB (I'm being over cautious as it is a shared machine).

TIA.
 
Old 01-02-2005, 04:25 AM   #4
ttolst
Member
 
Registered: Jan 2005
Location: Århus, Denmark
Distribution: Debian GNU/Linux
Posts: 34

Rep: Reputation: 15
I sure can understand you being cautious when it comes to partitioning, it is by far the easiest way to bork a system ;-)

Now i imagine you are most worried about your windows system, so i would probably do this from windows if you have the tools for it. And i don't really know how to do it from redhat, except using fdisk, but that might scare you even more :-)

It shouldn't create bootloader problems, and it shouldn't rename partitions, though i don't know if windows will shuffle the drive letters if you create it from linux. But as long as you don't delete any partitions, the system should be recoverable :-)

An alternative to consider is that linux can read NTFS just fine, so if you primarely need to read files from your windows drive, then you can do it directly. Then you would have to use a CD or usb stick to write files back. One catch is that redhat doesn't include the NTFS driver, but you should be able to find one here: http://linux-ntfs.sourceforge.net/rpm/redhat9.html
 
Old 01-02-2005, 05:18 AM   #5
paul1892
LQ Newbie
 
Registered: Jan 2005
Distribution: Trying to use Redhat
Posts: 25

Original Poster
Rep: Reputation: 15
Thanks for the advice.....I've created a 2gb area in Windows (fat32) now I'm back in RH9 how the heck do I access it, I am assuming I need to mount it but is there some way I can find the mount point? (or perhaps something even easier?) - I've hunted and can't find "my computer" anywhere
 
Old 01-02-2005, 05:37 AM   #6
ttolst
Member
 
Registered: Jan 2005
Location: Århus, Denmark
Distribution: Debian GNU/Linux
Posts: 34

Rep: Reputation: 15
In kde you can type "devices:/" in konqueror, and get a list of drives/partitions.

I can't remember how to get a list of drives easily by other means, but you can type fdisk -l /dev/hda to get a list of partitions, and see which one matches in size. If you have more than one harddrive, then try hdb, hdc, or hdd.

When you find the correct one, you can add it to /etc/fstab to get it mountet automatically at boot. First you need to create a directory to mount it in, and then you can add a line like this to your fstab:

/dev/hda1 /mnt/whatever vfat 0 0

where you of course replace hda1 with the correct partition, and /mnt/whatever with whatever directory you want it to appear in.

Then you can type mount /mnt/whatever and it will be mountet, and will also be mountet after a reboot. You of course need to do all this as root.

There might be a problem making only root able to access the files on it, but that is fixable as well.

It is entirely possible that there is a much much easier way to do this, but been a long time since i last touched a redhat system. :-)
 
Old 01-02-2005, 06:21 AM   #7
paul1892
LQ Newbie
 
Registered: Jan 2005
Distribution: Trying to use Redhat
Posts: 25

Original Poster
Rep: Reputation: 15
Almost there....I have mounted and added it to fstab, but unable to access the mount as a normal user - only root. How do I open it up to all users?
 
Old 01-02-2005, 06:39 AM   #8
ttolst
Member
 
Registered: Jan 2005
Location: Århus, Denmark
Distribution: Debian GNU/Linux
Posts: 34

Rep: Reputation: 15
Right. Try changing the line in fstab to this:

/dev/hda1 /mnt/whatever vfat umask=0 0 0

now unmount it (umount /mnt/whatever) and mount it again. this should hopefully do the trick
 
Old 01-02-2005, 07:27 AM   #9
paul1892
LQ Newbie
 
Registered: Jan 2005
Distribution: Trying to use Redhat
Posts: 25

Original Poster
Rep: Reputation: 15
Talking

That's smashing....all working as expected - many thanks for the help, it's 2:25am here so I'm off!
 
  


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
Dual-Boot: Shared Drive Access Problem TotalNoob Linux - General 3 01-18-2007 01:11 PM
Dual booting question blackjack90 Linux - Newbie 9 09-06-2005 11:39 AM
Multi-drive dual booting Hikaru79 Linux - General 1 06-30-2005 09:47 PM
okay to add new drive for dual-booting? belliott4488 Linux - Hardware 11 02-13-2005 08:42 AM
dual booting fc2 and xp with xp on a sata drive pjamell Linux - General 3 11-29-2004 11:15 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration