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 > Other Distributions > Yoper Linux Help > I locked my shelf out.

Forgot Password?
 Yoper Linux Help   Officially recognised support forum for Yoper Linux.

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 02-09-2005   #1 (permalink)
Just Joined!
 
Join Date: Feb 2005
Posts: 5
I locked my shelf out.

I wrote a script to start ssh:Apache:mysql
Placed it in the sys.int script. Launch the script and now I'm locked out. I need a floppy or cd where I can get in and mount the partition and fix the sys.int file
After you stop lol'ing any thought would be nice I need this server.......
sirjase is offline  


Reply With Quote
Old 02-09-2005   #2 (permalink)
Linux Guru
 
dylunio's Avatar
 
Join Date: Aug 2004
Location: Cymru
Posts: 4,157
You could download a live cd like Knoppix or Slax and boot it up, mout your Yoper drive, and then edit the sys.int script from there.

check out www.distrowatch.org for were to download these live cd's.

I'm not laughing btw

dylunio
__________________
Registered Linux User #371543!
Get force-get May The Source Be With You
/dev/null
/dev/null2
dylunio is offline   Reply With Quote
Old 02-09-2005   #3 (permalink)
Linux Guru
 
Join Date: May 2004
Location: forums.gentoo.org
Posts: 1,814
I think you should be able to boot in "single" mode to fix it:
http://www.linuxforums.org/forum/top...light=password
__________________
/IMHO
//got nothin'
///this use to look better
drakebasher is offline   Reply With Quote
Old 02-09-2005   #4 (permalink)
Linux Guru
 
dylunio's Avatar
 
Join Date: Aug 2004
Location: Cymru
Posts: 4,157
thanks for the other suggestion drakebasher, as always there are many different ways of doing things in linux, its just I'm rather fond of Slax...

dylunio
__________________
Registered Linux User #371543!
Get force-get May The Source Be With You
/dev/null
/dev/null2
dylunio is offline   Reply With Quote
Old 02-09-2005   #5 (permalink)
Linux Guru
 
Join Date: May 2004
Location: forums.gentoo.org
Posts: 1,814
Sorry, dylunio. Notice, we have exactly the same time-stamp of 4:52
__________________
/IMHO
//got nothin'
///this use to look better
drakebasher is offline   Reply With Quote
Old 02-09-2005   #6 (permalink)
Just Joined!
 
Join Date: Feb 2005
Posts: 5
Thankx for the fast reply

While boot I tried to press e but it just stops the splash. So I'm down loading
Knoppix,Slax,BeatrIX
This will take a while.
The distros are larger than I need for this
all I need is a kernel some way to mount hda1 and an editor
sirjase is offline   Reply With Quote
Old 02-09-2005   #7 (permalink)
Just Joined!
 
Join Date: Feb 2005
Posts: 5
eurika

if you
Quote:
push e
and then
Code:
 [tab]
you get a boot prompt
boot:
sirjase is offline   Reply With Quote
Old 02-09-2005   #8 (permalink)
Linux Guru
 
Join Date: May 2004
Location: forums.gentoo.org
Posts: 1,814
You don't really want the prompt (grub>). You want to get to the boot script used by Grub. When the splash comes up, press any key (I favor the up-down arrow keys because they don't send a character). That will stop the countdown timer. THEN you press 'e' after selecting the correct "title" on the menu, using the up-down arrow keys. That should show you the three lines used to boot, with initial keywords of: 'root', 'kernel' and 'vmlinuz'. Then, select the line to edit (starts with 'kernel'), press 'e' again, and that's when you add the word "single", at the end of the line. I hope that's clear and helpful.
__________________
/IMHO
//got nothin'
///this use to look better
drakebasher is offline   Reply With Quote
Old 02-09-2005   #9 (permalink)
Just Joined!
 
Join Date: Feb 2005
Posts: 5
press'e'

Correct pressing down arrow key stoppes the timer,
However pressing
Code:
 'e'
does nothing....
If I press tab I get a
Code:
Boot:
If I hit Tab again I get a menu
but ther is only one option
Quote:
YOS
There are no other options here..
sirjase is offline   Reply With Quote
Old 02-10-2005   #10 (permalink)
Just Joined!
 
Join Date: Feb 2005
Posts: 5
dylunio Thanks

SLAX to the rescue.........
Worked like a charm............
:P :P :P :P :P :P
Thankx a bunch
would you like to see what got me into this mess?
Code:
# start Apache web server
cd /usr/local/apache2/bin/
./apachectl start
echo "apache up"
echo "time for mysql"
cd /usr/bin/
./mysql_safe
#start ssh
/usr/bin/sshd
for some reason safe_mysqld just hangs like its in debug mode. How do I make it go into damon mode?
This why I got locked out.
and sshd doesn't start becaus of this reason....
any suggestions?
sirjase 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 10:59 AM.






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

Content Relevant URLs by vBSEO 3.3.0 RC2