Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

[SOLVED with chroot] Root password not set: I can't log in

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
telebabbo
n00b
n00b
Posts: 55
Joined: Tue Nov 23, 2010 6:28 pm

[SOLVED with chroot] Root password not set: I can't log in

  • Quote

Post by telebabbo » Sat Jul 09, 2011 3:00 pm

Hi all

I've just finished gentoo installation, step-by-step according to the official Handbook, but I noticed I haven't set system password...

After reboot I can't log in...

Ideas?

[please, don't tell me "do everything again" :( ]

T.
Last edited by telebabbo on Sat Jul 09, 2011 3:37 pm, edited 1 time in total.
Top
jcTux
Apprentice
Apprentice
User avatar
Posts: 276
Joined: Tue Dec 29, 2009 3:57 pm
Location: Tours, France

  • Quote

Post by jcTux » Sat Jul 09, 2011 3:27 pm

Just boot with a live cd again.
Chroot (follow the handbook).
And set the password.

Code: Select all

# passwd
Top
sebaro
Veteran
Veteran
User avatar
Posts: 1141
Joined: Mon Jul 03, 2006 5:49 am
Location: Romania
Contact:
Contact sebaro
Website

  • Quote

Post by sebaro » Sat Jul 09, 2011 3:31 pm

Just the chrooting part.
Boot from the media you used to install the system.

Code: Select all

mount /dev/ROOT /mnt/gentoo
mount -t proc none /mnt/gentoo/proc
chroot /mnt/gentoo /bin/bash
env-update && source /etc/profile
passwd
exit
umount /mnt/gentoo/proc
umount /mnt/gentoo
reboot
Top
telebabbo
n00b
n00b
Posts: 55
Joined: Tue Nov 23, 2010 6:28 pm

  • Quote

Post by telebabbo » Sat Jul 09, 2011 3:36 pm

jcTux wrote:Just boot with a live cd again.
Chroot (follow the handbook).
And set the password.

Code: Select all

# passwd
Worked perfectly
Top
Post Reply

4 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy