LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to mount WinXP drive at boot-time? (https://www.linuxquestions.org/questions/linux-general-1/how-to-mount-winxp-drive-at-boot-time-343380/)

voly 07-15-2005 04:26 AM

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.

J_K9 07-15-2005 04:29 AM

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

voly 07-15-2005 05:16 AM

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 25841 195357928+ c W95 FAT32 (LBA)

(respaced for neatness - which didn't work :mad: )

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.

J_K9 07-15-2005 06:11 AM

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 :D

J_K9

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

Nylex 07-15-2005 07:29 AM

This page explains about the fstab file including some of the options and the last two columns.

voly 07-15-2005 07:38 AM

Quote:

Originally posted by J_K9
Could be /dev/null for all I care :D
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.

J_K9 07-15-2005 07:48 AM

<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

voly 07-16-2005 02:17 AM

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.

J_K9 07-16-2005 02:53 AM

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?

mkoljack 07-16-2005 04:33 AM

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.

bsdpowa 07-16-2005 07:13 AM

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.


All times are GMT -5. The time now is 06:48 PM.