Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Root Password, password lost/forgotten
rogerdem
post Nov 15 2003, 02:38 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 23-July 03
Member No.: 1,141



I'm a snowbird in florida. Last spring I installed RH9 in florida. Then promptly left for Wisconsin. I installed RH9 in Wisconsin w/ the aid of my notes from Florida (also had my password noted in them) When I returned to Florida, didn't bring the notes, and now can not remember my password. Is there any way to work around it or do I need to reinstall my system?
Also have another problem. I recently installed Windows XP in a separate partition. (I now have 3, windows ME, Linux & XP) The windows XP placed a boot loader in that only asks for Windows ME or XP, not Linux. How can I get Linux back in the list.
Any help will be appreciated. I am still a Linux novice, so keep it simple.
Thanks
rogerdem@umich.edu dry.gif
Go to the top of the page
 
+Quote Post
hughesjr
post Nov 15 2003, 03:48 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



To add Linux to your WinXP boot menu, use bootpart when booted into WinXP. Here are instructions. You will need to make the Linux boot partition bootable (below) while fixing your password...
-----------------------------------------
If you have the RH9 CD, boot from the CD and type linux rescue.

Pick your language and keyboard type. You don't need to start the network interface (if asked).

When asked to search for previous RedHat installations, select Continue. You should get your system mounted in /mnt/sysimage ...

Now go to the command prompt, and type the command:

chroot /mnt/sysimage /bin/bash

now type the command:
passwd root

and enter a new password

NOW you need to make your Linux Partion bootable (since you are using bootpart) ... type the command:

fdisk /dev/hda

now use the option p to see the partition table ... and if partition 1 is not bootable, the use the a option to toggle a bootable flag and select partition 1 ... then do p to see that a * is now beside partiton 1 ... then do the command w to write and exit fdisk. You should now be back at the command prompt.

Type the comand exit and then press the enter key (to exit the chroot environment) then type the command exit again to reboot the computer.

Take out the CD, boot normally. You should now be able to login as root with the new password.


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd October 2017 - 06:37 AM