LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 08-11-2003, 10:31 PM   #1
moeminhtun
Member
 
Registered: Dec 2002
Location: Singapore
Distribution: Fedora Core 6
Posts: 647

Rep: Reputation: 30
log in from LILO prompt?


In suse 7.2

I changed the run-level and i couldn't boot up my Linux.
So I need to chagne the run level back.
I don't have boot-disk.
And when the start up, the Lilo prompt

"LILO boot : "

come up and then wait for a while , start booting and it failed.
So from the lilo prompt, can i log in somehow and change the run level?
How do i do that?
 
Old 08-11-2003, 10:52 PM   #2
slapNUT
Member
 
Registered: Jun 2001
Location: Recycle Bin
Distribution: Linux & Everything else on VirtualBox
Posts: 144

Rep: Reputation: 15
At lilo boot prompt type this:
linux single
 
Old 08-11-2003, 11:00 PM   #3
moeminhtun
Member
 
Registered: Dec 2002
Location: Singapore
Distribution: Fedora Core 6
Posts: 647

Original Poster
Rep: Reputation: 30
Ok I could login. (as root)
Now in order to boot up, I need to change the run-level 3 back. (I chagned runlevel 5 and it failed to boot).
But when I tried to changed /etc/inittab with "vim" editor, it says that I cannot edit because it's read only file!
How do do that?
thanks.
 
Old 08-11-2003, 11:08 PM   #4
slapNUT
Member
 
Registered: Jun 2001
Location: Recycle Bin
Distribution: Linux & Everything else on VirtualBox
Posts: 144

Rep: Reputation: 15
You need need to do this:
mount /dev/hdXY / -o remount,rw
Of course you can look in /etc/fstab to see what values to use for XY.
 
Old 08-12-2003, 12:19 AM   #5
ICO
Member
 
Registered: Aug 2003
Location: ~/.
Distribution: CentOS
Posts: 290

Rep: Reputation: 30
Quote:
Originally posted by moeminhtun
Ok I could login. (as root)But when I tried to changed /etc/inittab with "vim" editor, it says that I cannot edit because it's read only file!
How do do that?
thanks.
Use chmod command? I am new as well, hope it can help.
 
Old 08-12-2003, 12:28 AM   #6
moeminhtun
Member
 
Registered: Dec 2002
Location: Singapore
Distribution: Fedora Core 6
Posts: 647

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by slapNUT
You need need to do this:
mount /dev/hdXY / -o remount,rw
Of course you can look in /etc/fstab to see what values to use for XY.
Got it. Thanks.
 
  


Reply



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
Can't log in pure-ftpd server with IE, but can with command prompt. Yonderknight Linux - Software 16 12-01-2005 12:14 AM
When i reboot and log in im still in command prompt RynoFly Slackware - Installation 8 01-16-2005 10:59 PM
Getting to DOS prompt under LILO Abeer_V Linux - Newbie 4 09-20-2003 07:50 AM
Boot prompt from Graphical LILO ? L33t_H4x0R Linux - General 1 04-16-2002 07:31 AM
LILO prompt not appearing strikeout Linux - Software 2 04-09-2001 08:59 AM

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

All times are GMT -5. The time now is 03:10 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