how to reset root password in dual boot fedora3 & winXP?
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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..!
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.
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.)
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 /
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.