LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 12-25-2004, 12:01 AM   #1
cyberfox1234
LQ Newbie
 
Registered: Nov 2004
Posts: 10

Rep: Reputation: 0
single user boot...


i have mandrake linux..i forgot the root passwd...whaen i try to lilo boot prompt where the key "i" not working all other key are working properly...only "i" is the problem...what should do type "i" in lilo prompt....please help me....
 
Old 12-25-2004, 12:30 AM   #2
student04
Member
 
Registered: Jan 2004
Location: USA
Distribution: macOS, OpenBSD
Posts: 669

Rep: Reputation: 34
Does LILO give you options to select when you boot up your computer, at all?
 
Old 12-25-2004, 12:41 AM   #3
cyberfox1234
LQ Newbie
 
Registered: Nov 2004
Posts: 10

Original Poster
Rep: Reputation: 0
yes lilo prompt give the options but it does not show the "linux 1"options...but we have to type the option ....please help me..
 
Old 12-25-2004, 12:45 AM   #4
student04
Member
 
Registered: Jan 2004
Location: USA
Distribution: macOS, OpenBSD
Posts: 669

Rep: Reputation: 34
if you can type an option, try typing "single"... but you can't press the "i" key? Is that the problem?
 
Old 12-25-2004, 12:51 AM   #5
cyberfox1234
LQ Newbie
 
Registered: Nov 2004
Posts: 10

Original Poster
Rep: Reputation: 0
yes sir, that is my problem i can not press the key "i"...please help me...
 
Old 12-25-2004, 01:40 AM   #6
student04
Member
 
Registered: Jan 2004
Location: USA
Distribution: macOS, OpenBSD
Posts: 669

Rep: Reputation: 34
well... may i suggest you try another keyboard? And what are the "linux 1" options you mentioned? I don't know what those are.
 
Old 12-25-2004, 01:47 AM   #7
cyberfox1234
LQ Newbie
 
Registered: Nov 2004
Posts: 10

Original Poster
Rep: Reputation: 0
okay thank you......sir
 
Old 12-25-2004, 01:50 AM   #8
student04
Member
 
Registered: Jan 2004
Location: USA
Distribution: macOS, OpenBSD
Posts: 669

Rep: Reputation: 34
May I ask, what options you have already tried?
 
Old 12-25-2004, 02:23 AM   #9
Flamenco
LQ Newbie
 
Registered: Nov 2004
Location: VIET NAM
Distribution: Mandrake Linux 10.0 Official
Posts: 21

Rep: Reputation: 15
Re: single user boot...

Quote:
Originally posted by cyberfox1234
i have mandrake linux..i forgot the root passwd...whaen i try to lilo boot prompt where the key "i" not working all other key are working properly...only "i" is the problem...what should do type "i" in lilo prompt....please help me....
You can boot with LILO Text Menu. Type:

single linux

then type:

passwd

then type new root's password
 
Old 12-25-2004, 02:52 AM   #10
student04
Member
 
Registered: Jan 2004
Location: USA
Distribution: macOS, OpenBSD
Posts: 669

Rep: Reputation: 34
Re: Re: single user boot...

Quote:
Originally posted by Flamenco
You can boot with LILO Text Menu. Type:

single linux

then type:

passwd

then type new root's password
cyberfox1234 stated that the "i" button cannot be pressed on his/her keyboard, thus "single" cannot be typed.
 
Old 12-25-2004, 03:10 AM   #11
Flamenco
LQ Newbie
 
Registered: Nov 2004
Location: VIET NAM
Distribution: Mandrake Linux 10.0 Official
Posts: 21

Rep: Reputation: 15
Sorry! So bad! Hi`hi`! It's the final times! Sorry!
 
Old 12-25-2004, 11:53 AM   #12
student04
Member
 
Registered: Jan 2004
Location: USA
Distribution: macOS, OpenBSD
Posts: 669

Rep: Reputation: 34
Quote:
Originally posted by Flamenco
Sorry! So bad! Hi`hi`! It's the final times! Sorry!
Haha I'm not a moderator or anyone important. I just stated that because I thought you might have overlooked it, and was just tyring to be nice. No need to apologize...

cyberfox1234: My suggestion would be to get a keyboard that doesn't have any broken keys and try typing what was suggested by everyone. If none work, post back and we'll see what else you could do to fix your problem But if there is nobody in the area that would have an extra keyboard.. then maybe try pressing the <Tab> key at the LILO prompt. Does that give you a list of options to boot from? If yes, type "s" then try <Tab> again, and maybe it will auto-complete the word for you . If <Tab> doesn't work... then i'm not quite sure what you could do

Last edited by student04; 12-25-2004 at 11:58 AM.
 
Old 12-25-2004, 12:19 PM   #13
fenderman11111
Member
 
Registered: Jun 2004
Location: Denton
Distribution: debian, freebsd
Posts: 121

Rep: Reputation: 15
perhaps you could try something like knoppix or DSL, and edit passwd and shadow manually....also, you will need sudo. If you don't have it this won't work.

i've never tried this but i imagine it would work.

boot it up:
Code:
boot: knoppix 2
mount your root partition, whatever it is...
Code:
# mount /dev/hda1 /mnt/hda1
then :
Code:
# cd /mnt/hda1/etc
open up the sudoers file with vim or your favorite console editor.
Code:
# vim sudoers
add the line:
user ALL=NOPASSWD: ALL

where user is replaced with your normal username.

then, open up the /etc/shadow file.
change the hash to an asterisk. reboot normally, open up xterm, run "sudo su", and then run passwd. Then, Shut down your computer, get in your car, go to walmart and get a new keyboard for $10

OR... skip all that and go to walmart first.

If you try this, let me know, I'm curious as to whether or not it will work

Last edited by fenderman11111; 12-25-2004 at 12:28 PM.
 
Old 12-25-2004, 09:06 PM   #14
Flamenco
LQ Newbie
 
Registered: Nov 2004
Location: VIET NAM
Distribution: Mandrake Linux 10.0 Official
Posts: 21

Rep: Reputation: 15
Quote:
Then, Shut down your computer, get in your car, go to walmart and get a new keyboard for $10

OR... skip all that and go to walmart first.

If you try this, let me know, I'm curious as to whether or not it will work
I 'm thought that!
 
  


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
How to boot RO && Single User Mode to test hdparm ??? skouket Slackware 5 06-21-2005 07:29 AM
How do you boot in to single user mode in knoppix? Thaidog Linux - General 1 05-16-2005 01:42 PM
How to boot in single-user mode in Slackware 9.1 rsamurti Slackware - Installation 8 05-13-2004 04:03 PM
single-user mode can't boot eye Red Hat 1 11-19-2003 04:08 AM
grub boot loader and single user mode midnightcommander Linux - General 1 04-02-2001 04:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 07:11 PM.

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