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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-02-2005, 03:58 AM
|
#1
|
LQ Newbie
Registered: Jan 2005
Distribution: Trying to use Redhat
Posts: 25
Rep:
|
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.
|
|
|
01-02-2005, 04:04 AM
|
#2
|
Member
Registered: Jan 2005
Location: Århus, Denmark
Distribution: Debian GNU/Linux
Posts: 34
Rep:
|
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.
|
|
|
01-02-2005, 04:09 AM
|
#3
|
LQ Newbie
Registered: Jan 2005
Distribution: Trying to use Redhat
Posts: 25
Original Poster
Rep:
|
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.
|
|
|
01-02-2005, 04:25 AM
|
#4
|
Member
Registered: Jan 2005
Location: Århus, Denmark
Distribution: Debian GNU/Linux
Posts: 34
Rep:
|
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
|
|
|
01-02-2005, 05:18 AM
|
#5
|
LQ Newbie
Registered: Jan 2005
Distribution: Trying to use Redhat
Posts: 25
Original Poster
Rep:
|
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 
|
|
|
01-02-2005, 05:37 AM
|
#6
|
Member
Registered: Jan 2005
Location: Århus, Denmark
Distribution: Debian GNU/Linux
Posts: 34
Rep:
|
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. :-)
|
|
|
01-02-2005, 06:21 AM
|
#7
|
LQ Newbie
Registered: Jan 2005
Distribution: Trying to use Redhat
Posts: 25
Original Poster
Rep:
|
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?
|
|
|
01-02-2005, 06:39 AM
|
#8
|
Member
Registered: Jan 2005
Location: Århus, Denmark
Distribution: Debian GNU/Linux
Posts: 34
Rep:
|
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
|
|
|
01-02-2005, 07:27 AM
|
#9
|
LQ Newbie
Registered: Jan 2005
Distribution: Trying to use Redhat
Posts: 25
Original Poster
Rep:
|
That's smashing....all working as expected - many thanks for the help, it's 2:25am here so I'm off!
|
|
|
All times are GMT -5. The time now is 08:58 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|