LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 07-15-2005, 05:26 AM   #1
voly
LQ Newbie
 
Registered: Jul 2005
Distribution: FC4
Posts: 25

Rep: Reputation: 15
How to mount WinXP drive at boot-time?


Like the subect says.

This question is in reference to my very new installation of Fedora Core 4.

I'm fairly certain the information has to be put in /etc/fstab, but I'm not sure about a few things, like what 0 0 and 1 1 mean, plus a few of the options available.

It's FAT32, the other drive I want to access, and it's full of mainly documents and the like.

Any help welcome, even if you just want to point to a document that'll clear it all up for me.

Interestingly, Slackware located and asked me if I wanted to have automatic access to a different FAT32 partition, during installation. Very handy, in comparison.

Last edited by voly; 07-15-2005 at 06:06 AM.
 
Old 07-15-2005, 05:29 AM   #2
J_K9
Member
 
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Rep: Reputation: 30
Hi,

Could you please post the output of "fdisk -l" in terminal? (That's "fdisk -L" btw, not "-1"). You are correct, you do need to edit the /etc/fstab file, but you first need to find out what partition Windows is on by running that command. From there we'll be able to guide you on what to do!

J_K9
 
Old 07-15-2005, 06:16 AM   #3
voly
LQ Newbie
 
Registered: Jul 2005
Distribution: FC4
Posts: 25

Original Poster
Rep: Reputation: 15
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 25841 195357928+ c W95 FAT32 (LBA)

(respaced for neatness - which didn't work )

That's the relevant bit, anyway.

I knew where it was (/dev/hdb1), but I was still a bit wary of just chucking it in fstab. There's a *lot* of data on that there drive.

Last edited by voly; 07-15-2005 at 06:18 AM.
 
Old 07-15-2005, 07:11 AM   #4
J_K9
Member
 
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Rep: Reputation: 30
Okay, so what you need to do is the following:
Quote:
$ su
Password:
# mkdir /mnt/winxp
Then, go to your /etc/fstab file, and open it as root. Add the following line to it:
Code:
/dev/hdb1    /mnt/winxp    vfat    uid=500,gid=100,umask=002  0  0
I think the uid, gid and umask settings are right, but my laptop's charger has just buggered up so I can't check it ( now I have to wait until it gets fixed to use Ubuntu...). Restart and it should mount automatically

J_K9

P.S You can change the /mnt/winxp to whatever you want...Could be /dev/null for all I care

Last edited by trickykid; 07-16-2005 at 06:53 AM.
 
Old 07-15-2005, 08:29 AM   #5
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
This page explains about the fstab file including some of the options and the last two columns.
 
Old 07-15-2005, 08:38 AM   #6
voly
LQ Newbie
 
Registered: Jul 2005
Distribution: FC4
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by J_K9
Could be /dev/null for all I care
Uh... charmed.

I'll just assume it's nothing personal, shall I?

But thanks for the rest, I think, anyway.

And yeh, that page - whole site actually - looks useful. Ta.

Last edited by trickykid; 07-16-2005 at 06:54 AM.
 
Old 07-15-2005, 08:48 AM   #7
J_K9
Member
 
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Rep: Reputation: 30
<sarcasm>It's always nice to know that my help is appreciated</sarcasm>

A little wry humour at the end not good enough for you? OK, I'm sorry then if it wasn't suitable for your eyes/ears, but they are both words defined in the English dictionary and which are not considered taboo. Meeting ungrateful people is always a pleasant surprise. Peace out,

J_K9
 
Old 07-16-2005, 03:17 AM   #8
voly
LQ Newbie
 
Registered: Jul 2005
Distribution: FC4
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by J_K9
<sarcasm>It's always nice to know that my help is appreciated</sarcasm>

A little wry humour at the end not good enough for you? OK, I'm sorry then if it wasn't suitable for your eyes/ears, but they are both words defined in the English dictionary and which are not considered taboo. Meeting ungrateful people is always a pleasant surprise. Peace out,

J_K9
It wasn't a case of "not good enough". It was a case of 'wtf?'.

I just don't see it as humorous. If that's what it was meant to be, then how so? How is simply posting those two words which are "defined in the English dictionary and which are not considered taboo", out of any apparent context, and with two '/' characters added in..... funny? I love wry humour, incidentally. Couldn't spot any there, however.

Your sarcasm seems about as well-placed as your alleged humour. Your help *was* appreciated, by the way; that which has followed isn't.
 
Old 07-16-2005, 03:53 AM   #9
J_K9
Member
 
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Rep: Reputation: 30
Look voly I really don't care whether you thought it was funny or not. I don't even care what you thought about it. I'm just glad I could help, and I'll _try_ to leave it there! It was just a way of stating that you didn't need to follow what I said - that you could call the directory whatever you wanted - and it would still work! You obviously took it slightly too literally. And now, every post we make is just wasting Jeremy's bandwidth OK?
 
Old 07-16-2005, 05:33 AM   #10
mkoljack
Member
 
Registered: Jan 2005
Location: Chicago
Distribution: Fedora Core 4, Suse 9.3
Posts: 186

Rep: Reputation: 30
Hey voly, FYI:

J_K9 gave you excellent help for free. He doesn't have to do anything to help anyone on his time. It's really clear what he meant, so maybe a little more gratitude is in order. Once you start with your poor attitude maybe nobody will want to help you in the future.

Think about it.
 
Old 07-16-2005, 08:13 AM   #11
bsdpowa
Member
 
Registered: Jul 2005
Location: Srpska
Distribution: Fedora Core 4
Posts: 30

Rep: Reputation: 15
I'll tell you how I did it.

Code:
mkdir /mnt/win

edit /etc/fstab
/dev/hda1 /mnt/win vfat auto,umask=0 0 0
That's it.
 
  


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
How to mount WinXP Drive? adamb10 Fedora 1 03-19-2005 06:26 PM
Drive mount at boot time problems pete123 Suse/Novell 4 03-13-2005 03:17 PM
Time issues in dual boot WinXP / Fedora laptop mrmcctt Linux - Software 2 11-01-2004 09:14 AM
WinXP dual boot on slave drive - possible ? mudflye Linux - General 3 09-04-2004 05:18 AM
FC2 install on 2nd drive, no dual-boot, will install modify 1st WinXP drive at all? Equisilus Fedora - Installation 14 06-27-2004 03:38 AM


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