LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 08-05-2004, 05:04 AM   #1
akihandyman
Member
 
Registered: Oct 2003
Location: brooklyn ny
Distribution: mandrake9.2
Posts: 297

Rep: Reputation: 30
Access denied to windows partition.


Mandrake-9.2
I click on /mnt/windows and I get message "access denied".
 
Old 08-05-2004, 05:24 AM   #2
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
What does /etc/fstab entry for the windows partition look like?
 
Old 08-05-2004, 07:05 AM   #3
otish1000c
Member
 
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611

Rep: Reputation: 30
depending on permission settings, you may need to be root to do that. the easiest way is to run Konqueror in superuser mode, then you can access all files on any partition. to do so, open a terminal, su to root, then type konqueror (enter). you can also do this as normal user from terminal by typing kdesu konqueror (enter). it will then ask for the root password before opening. if you want to make a desktop or kicker shortcut to this, just use kdesu konqueror as the executable path.

otis
 
Old 08-06-2004, 08:31 AM   #4
vad3r
LQ Newbie
 
Registered: Apr 2004
Posts: 3

Rep: Reputation: 0
For FAT32 read and write access will be fine, I wouldn't mess with it if it's NTFS, but I'll post how for both

the best way of doing it is -
In console as root

FAT32

mkdir /mnt/windows
mount -t vfat /dev/hdxy /mnt/windows
you can get the "xy" from going to fdisk or cfdisk and looking at the names of the partitions

NTFS

mkdir /mnt/windows
mount -t ntfs /dev/hdxy /mnt/windows
you can get the "xy" from going to fdisk or cfdisk and looking at the names of the partitions

Unmount the drive first (umount /mnt/windows) and put a line in your /etc/fstab with this info: that is "umount" not "unmount"

/dev/hdxy /mnt/windows vfat user,umask=0000 0 0

I think that's the correct format. Just follow what's already there and use common sense. The umask=0000 part just allows all users read, write, and execute priviliges. It's basically a chmod 777 on the entire thing done automatically at mount. (You can do this part in GUI as SU "root", and open file in Kate and edit that way, u may find easier) Kate normally makes a backup when u edit a file, but copy it somewhere you will remember just in case (home/user)

Oh and then mount it after using
mount /mnt/windows

If your cdrom works for you, you will see a entery already there, copy the line and paste it 1 below, then edit the "hdx" and "mnt/windows" to match up your location of windows.

exit root

When you have it working, should you want a desktop shortcut - Right click desktop, create new link to "new URL" or "hard disk device" (believe it's the 1st one). In Properties/application / command - kfmclient openURL /mnt/windows .
Once you have it working, name it and give it a icon you like.

good luck

If your Windows Partition is NTFS, I would do some reading on it 1st. I've never tried, but I understand Reading is ok, Writing to it is bad.
 
Old 08-19-2004, 05:54 AM   #5
mikrasov
LQ Newbie
 
Registered: Jul 2004
Location: San Diego, CA
Distribution: Fedora Core 2 (64-bit)
Posts: 13

Rep: Reputation: 0
Thanks so much umask=0000 works great. I had the same problem and its fixed
 
Old 08-19-2004, 07:35 PM   #6
KWTm
Member
 
Registered: Jan 2004
Distribution: Kubuntu 14.04 (Dell Linux-preinstalled laptop + 2 other laptops)
Posts: 117

Rep: Reputation: 21
can't access Windows partition from Mdk? What's your security level setting?

In Mdk 10, if you install with a security level greater than Standard (such as High, Higher, or Paranoid), then non-root users can't access the Windows partition. I can't remember if this is the case for Mdk 9.x.

To find your security level setting, go to Mandrake Control Centre (a.k.a. Configure Your Computer) and check under the Security settings. I think it's also known as DrakPerm or something like that.
 
Old 08-25-2004, 02:10 AM   #7
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,041

Rep: Reputation: 35
Vad3r,

I have a question. I had some files stored in my old mandrake operating system on a separate drive that had a FAT32 partition, I moved those files to it by creating a folder inside the fat32 partition. I was trying to get these files by booting into windows-xp but windows wont even see the FAT32 partiton /mnt/win_e. I did this impart because I did not have a DVD burner and some of my files were too large to burn onto a CD. I was going to reload Mandrake 10.0 onto the 2nd hard-drive, then go back and put them into Mandrake after the new install.

So I have been trying to recover those files through Mandrake installed on my other drive, but when I open up the /mnt/win_e drive it shows 0 files.

On my 1st hard-drive it is: a 120G drive winxp40G(NTSF) win_c, 2nd drive partition is FAT32 40G win_d, 3rd partition is Linux 40G.

On the 2nd drive: I have the old installation of Mandrake with the seperate FAT32 partition (win_e) with all my lost files stored on it. I was stupid enough to move the files there instead of copying them there/

Is there any sure way to recover those files on that 2nd drive named win_e? I have not formated the drive, so the files should be there, but they can't be seen or opened by mandrake

What should I do?

d-1





Quote:
Originally posted by vad3r
For FAT32 read and write access will be fine, I wouldn't mess with it if it's NTFS, but I'll post how for both

the best way of doing it is -
In console as root

FAT32

mkdir /mnt/windows
mount -t vfat /dev/hdxy /mnt/windows
you can get the "xy" from going to fdisk or cfdisk and looking at the names of the partitions

NTFS

mkdir /mnt/windows
mount -t ntfs /dev/hdxy /mnt/windows
you can get the "xy" from going to fdisk or cfdisk and looking at the names of the partitions

Unmount the drive first (umount /mnt/windows) and put a line in your /etc/fstab with this info: that is "umount" not "unmount"

/dev/hdxy /mnt/windows vfat user,umask=0000 0 0

I think that's the correct format. Just follow what's already there and use common sense. The umask=0000 part just allows all users read, write, and execute priviliges. It's basically a chmod 777 on the entire thing done automatically at mount. (You can do this part in GUI as SU "root", and open file in Kate and edit that way, u may find easier) Kate normally makes a backup when u edit a file, but copy it somewhere you will remember just in case (home/user)

Oh and then mount it after using
mount /mnt/windows

If your cdrom works for you, you will see a entery already there, copy the line and paste it 1 below, then edit the "hdx" and "mnt/windows" to match up your location of windows.

exit root

When you have it working, should you want a desktop shortcut - Right click desktop, create new link to "new URL" or "hard disk device" (believe it's the 1st one). In Properties/application / command - kfmclient openURL /mnt/windows .
Once you have it working, name it and give it a icon you like.

good luck

If your Windows Partition is NTFS, I would do some reading on it 1st. I've never tried, but I understand Reading is ok, Writing to it is bad.

Last edited by dolphans1; 08-25-2004 at 02:11 AM.
 
  


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
Partition: write access denied linmix Linux - Software 7 10-08-2005 06:11 PM
Samba - access denied on windows suco Linux - Software 6 09-26-2005 10:30 PM
vfat partition access denied demmylls Linux - General 1 01-19-2004 02:09 AM
file permissions on VFAT partition - access denied cevjr Linux - Security 3 09-04-2003 04:50 PM
Access Denied from Windows XP bLaDe Linux - Networking 4 06-22-2003 12:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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