Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| 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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-13-2007, 11:10 PM
|
#1
|
|
LQ Newbie
Registered: May 2007
Posts: 11
Rep:
|
Permission denied to a partition
I'm new using linux.
I have Fedora Core 5.
I have only one disk (55.6 GB)and made 2 partitions: sda1 -> windows (ntfs), sda2 -> Fedora Core 5 along with "swap (swap)", "/home (ext3)" and "/ (ext3)".
It turns out that everytime I want to acces my windows partition from fedora a sign shows up saying "Permition Denied".
I tried to change the properties, but I still can't access my windows partition.
|
|
|
|
05-13-2007, 11:17 PM
|
#2
|
|
Member
Registered: Oct 2006
Location: Melbourne, Australia
Distribution: ArchLinux, ArchServer, Fedora, CentOS
Posts: 448
Rep:
|
Do you have 2 partitions or 5? You've said 2, but listed 5...
How have you mounted the Windows partition, and where have you mounted it?
I don't believe Fedora comes with NTFS drivers as it would be against their "Open Source Only" philosophy, so I'm guessing you've installed them yourself? Which driver - ntfs or ntfs-3g?
|
|
|
|
05-13-2007, 11:41 PM
|
#3
|
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,797
|
Please post the output of (run as root):
fdisk -l
more /etc/fstab
|
|
|
|
05-14-2007, 12:24 AM
|
#4
|
|
Member
Registered: Jul 2006
Location: Tampa, FL, USA
Distribution: Slackware64-14
Posts: 818
Rep:
|
This could be an SELinux permissions warning, not a Fedora warning. I seem to remember SELinux causing me problems like this when I was running FC 5 a few months ago.
|
|
|
|
05-14-2007, 03:03 PM
|
#5
|
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,470
Rep: 
|
Moved: This thread is more suitable in Linux-Newbie and has been moved accordingly to help your thread/question get the exposure it deserves.
Please check if you're able to access the Windows partition as root (administrator user).
|
|
|
|
05-14-2007, 08:34 PM
|
#6
|
|
LQ Newbie
Registered: May 2007
Posts: 11
Original Poster
Rep:
|
Well I tried to access the windows partition as a root, and it still didn't work out.
And my disk actually has 4 partitions: "windows" -> (ntfs), "/" -> (ext3), "home" -> (ext3) and "swap" -> (swap)
|
|
|
|
05-14-2007, 08:37 PM
|
#7
|
|
LQ Newbie
Registered: May 2007
Posts: 11
Original Poster
Rep:
|
/etc/fstab
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
|
|
|
|
05-16-2007, 03:12 PM
|
#8
|
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,470
Rep: 
|
I can't see the Windows partition in your fstab. What command do you use to mount it?
|
|
|
|
05-16-2007, 05:29 PM
|
#9
|
|
LQ Newbie
Registered: May 2007
Posts: 11
Original Poster
Rep:
|
well, I'm pertty much a newbie in linux. So I don't even remember mounting a windows partition.
|
|
|
|
05-17-2007, 04:34 PM
|
#10
|
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,470
Rep: 
|
So you have not mounted it and the system didn't catch it during install. Fixable... First we need to find out which partition is Windows. Run
fdisk -l
and post the result.
|
|
|
|
05-19-2007, 10:22 AM
|
#11
|
|
LQ Newbie
Registered: May 2007
Posts: 11
Original Poster
Rep:
|
I opened the terminal and logged in as root, then I wrote "fdisk -l" and a "bash: fdisk: command not found" sign showed up.
|
|
|
|
05-19-2007, 04:09 PM
|
#12
|
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,470
Rep: 
|
Try /sbin/fdisk -l
If it doesn't work run
cat /proc/partitions
cat /proc/mounts
|
|
|
|
05-20-2007, 07:33 PM
|
#13
|
|
LQ Newbie
Registered: May 2007
Posts: 11
Original Poster
Rep:
|
When I run "/sbin/fdisk -l" notihng happens,
but when I run "cat /proc/partitions" the following shows up:
major minor #blocks name
8 0 58605120 sda
8 1 24916815 sda1
8 2 96390 sda2
8 3 33583882 sda3
253 0 32473088 dm-0
253 1 1048576 dm-1
And when I run "cat /proc/mounts", the following shows up:
rootfs / rootfs rw 0 0
/dev/root / ext3 rw,data=ordered 0 0
/dev /dev tmpfs rw 0 0
/proc /proc proc rw 0 0
/sys /sys sysfs rw 0 0
none /selinux selinuxfs rw 0 0
/proc/bus/usb /proc/bus/usb usbfs rw 0 0
devpts /dev/pts devpts rw 0 0
/dev/sda2 /boot ext3 rw,data=ordered 0 0
tmpfs /dev/shm tmpfs rw 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
automount(pid2005) /net autofs rw 0 0
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:29 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
|
|