Linux - NewbieThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I need to get into Rescue mode in Mandrake 9.1. and delete something in the 'rc.local' file.
But I need to know how to go there . When the GRUB windows shows up what do I need to do from there to go into rescue mode and edit the rc.local directory?
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.
Boot the 1st install CD. When it boots to the prompt where it says press enter to continue or <f1> for other options etc etc.. Type in rescue and the press the enter key.
Bare with me since the rest is from memory. There should be a menu that you can mount the partitions. Navigate to your / partiton /mnt/<something>/etc directory and use vi text editor.
vi rc.local
vi is a little cryptic. Press the Insert key to enter insert mode. Esc key to exit
Press :w to write file
Press :q to quit, :!q to quit without saving.
http://www.linuxquestions.org/questi...24#post1130124 - when you see grub come up on your screen, press the key marked "Esc" or "E" (that's "e" with the shift key depressed). You will then be able to type. Type "1" without the quotes and hit enter. If you have pico or nano or emacs installed, type in "nano /etc/rc.d/rc.local" do your editing and then save the file. Reboot.
Jeebers - I hope you don't get this panicky/flustered/rude in your business life.
unixfreak, i've already warned you once this hour about being rude to the members of this site, please understand that if you take the instructions that are already written on this page you *WILL* fix your problem, no doubt about it. simply regularly ignoring all previous advice and demanding a brand new solution yet again will get you nowhere. do exactly what michaelk says inside vi. you will be ok.
When VI opens, what should I type or do? I know I should hit Insert Key and then from there how do I delete the entry in rc.local.
vi rc.local
vi is a little cryptic. Press the Insert key to enter insert mode. Esc key to exit
Press :w to write file
Press :q to quit, :!q to quit without saving.
It does not say anything about a Delete entry command. above
You don't need to hit the insert key. When you're in vi, use the arrow keys to go to the line you want to delete and then type "dd" (i.e. press the "d" key twice in close succession. Then save and quit by typing ":wq" (colon w q). You are now done.
BTMiller wrote:
You don't need to hit the insert key. When you're in vi, use the arrow keys to go to the line you want to delete and then type "dd" (i.e. press the "d" key twice in close succession. Then save and quit by typing ":wq" (colon w q). You are now done.
Ok I got it. But one thing. How could I locate the rc.local and delete an entry???
And what line are you takling about??? Please explain.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.