LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-13-2004, 09:36 AM   #1
steeleweed
LQ Newbie
 
Registered: Jan 2004
Location: Upstate NY
Distribution: RH 7.3
Posts: 2

Rep: Reputation: 0
booting


Total newbie installed RH 7.3 on Toshiba Satellite to learn Linux.

PCMCIA not working at boot time, so I go interactive & skip that initialization and the GUI comes up. Want to drop GUI and to CLI but could not change the config data...seem to have mis-keyed root id/pwd during install. Was told I can fix if in single-user mode. Using GRUB, how do I boot in single-user mode?
Thanks
 
Old 01-13-2004, 09:58 AM   #2
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
Perhaps try 'telinit 1' ??
 
Old 01-13-2004, 11:02 AM   #3
steeleweed
LQ Newbie
 
Registered: Jan 2004
Location: Upstate NY
Distribution: RH 7.3
Posts: 2

Original Poster
Rep: Reputation: 0
At boot time, did 'c' to get to command line (bash shell)....
TAB shows commands but 'telinit' not one of them. and is rejected...tried 'terminal' but dunno options....
Alll the linux folks around here use LILO - anybody using GRUB?
 
Old 01-14-2004, 01:41 PM   #4
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
Quote:
Using GRUB, how do I boot in single-user mode?
Think I did something like this in the past; afraid can't remember the details; you'll probably have to look it up in 'info grub' - perhaps the menu.lst or menu.conf or whatever, configuration file, section.

Am not a pundit on this at all, but the thing looks a bit odd:

Is the problem that you haven't got the root, superuser, password? And the machine says you may get round this by using single user mode?

I cannot gainsay the machine, but surely it's a bit odd: It implies superuser priveliges are had by anyone who logs on single user. Bugger all point in the password then??

On the surface you can only reinstall.
 
Old 01-14-2004, 02:11 PM   #5
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
No promises here but you may want to try this. When grub comes up highlight the OS you want to boot and then hit "e", for edit, twice. Put the word "failsafe" right after where it points to the root partition. Then hit enter and then "b" for boot.

If that works, you may have to mount the root partition something like this. Try to change password first then do this.

Code:
mount -w /dev/hdX /
You should get a command line then. Type in passwd and then change the password to one you know.

I'm not sure if that will work but it shouldn't mess up nothing if you try.

No promises though.

 
Old 01-14-2004, 02:16 PM   #6
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Quote:
Using GRUB, how do I boot in single-user mode?
Instead of failsafe, putting '1' or 'single' will also work.
 
Old 01-14-2004, 02:21 PM   #7
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Did some searching and single is better. You should already be mounted and just need to change the password. Should also work with lilo.

Thanks for the correction. Never had to do it before.

Later

 
Old 01-14-2004, 03:18 PM   #8
Shachaf
Member
 
Registered: Sep 2003
Location: Port Townsend, WA
Posts: 30

Rep: Reputation: 15
In the grub boot menu, press a, and add init=/bin/bash to the command line. When you get to the bash prompt, type passwd, and enter the new password (You won't see it as you type). Then reboot, and you should be able to use that password to become root.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Booting into Single User on MDK 9 asks for root password instead of booting into root acadcworks Linux - General 6 01-10-2006 06:51 AM
booting new kernel. Booting new kernel dies with INIT: VFS issue, really mus335 Linux - General 0 04-21-2004 11:52 AM
Are you dual booting and Windows stopped working (booting) then here's the answer: rberry88 Linux - General 1 02-12-2004 09:05 AM
Booting in X cstehle Linux - Newbie 2 02-21-2002 01:48 PM
booting ,dual booting kmadhukar Linux - Newbie 1 02-02-2002 09:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:58 AM.

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