LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 06-10-2003, 06:45 AM   #16
Tigger
Member
 
Registered: May 2003
Posts: 168

Original Poster
Rep: Reputation: 30

by the way, what does this manual mounting actually mean?

When and if i do recover the machine using this, what are the consequences?

thanks
 
Old 06-10-2003, 06:48 AM   #17
Tigger
Member
 
Registered: May 2003
Posts: 168

Original Poster
Rep: Reputation: 30
remember. my machine stops at bash -2 05b#. So can i do a manual mount?
 
Old 06-10-2003, 07:00 AM   #18
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
All I can remember is you use some command like:

mount / -o remount, rw

If it does work it'll only last until you reboot.

I'd wait till someone else comments on it first though as I don't want to make things worse for you
 
Old 06-10-2003, 07:12 AM   #19
Tigger
Member
 
Registered: May 2003
Posts: 168

Original Poster
Rep: Reputation: 30
What about this one looking lost?


run the command

mount

and

cat /proc/mounts

I do not know what it does but i got it from another thread.
 
Old 06-10-2003, 07:22 AM   #20
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
Yeah, they'll tell you if they are already mounted read, write.


rw at the end
 
Old 06-10-2003, 07:44 AM   #21
Tigger
Member
 
Registered: May 2003
Posts: 168

Original Poster
Rep: Reputation: 30
ok, thanks
 
Old 06-10-2003, 03:05 PM   #22
MArgRes
Member
 
Registered: Jun 2003
Distribution: Fedora Core 2
Posts: 37

Rep: Reputation: 15
YES you would have to do an 'su -' in order to edit a file with those permissions. So, try this:

'su -'
(enter root password when prompted)

Then try editing the file, putting back the ! in the first line.

If it is failing because the partition is mounted read-only, try remounting it like this:

mount -t <filesystem-type> -o remount,rw <device> <mountpoint>

This should make it remount as read-write so that you can edit it. To find out what <filesystem-type>, <device>, and <mountpoint> it is using already, just type the 'mount' command by itself and you can find out. This will also tell you how it is mounted: 'ro' is read-only 'rw' is read-write.

Hope that helps!!!
 
Old 06-10-2003, 04:21 PM   #23
Tigger
Member
 
Registered: May 2003
Posts: 168

Original Poster
Rep: Reputation: 30
thanks margres, i will try it today
 
Old 06-10-2003, 04:36 PM   #24
Satriani
Member
 
Registered: Mar 2003
Location: The Netherlands
Distribution: Red Hat 7.3, Red Hat 9, Solaris8, Slackware 10, Slax on USB, AIX, FreeBSD, WinXP, AIX, Ubuntu
Posts: 418

Rep: Reputation: 30
Maybe I'm giving a very stupid suggestion here, but some files say they are read-only, even when logged in as root. when using vi as your editor, and you just type :wq it will mention the fact that it's read-only.. (Yes even as root!) No worries, edit the file and end then with :wq! (Exlamation point just overrules the r-o option....)

Good luck.
 
Old 06-10-2003, 08:49 PM   #25
Tigger
Member
 
Registered: May 2003
Posts: 168

Original Poster
Rep: Reputation: 30
Hi

I want to thank everyone for helping me and also advise what worked!!!

None of the above worked other than booting from CD and using the rescue option and then typing chroot /mnt/sysimage. I was then able to edit the file and reboot.

Just one question, when the server rebooted, i noticed that when it came to mount points it said there were no mountpoints. Is this anything to worry about? However, i can get into my server now just fine and it is working!!!

I LOVE THESE GROUPS!!!!
 
Old 06-11-2003, 07:51 AM   #26
Tigger
Member
 
Registered: May 2003
Posts: 168

Original Poster
Rep: Reputation: 30
so, the fact that i ran chroot /mnt/sysimage does not hurt anything?

When i rebooted the server it came up that there was no mountpoint. Is this anything to worry about?
 
  


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
How the DNS-server is connected to work of a web-server and a mail-server? ukrainet Linux - Newbie 2 01-10-2005 09:18 PM
Relay Server<-> GatewayServer<->filtering server: PostFix, amavis,spamassassin, cyrus admore Linux - General 0 11-02-2004 08:46 AM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 06:21 AM
Unable to access my ssh server and ftp server from the Internet, but smtp works foxone Linux - Networking 1 05-28-2004 05:17 PM
Linux app-server to server StarOffice to Windows Clients: Need advice biosx Linux - Networking 3 08-14-2002 10:14 AM


All times are GMT -5. The time now is 08:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration