View previous topic :: View next topic |
Author |
Message |
TheAxeMaster n00b
Joined: 17 Sep 2003 Posts: 50
|
Posted: Thu Sep 18, 2003 2:57 am Post subject: ummm...don't know what is going on here |
|
|
Hi,
I have the same problem in the "Problems w/ Reiserfs at reboot..." thread just below, so I know exactly how to fix it, here is the problem:
It gave me the same error messages as the other person got about where it could not read /dev/ROOT and then it takes me to a login prompt and asks for the root password and so I type it in and it does not work, so I think to myself that is strange, but there is an option to continue booting normally so I do that and it takes me to a regular login prompt and I type in the username and pass I made when I was setting this thing up and that doesn't work either. Is there any way I can reset the root pass? perhaps from the liveCD? |
|
Back to top |
|
|
bombcar Guru
Joined: 08 Apr 2003 Posts: 453 Location: Wisconsin
|
Posted: Thu Sep 18, 2003 3:07 am Post subject: Yes, you can. |
|
|
If you boot from the Live CD, and then mount all your directories under /mnt/gentoo, and then do the Code: | chroot /mnt/gentoo /bin/bash | you should be able to run passwd there and change the root password.
-Tom |
|
Back to top |
|
|
meowsqueak Veteran
Joined: 26 Aug 2003 Posts: 1549 Location: New Zealand
|
Posted: Thu Sep 18, 2003 3:21 am Post subject: |
|
|
Yes, boot from GRUB with init=/bin/bash on the kernel command line. Then you can run passwd. Alternatively boot from the LiveCD, mount your root partition on /mnt/gentoo, chroot to /mnt/gentoo and run passwd. |
|
Back to top |
|
|
TheAxeMaster n00b
Joined: 17 Sep 2003 Posts: 50
|
Posted: Thu Sep 18, 2003 3:48 am Post subject: |
|
|
thanks you guys, that worked perfectly and I was even able to redo my fstab file while I was in there and it worked just fine! |
|
Back to top |
|
|
|