LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-10-2003, 07:27 PM   #1
BigBrittDOGG
LQ Newbie
 
Registered: Jul 2003
Location: Alaska, USA
Distribution: Mandrake 9.1, Windows XP, Windows Longhorn Build 4008
Posts: 18

Rep: Reputation: 0
Question Mounting windows drive


Ok, i mounted my windows drive using this command: mount -t ntfs /dev/hda1 /mnt/windows

It all mounted successfully, but, i cannot open it due to not having permission. I am root, how do i get access?
 
Old 09-10-2003, 07:47 PM   #2
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Exclamation Maybe a fstab problem

Post your fstab file. Just cut n paste it here. Should be a minor change or two and it can mount automatically when you boot.

Check back later.

 
Old 09-10-2003, 08:21 PM   #3
BigBrittDOGG
LQ Newbie
 
Registered: Jul 2003
Location: Alaska, USA
Distribution: Mandrake 9.1, Windows XP, Windows Longhorn Build 4008
Posts: 18

Original Poster
Rep: Reputation: 0
fstab?

ok the fstab file would be where?
 
Old 09-10-2003, 08:25 PM   #4
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
it's in the /etc directory.
 
Old 09-10-2003, 08:33 PM   #5
BigBrittDOGG
LQ Newbie
 
Registered: Jul 2003
Location: Alaska, USA
Distribution: Mandrake 9.1, Windows XP, Windows Longhorn Build 4008
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks, here it is:
/dev/hda2 / ext2 defaults 1 1
none /dev/pts devpts mode=0620 0 0
none /mnt/cdrom supermount dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /mnt/cdrom2 supermount dev=/dev/hdc,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,sync,codepage=850,umask=0 0 0
/dev/hda1 /mnt/windows 23 sync,defaults 0 0
none /proc proc defaults 0 0
/dev/hda3 swap swap defaults 0 0

any help is greatly appriciated
thanks for helpin this
 
Old 09-10-2003, 08:46 PM   #6
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Exclamation Try this

If no one disaggrees you may want to replace the line:
/dev/hda1 /mnt/windows 23 sync,defaults 0 0
with
/dev/hda1 /mnt/windows vfat iocharset=iso8859-1,codepage=850,umask=0 0 0

This is how mine is setup and it mounts during the boot process. See if anyone disagrees first. Someone may see something I don't.

Anyone see something wrong with this change?

 
Old 09-10-2003, 08:57 PM   #7
BigBrittDOGG
LQ Newbie
 
Registered: Jul 2003
Location: Alaska, USA
Distribution: Mandrake 9.1, Windows XP, Windows Longhorn Build 4008
Posts: 18

Original Poster
Rep: Reputation: 0
i do, i use NTFS file system, not FAT
 
Old 09-10-2003, 09:23 PM   #8
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Thumbs up Good thing to notice

If you know what should be there just replace vfat with the proper file type. I think it is NTFS, not sure though. My windows drive is just a back up data drive anyway. It sees it the same way regardless.
I also think you need to reboot after you make the change. There may be a command that you can run but I don't know what it is.

Also note: You should not try to write to a NTFS partition. Mandrake usually adds the partitions automatically. It may not have done this because it can't write to it. This can really hose your NTFS if you mess with it. I usually recommend a small partition that is fat32 or something that both Linux can read/write and your XP can read/write to swap data. A small partition will usually be OK. I saw where one person had a 500MB partition and another had a 1GB one.

I hope that Mandrake 9.2 will be better able to handle NTFS. A lot of people dual boot XP and need the support.

Be carefull.

 
Old 09-10-2003, 09:42 PM   #9
BigBrittDOGG
LQ Newbie
 
Registered: Jul 2003
Location: Alaska, USA
Distribution: Mandrake 9.1, Windows XP, Windows Longhorn Build 4008
Posts: 18

Original Poster
Rep: Reputation: 0
Tried replacing that line, but i dont have write privelages to that either
 
Old 09-10-2003, 11:02 PM   #10
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Post Little how to

Go to Control Center, like start in windoze, then Applications/File tools/File Manager- superuser. It will ask for your root password. Then goto the file click on it and it should open with Kwrite. Location bar should show File:/etc/fstab. You can edit the file and save the changes.

There are a lot of files that you will have to access this way. This is why Linux/Unix is more secure than windoze. You basically have to tell the system it is you each time, not many viruses, trojans etc can get past that.

Do be carefull. It may have not mounted this automatically for a good reason. You can really damage your XP by doing the wrong thing here.

Good luck.

 
Old 09-10-2003, 11:04 PM   #11
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
Quote:
Originally posted by BigBrittDOGG
Tried replacing that line, but i dont have write privelages to that either
you have to be root. type "su" then your root password, then edit the file.
 
Old 09-10-2003, 11:10 PM   #12
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Question Now I have a question

I see people say that all the time. Here's my question: Where do you put the 'su' command? I know how to do that in the command line. No problem there, but I have never seen where to put it in a GUI. I'm not a complete newbie, maybe I just missed it or maybe it's not in Mandrake 9.1 for some reason.

??????

 
Old 09-10-2003, 11:13 PM   #13
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
put it in the command line, then open a gui editor from the command line as root (gedit&, kwrite&, etc.).

Last edited by synaptical; 09-10-2003 at 11:20 PM.
 
Old 09-10-2003, 11:24 PM   #14
BigBrittDOGG
LQ Newbie
 
Registered: Jul 2003
Location: Alaska, USA
Distribution: Mandrake 9.1, Windows XP, Windows Longhorn Build 4008
Posts: 18

Original Poster
Rep: Reputation: 0
Well, i can open the windows folder now, but, i get the "mount: fs type 23 not supported by kernel" error msg, is this the end of my wish for my windows files? Also, I thought about the FAT file system small partition to just transfer the files from one OS to the other, BUT, i opened the mandrake control center, go to boot, open drakboot or whatever, add windows and make it default but it does not appear in the linux bootloader, now what? is my computer just all out of whack or what? (I'm thinkin its the windows user, lol)
 
Old 09-10-2003, 11:38 PM   #15
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Question Question

Are you saying that it does not give the option to boot windows in your bootloader? You should have this:

Linux
Linux non-fb
Windows (almost spelled it windoze. he he he)
Failsafe
Floppy

If you are missing the windoze part that is a whole different problem.

Let me know if that is the problem. I have not ever done it and booted but I just went and added my data drive to test. Wasn't a problem on mine. I'll try to walk you through 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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting a windows drive jon_k Linux - Hardware 14 07-18-2003 08:58 PM
mounting windows drive chrismiceli Linux - Networking 2 06-28-2003 01:11 AM
mounting windows drive ditto Linux - Newbie 2 05-24-2003 09:10 AM
Mounting a Windows Drive digsby0007 Linux - Software 4 05-09-2003 04:18 PM
Mounting windows drive celtic32 Linux - General 10 09-09-2002 11:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:10 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
Open Source Consulting | Domain Registration