Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Knoppix Help Forum > Read Write Access (So far nothing has worked)

Forgot Password?
 Knoppix Help Forum   For all discussions about Knoppix, the Linux "Live CD" that lets you run Linux without needing to install on your hard drive.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 01-26-2006   #1 (permalink)
Linux Enthusiast
 
flipjargendy's Avatar
 
Join Date: Aug 2004
Location: Xanadu, Titan, Saturn
Posts: 567
Unhappy Read Write Access (So far nothing has worked)

i've been looking through posts but nothing has helped so far. i've googled it as well but have found nothing. i'm trying to get one of my partitions (hda1) to allow me to write to it. It's another linux partition that i've messed up... i cannot changed the root User Id and cannot write to any config files anymore. i am trying to change root's user id manually now by editing /etc/passwd, shadow and group. i am trying to use Knoppix to write to those files but i cannot gain write access to either my NFS partition or my Linux partition. i've changed the preferences in the Hard Drive options so that it isn't read only and i've changed the group settings with the same GUI. Nothign has worked. i will take any help i can get. Please give me ideas.

Thanks in advance
flipjargendy is offline  


Reply With Quote
Old 01-26-2006   #2 (permalink)
Linux Guru
 
bryansmith's Avatar
 
Join Date: Nov 2004
Location: /Ontario/Canada
Posts: 2,623
Have you tried using root from the command line? I know it sounds like a stupid question but just in case . I believe knoppix has no root password so you should be able to su into root from the command line.

Bryan
__________________
Looking for a distro? Look here.
"There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
Queen's University - Arts and Science 2008 (Sociology)
Registered Linux User #386147.
bryansmith is offline   Reply With Quote
Old 01-26-2006   #3 (permalink)
Linux Enthusiast
 
flipjargendy's Avatar
 
Join Date: Aug 2004
Location: Xanadu, Titan, Saturn
Posts: 567
Root...

Yep, i've used 'su' and tried to edit the file and i've also tried while not logged into root. Each time i try to save it says that it's a read-only.
flipjargendy is offline   Reply With Quote
Old 01-26-2006   #4 (permalink)
Linux Guru
 
AlexK's Avatar
 
Join Date: Feb 2005
Location: Earth
Posts: 3,380
have you tried chrooting into the partition, i.e. try the following steps:
mount hda1 somewhere
become root
then
chroot /path_to_mounted_partition /bin/bash

now go about editing to your heart's content.
__________________
Life is complex, it has a real part and an imaginary part.
AlexK is offline   Reply With Quote
Old 01-26-2006   #5 (permalink)
Linux Enthusiast
 
flipjargendy's Avatar
 
Join Date: Aug 2004
Location: Xanadu, Titan, Saturn
Posts: 567
No go...

It didn't work, it does exactly what it does when i'm trying to user root on Kubuntu. The console looks like this:
Quote:
I have no name!@Knoppix:/#
And vi (my prefered text) gives me this error when i try to edit the file:
Quote:
E45: 'readonly' option is set (add ! to override)
What command should i use when i save the file? Usually i just hold shift and hit the 'z' key twice.
flipjargendy is offline   Reply With Quote
Old 01-26-2006   #6 (permalink)
Linux Guru
 
bryansmith's Avatar
 
Join Date: Nov 2004
Location: /Ontario/Canada
Posts: 2,623
I usually use:
Code:
!wq
I don't know if that will make a difference but it might.

Second, what filesystem is the messed up partition? Third, how is it messed up?

Bryan
__________________
Looking for a distro? Look here.
"There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
Queen's University - Arts and Science 2008 (Sociology)
Registered Linux User #386147.
bryansmith is offline   Reply With Quote
Old 01-27-2006   #7 (permalink)
Linux Enthusiast
 
flipjargendy's Avatar
 
Join Date: Aug 2004
Location: Xanadu, Titan, Saturn
Posts: 567
No go either, i guess i'm going to have to reinstall

i tried "wq!" instead of "!wq" (it said command not found) and vi said that the file was not available to open. i guess i'll try irc quick before i reinstall.

Man, i've got to stop messing around with stuff. This is my second time reinstalling.

The reason things aren't working is because i changed the User ID of root. i'm trying to change it back manually. If you've got any ideas i'll check back here before i start over again. This means i'll have to download Phish again
flipjargendy is offline   Reply With Quote
Old 01-27-2006   #8 (permalink)
Linux Guru
 
bryansmith's Avatar
 
Join Date: Nov 2004
Location: /Ontario/Canada
Posts: 2,623
Don't get discouraged. Tinkering with your system is part of the learning experience. I have reinstalled countless times because I have messed something up. With that said, I have learned more than I would if I hadn't tinkered with my system.

Bryan
__________________
Looking for a distro? Look here.
"There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
Queen's University - Arts and Science 2008 (Sociology)
Registered Linux User #386147.
bryansmith is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 05:00 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2