Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
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.
|
 |
08-05-2004, 05:04 AM
|
#1
|
Member
Registered: Oct 2003
Location: brooklyn ny
Distribution: mandrake9.2
Posts: 297
Rep:
|
Access denied to windows partition.
Mandrake-9.2
I click on /mnt/windows and I get message "access denied".
|
|
|
08-05-2004, 05:24 AM
|
#2
|
Senior Member
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802
Rep:
|
What does /etc/fstab entry for the windows partition look like?
|
|
|
08-05-2004, 07:05 AM
|
#3
|
Member
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611
Rep:
|
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
|
|
|
08-06-2004, 08:31 AM
|
#4
|
LQ Newbie
Registered: Apr 2004
Posts: 3
Rep:
|
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.
|
|
|
08-19-2004, 05:54 AM
|
#5
|
LQ Newbie
Registered: Jul 2004
Location: San Diego, CA
Distribution: Fedora Core 2 (64-bit)
Posts: 13
Rep:
|
Thanks so much umask=0000 works great. I had the same problem and its fixed 
|
|
|
08-19-2004, 07:35 PM
|
#6
|
Member
Registered: Jan 2004
Distribution: Kubuntu 14.04 (Dell Linux-preinstalled laptop + 2 other laptops)
Posts: 117
Rep:
|
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.
|
|
|
08-25-2004, 02:10 AM
|
#7
|
Senior Member
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,041
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 02:19 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
|
|