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.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Yoper Linux Help
Reload this Page I locked my shelf out.
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Yoper Linux Help Officially recognised support forum for Yoper Linux.

Reply
 
Thread Tools Display Modes
Old 02-09-2005   #1 (permalink)
sirjase
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.......
__________________
Linux will open some windows and let in some fresh air.......
sirjase is offline   Reply With Quote
Old 02-09-2005   #2 (permalink)
dylunio
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)
drakebasher
Linux Guru
 
Join Date: May 2004
Location: forums.gentoo.org
Posts: 1,813
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)
dylunio
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)
drakebasher
Linux Guru
 
Join Date: May 2004
Location: forums.gentoo.org
Posts: 1,813
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)
sirjase
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
__________________
Linux will open some windows and let in some fresh air.......
sirjase is offline   Reply With Quote
Old 02-09-2005   #7 (permalink)
sirjase
Just Joined!
 
Join Date: Feb 2005
Posts: 5
eurika

if you
Quote:
push e
and then
Code:
 [tab]
you get a boot prompt
boot:
__________________
Linux will open some windows and let in some fresh air.......
sirjase is offline   Reply With Quote
Old 02-09-2005   #8 (permalink)
drakebasher
Linux Guru
 
Join Date: May 2004
Location: forums.gentoo.org
Posts: 1,813
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)
sirjase
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..
__________________
Linux will open some windows and let in some fresh air.......
sirjase is offline   Reply With Quote
Old 02-10-2005   #10 (permalink)
sirjase
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?
__________________
Linux will open some windows and let in some fresh air.......
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




All times are GMT. The time now is 08:15 PM.




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

Content Relevant URLs by vBSEO 3.0.0