LinuxQuestions.org
Help answer threads with 0 replies.
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 03-14-2008, 05:10 AM   #1
hazukashi
LQ Newbie
 
Registered: Mar 2008
Posts: 1

Rep: Reputation: 0
Unhappy how to reset root password in dual boot fedora3 & winXP?


i am newbie. i had problem in my dual boot operating system.
I installed my PC with 2 operating system, Fedora3 & win XP. and after 1 month passed I forgot my root password, so i can only use my linux as another user. i've searched many articles to find out this problem, but most only gave the solution for reseting root passwd in single boot.

so for those who are good and experienced in linux, i'll be waiting for the solutions..!

NB: i use grub loader.

Thanks before, ( sorry if my english's poor..)
 
Old 03-14-2008, 05:15 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
I think you're just misinterpretting what a "single boot" means. just follow the commands they give exactly, it's nothign at all to do with dual booting, but the mode you request the linux system to load into.
 
Old 03-14-2008, 07:35 AM   #3
TheBeli
LQ Newbie
 
Registered: Feb 2008
Distribution: LFS
Posts: 23

Rep: Reputation: 15
Quote:
Originally Posted by hazukashi View Post
i am newbie. i had problem in my dual boot operating system.
I installed my PC with 2 operating system, Fedora3 & win XP. and after 1 month passed I forgot my root password, so i can only use my linux as another user. i've searched many articles to find out this problem, but most only gave the solution for reseting root passwd in single boot.

so for those who are good and experienced in linux, i'll be waiting for the solutions..!

NB: i use grub loader.

Thanks before, ( sorry if my english's poor..)
There are many ways to restore your password, in many cases you can boot into "safe mode" of your distribution from grub, boot to a live CD, mount your hard drive and modify your password, boot to Windows to do the same.

I wrote a tutorial long time ago: http://koti.mbnet.fi/lygon/rootpasswordhacking.txt
That may help you. (It's not the perfect tutorial to undestand, but hey! I was 15 yo. at the time I wrote it... heh, heh.. blah.)
 
Old 03-14-2008, 08:35 AM   #4
andreas_skw
Member
 
Registered: Jan 2008
Location: Indonesia, tanah air beta
Distribution: Knoppix v5
Posts: 97

Rep: Reputation: 15
I don't understand what you mean single boot or dual boot. I think, single boot is a computer with one operating system, and dual boot is computer with double os. no matter what, its way can be applied at various boot.
Following is the procedure to reset root password if you are using GRUB as a boot loader:

1. Select the kernel
2. Press the e key to edit the entry
3. Select second line (the line starting with the word kernel)
4. Press the e key to edit kernel entry so that you can append single user mode
5. Append the letter S (or word Single) to the end of the (kernel) line
6. Press ENTER key
7. Now press the b key to boot the Linux kernel into single user mode
8. At prompt type passwd command to reset password:

You need to mount at least / and other partitions:
# mount -t proc proc /proc
# mount -o remount,rw /

Change the root password, enter:
# passwd
Finally reboot system:
# sync
# reboot

If this way can't help your problem, try this:
at the grub prompt (try pressing ESC or c, depend on your grub behave, graphically). This should get you in as root, then simply use the passwd command to create a new password and reboot normally.

There are other ways too if you have a boot disk, but i think above is the simplist method.

Hope it will help you
 
  


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 retrieve( or reset) root password in Mandrake Linux, as I forgot my password? Reghunath Linux - Software 4 05-08-2008 04:11 AM
dual boot winXP & SuSE 10.1 YberDo Linux - Newbie 0 05-01-2007 12:38 PM
DUAL BOOT: Slackware 10.2 & WinXP sl4ckw4re Slackware 12 07-31-2006 01:16 PM
Dual boot RH9 WinXP password recovery pymehta Linux - Security 1 09-16-2005 08:54 PM
dual boot with redhat9&winXP scarabs Linux - Newbie 6 03-20-2004 03:30 PM

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

All times are GMT -5. The time now is 01:03 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