07-30-2009
There must be better ways to experiment with libc than to override it globally... In any case: What distribution are you using? If it comes with busybox, booting with the kernel parameter init=/bin/bb may bring you to a minimal but usable shell. Otherwise, you'll need to boot your system with a liveCD and take out the changes you made.
3 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I have a CentOS release 5.2 (Final)host running kernel 2.6.18-92.el5 with at raid 10 that had two mirrored drives fail. The drives were re-inserted and now the raid shows healthy (for now). I tried to mount but got an Input/output error. I then attempted a fsck:
fsck.gfs2 -y /dev/vg_01/uss_vol... (0 Replies)
Discussion started by: king_hippo
0 Replies
2. Red Hat
Hi Friends,
Can someone help me with below issue , thanks.
Subject : Unable to configure "Reliance NetConnect" on RHEL 5
Here some helpful information :
# lsusb
Bus 001 Device 001: ID 0000:0000
Bus 001 Device 002: ID 8087:0020
Bus 001 Device 003: ID 192f:0416
Bus 002 Device... (0 Replies)
Discussion started by: arunraj192
0 Replies
3. UNIX for Beginners Questions & Answers
Cannot present unpresented disks back again. On a test server tried this as a solution "multipath -r" and it worked. Too worried to try it in production before I know all the information.
Any info would be appreciated!
Also some links to the documentation on this specific issue could help a... (1 Reply)
Discussion started by: jsteppe
1 Replies
INIT(8) System Manager's Manual INIT(8)
NAME
init - initialize machine upon booting
SYNOPSIS
/$cputype/init [ -ctm ] [ command ... ]
DESCRIPTION
Init initializes the machine: it establishes the name space (see namespace(4) and newns in auth(2)), and environment (see env(3)) and
starts a shell (rc(1)) on the console. If a command is supplied, that is run instead of the shell. On a CPU server the invoked shell runs
cpurc(8) before accepting commands on the console; on a terminal, it runs termrc and then the user's profile. Options -t (terminal) and -c
(CPU) force the behavior to correspond to the specified service class. Otherwise init uses the value of the environment variable $service
to decide the service class.
Init sets environment variables $service (either to the incoming value or according to -t or -c), $objtype (to the value of $cputype),
$user (to the contents of #c/user), and $timezone (to the contents of /adm/timezone/local).
With option -m init starts only an interactive shell regardless of the command or service class.
On a CPU server, init requires the machine's password to be supplied before starting rc on the console.
Init is invoked by boot(8), which sets the arguments as appropriate.
SOURCE
/sys/src/cmd/init.c
SEE ALSO
rc(1), auth(2), boot(8)
INIT(8)