[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: FAQ (fwd)



--- Moses Wildermuth <MosesPro@ecity.net> wrote:
> Hello %f,
> 
> *** Begin of forwarded message ***
> 
> Date: 17-Nov-00 10:39:06
> From: Moses Wildermuth <MosesPro@ecity.net>
> Subject: Re: FAQ
> 
> --- Forwarded message follows ---
> 
> 
> From the desk of Moses Wildermuth. Money Talks Enterprises, 
> http://moneytalks.giftworldnet.com/  
> 
> > Hi.
> > On Thu, 16 Nov 2000, Robyn Manning wrote:
> >> To start linux without going to xdm you need to edit the inittab file in
> >> the /etc directory. On the line id:5:initdefault: change the 5 to a 3.
> >> This changes the run level, different run levels start linux in
> different
> >> modes. You'll need to be root to make this change. After making this
> >> change restart linux and it will start in text mode and you'll need to
> >> use startx to start 'X'. Moses Wildermuth wrote:
>  
> I tried this and it didn't work very well, in fact a BADThing®  happened. 
> I
> edited /etc/inittab and my file said id:3:initdefault, so I cahnged it to
> id:2:initdefault and rebooted the machine.  After initiating linux from the

2 would be multi-user without network/nfs connectivity.

> Amiga side again, the machine acted the same way, going into xdm and
> endlessly asking for password, so i looked at the comments at the bottom. 
> They said level 1=single user, 2-5=multiple user, 6=maintenance mode.  So I
> tried id:1:initdefault figuring this must be what you were talking about. 
> Ooops, bad idea.  after rebooting, et. al., linux on't boot up, it starts
> going thru the motions and stops dead in its tracks.  last line on the

runlevel 5 normally means, everything at run-level 3, plus run xdm to fire up
X and give a GUI login.  This is normally done with either a script run from
/etc/rc.d/ or /etc/init.d (I forget which one debian uses), or by having an
entry inside inittab.  You will notice a set of numbers in the inittab file
that says what daemons or script to run at each run-level.  For example, you
will getty's like :

1:2345:respawn:/sbin/mingetty tty1

The 1 is just an id, the 2345 are the run-levels to run at, notice getty
doesn't run at run-level 1 cause you should have a single shell.  Exiting the
shell should reboot.

The scripts are started from :

l5:5:wait:/etc/rc.d/rc 5

which spawms all the scripts for run-level 5 (for a SysV style init anyway),
a BSD init doesn't have seperate scripts for each service.

you might also have a line like :

x:5:respawn:/etc/X11/prefdm -nodaemon

with prefdm or xdm in there .. that is your xdm login screen - comment it
out, and you'll never see a GUI login, add more numbers near the 5 to get GUI
logins in other run-levels


Normally 6 is "reboot" for Unix systems, and for Linux x86.  "maintenance
mode" generally refers to single user mode.  I don't know if that is an
error, or if the Amiga version is real special.

> screen has to do with the clgen driver but I don't think that is the real
> problem.  I tried to switch to other Virtual Terminals and nothing, no hard

Ince you switch to single user mode, you should get a root shell prompt '#'. 
You will not have any drives mounted other than the root partition, and that
will be mounted read-only.  Any changes require a mount or remount of the
drive.

You do NOT have virtual terminals in single-user mode.

> drive activity either.  I tried twice just to be sure.  Darn it.  Unless I
> missed something and the machine is actually just not showing me me
> everything(ie there is text outside of my screen, waiting for input), it
> means a total reinstall.  Not placing blame really, just wondering what
> went wrong nad if I can still get where I need to go from here.

You will need to change that file back to run-level 3.  If you have a prompt,
just type 'init 3' and then when the system comes up to level 3, you can
change the /etc/inittab file back.  Otherwise, use a rescue disk (such as
linux installed on a floppy with a few handy tools like mount, fsck, fdisk,
mkfs, and a small text editor) to mount your drive and edit the file.

> 
> On a side note, before trying this I tried jumping in and out of X.  after
> using ctrshift-fkey to get out of X and back to VT, nothing will let me
> back in.  I tried ctrl-alt-fkeys and even ctrl-amiga-fkeys.  It didn't
> work.  maybe there is a special key combinstion for Amiga that I am not
> aware of.

under x86, shift-F7 (without control) will take you to X, unless there is a
bug in the VT driver.

> 
> Other than this foulup, which is really my fault for trying something on my
> own, you guys are the friendliest and have given the best advice of all the
> linux type mailing lists I am on.  Thanks for all that.
> 
> Regards 
> -- 
> MosesPro --> Money Talks Enterprises
> 
> http://www.angelfire.com/ia/mosespro, ICQ-13469530, AIM-Wolfy2264
> A3000D, Warp040/40, Spectrum, ASDG Xserial, Nexus, 2+64 Fast+8 DMA(RAD:),
> 9+1.2gig SCSI2, Zip100 and  Pinnacle 2X CDR/W; Running Hot with OS3.5 and
> Scalos1.2! Emulating MacOS7.61 and Win3.11WFW, Debian68k, X is next.
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/



Reply to: