LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-13-2003, 12:02 AM   #1
stateq2
Member
 
Registered: May 2003
Location: US
Distribution: Ubuntu
Posts: 30

Rep: Reputation: 15
HELP accidently unmounted root!!


I was using autofs, and i accidently mounted my cdrom on root "/" . after restart I can't even login because it can't read init.d. the bootloader is lilo. is there any other way to login as root, so i fix this problem. all i need to do is edit my "/etc/auto.master" file to get things working right. Thanks.

I just thought of something. maybe I could edit the file from windows. Is there a program that will let me view and modify files on Ext3 from windows?
 
Old 07-13-2003, 12:59 AM   #2
chiatello
Member
 
Registered: Jul 2003
Distribution: gentoo
Posts: 42

Rep: Reputation: 15
i dont know about windows



but get a boot-cd linux distro


knoppix/knoppix-std


and you can edit files from there
 
Old 07-13-2003, 01:55 AM   #3
stateq2
Member
 
Registered: May 2003
Location: US
Distribution: Ubuntu
Posts: 30

Original Poster
Rep: Reputation: 15
Why didn't i think of that? I have knoppix and will give it a try
 
Old 07-13-2003, 02:43 AM   #4
stateq2
Member
 
Registered: May 2003
Location: US
Distribution: Ubuntu
Posts: 30

Original Poster
Rep: Reputation: 15
I'm in knoppix right now. When i try to edit the file that is located in the mounted debian drive, it says the file is read-only and won't write. I guess there is no way to change this, considering the whole filesystem is read-only. Any ideas before i reinstall?
 
Old 07-13-2003, 01:17 PM   #5
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
No, no need to reinstall.

Knoppix defaults to read-only just to be safe. Right-click the partition icon on the desktop that contains the file you need to modify. There should be a "Mount read/write" or "Change read/write mode" or something like that. Tell it to mount the drive in write-capable mode, and you should be able to edit it normally.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I eject unmounted dvd? linmix Linux - Software 5 10-02-2005 01:56 PM
Root FIlesystem not cleanly unmounted bouke Fedora 2 08-03-2004 01:24 PM
Cd-Rom Must Be Unmounted to Eject mooreted Slackware 2 04-06-2004 07:53 PM
unmounted CDWriter won't eject bro Linux - Hardware 5 08-26-2003 05:32 PM
help!!! error cleanly unmounted. adam_boz Linux - General 3 07-27-2002 11:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:49 PM.

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