LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 06-20-2005, 03:41 PM   #1
Ace2005
Member
 
Registered: Dec 2004
Distribution: OpenSuSE 10.0
Posts: 140

Rep: Reputation: 15
1 can't (root can) read from partition created by fedora during install


Yea i can't write to the partition i created durin the install of fedora about 5 hours ago, aaaaarrrrrrgggghh!!! (in konqueror, have not tried anything else)

I formatted my 80gb hard disk with ReiserFS, i got it using "linux selinux=0 reiserfs" at the boot prompt, after an error about the kernel not being informed about something just before it formatted the drives i got stuck, used mandrake (10.1 not the new 2005) partitioned it all (good thing is that Mandrake formats it after you make the changes to the partition and before installing software so i pressed the reset button and swapped the disks), just formatted it over in fedora to get it to install ok. Fedora also forced me to only create a swap file of 510mb so i made a 1.5gb swap in mandrake's partitoning tools, and got Fedora to format it.

Now I CAN'T WRITE to it, my 80GB hard disk area, but ROOT CAN. is there a way i give my user account access to write where ever i want, its a pain to keep starting the konsole, going into super user mode and then just pressing up and enter, thats all what i use Konsole for.

Q2 What is the effect of using the bigger swap file? is it ok? will it slow down performance?

Last edited by Ace2005; 06-20-2005 at 03:44 PM.
 
Old 06-20-2005, 05:05 PM   #2
elsheikhmh
Member
 
Registered: Aug 2004
Location: Cairo, Egypt
Distribution: Slackware
Posts: 101

Rep: Reputation: 15
i think you should check /etc/fstab check it as a root

well, http://www.tuxfiles.org/linuxhelp/fstab.html [google]

e.g.

/dev/hdb1 /home ext2 defaults 1 2
/dev/cdrom /media/cdrom autoro,noauto,user,exec 0 0

in summary, edit to add user in third column

mustafa
 
Old 06-21-2005, 02:39 AM   #3
Ace2005
Member
 
Registered: Dec 2004
Distribution: OpenSuSE 10.0
Posts: 140

Original Poster
Rep: Reputation: 15
This is what do i add to where?



# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/ / ext3 defaults 1 1
/dev/devpts /dev/pts devpts gid=5,mode=620 0 0
/dev/shm /dev/shm tmpfs defaults 0 0
/dev/hda1 /mnt/c reiserfs defaults 1 2
/dev/hdb1 /mnt/d vfat defaults 0 0
/dev/hdb5 /mnt/e vfat defaults 0 0
/dev/proc /proc proc defaults 0 0
/dev/sys /sys sysfs defaults 0 0
LABEL=E&�F!�{� swap swap defaults 0 0
/dev/hdc /media/cdrecorder auto pamconsole,exec,noauto,managed 0 0


I made My 80GB disk reiserfs, if i install over fedora with something like knoppix, mandrkae, SuSE or another distro of linux (not windows) will they be able to read and write to the disk, at all? I'm wondering if its encrypted in any way or protected in any way to allow only people using this system to access it. The whole point of this drive is to be a place where i can keep my files and not have to destroy my work every time i reinstall.
 
Old 06-21-2005, 02:55 AM   #4
elsheikhmh
Member
 
Registered: Aug 2004
Location: Cairo, Egypt
Distribution: Slackware
Posts: 101

Rep: Reputation: 15
change defaults > defaults,user
 
Old 06-23-2005, 05:57 AM   #5
Ace2005
Member
 
Registered: Dec 2004
Distribution: OpenSuSE 10.0
Posts: 140

Original Poster
Rep: Reputation: 15
I messed up Fedora Core earlier but i don't know what caused it, this was one of the things i edited, do i put "user" or the username of the user like "Ace" ?
 
Old 06-23-2005, 08:25 AM   #6
elsheikhmh
Member
 
Registered: Aug 2004
Location: Cairo, Egypt
Distribution: Slackware
Posts: 101

Rep: Reputation: 15
no. "user" as a keyword, but not the username.
well, i mean use "users" instead of "user" it's more option
well, this would be a possible configuration

"defaults,users,umask=0" (use it as it is)

cheers,
mustafa
 
Old 06-23-2005, 08:57 AM   #7
Ace2005
Member
 
Registered: Dec 2004
Distribution: OpenSuSE 10.0
Posts: 140

Original Poster
Rep: Reputation: 15
Here is the new config file

# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/ / ext3 defaults 1 1
/dev/devpts /dev/pts devpts gid=5,mode=620 0 0
/dev/shm /dev/shm tmpfs defaults 0 0
/dev/hda1 /mnt/c reiserfs defaults,user 1 2
/dev/hdb1 /mnt/d vfat defaults,user 0 0
/dev/hdb5 /mnt/e vfat defaults,user 0 0
/dev/proc /proc proc defaults 0 0
/dev/sys /sys sysfs defaults 0 0
LABEL=E&�F!�{� swap swap defaults 0 0
/dev/hdc /media/cdrecorder auto pamconsole,exec,noauto,managed 0 0

It should work but now i can write to /mnt/c/ the reiserfs one which i could not before and i cannot write to either Fat32 partition which i used to be able to write to.

what does the "unmask=0" do anyway, should i be using that instead for the other two drives?

Oh yea before i forget, when i right click on the Fat32 partitions there is the option to create a new folder and rename stuff but it is grayed out, the functions work fine when i log in as root. When i logged in as root i right clicked on the folder /mnt/c and /mnt/d, under the permissions tab it says that group cannot write to it and neither can others, only owner. I tried to tick it but it just unticked itself. I trid to change the owner but it said i couldn't. Whats going on?

Last edited by Ace2005; 06-23-2005 at 08:59 AM.
 
Old 06-23-2005, 10:43 AM   #8
Ace2005
Member
 
Registered: Dec 2004
Distribution: OpenSuSE 10.0
Posts: 140

Original Poster
Rep: Reputation: 15
Skip to format those evil disks if you dont want to read all of it

Tried to unmount the drives in kdiskfree, change the properties of /mnt/d and /mnt/e so anyone can read and write to them. then i remounted, but the changes did not stick.

Is there a higher level than root? i ask because I logged in as root at the gnome login (the kde login would not let me login as root so i had to change it back to the gnome one). So after i logged in (the desktop environment in use was KDE) i went to /mnt/ in konqueror to change the file permission to see if using KDE would change anything and it didn't. So then i tried to change the owner of the disk from root to ace2005 and it didn't let me

"Could not modify the ownership of file /mnt/e/Thumbs.db. You have insufficient access to the file to perform the change." i skipped the file but there were lots more like it

so i give up on trying to write to these stupid volumes and i coppied the information to my main 80GB disk, which now has no os (windows xp is was formatted with the reiserfs) and i can finally write to it thanks to the addition of ,user.

----===== Format those evil Disks =====------

How can i format those disks?, i would like to use something like the GUI partitioning tool in the installer of mandrake or fedora to do it. Then how can i mount the volumes. As you can see in the config file the disk has been partitioned into 2 parts, one which was used for the windows pagefile (i prefered to put the windows pagefile on another disk on a small partition so the it would not get fragmented) and the second partition is where i stored my work. They now need to be deleted and then one new partition created using all the free space.

How can i do this?

Last edited by Ace2005; 06-23-2005 at 10:48 AM.
 
Old 06-24-2005, 08:08 AM   #9
Ace2005
Member
 
Registered: Dec 2004
Distribution: OpenSuSE 10.0
Posts: 140

Original Poster
Rep: Reputation: 15
----===== Problem Sorted =====----

I used mandrake CD1 to format the hard disks, then modified fstab to make it mount the disk, logged in as root on the next restart and changed the permissions to let everyone and anyone access the disk
 
  


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
Fedora core 3 apparently not remounting root filesystem read-write during boot amundsen_eric Fedora 3 05-17-2005 05:46 AM
Delete partition created by YAST trying to install SUSE 9.2 giuliano1 Linux - Newbie 1 05-03-2005 11:14 PM
Can't change the read permissions on an NTFS partition as root? EOHooligan Linux - Newbie 4 01-09-2005 06:48 AM
Mandrake 10 install can't read partition table chessh Mandriva 7 03-14-2004 08:35 PM
boot root partition read only mrtwice Linux - General 11 10-10-2003 08:26 AM


All times are GMT -5. The time now is 03:19 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration