Find the answer to your Linux question:
Results 1 to 9 of 9
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    cannot login /*SOLVED*/


    hi all,

    at last i have gentoo installed, only thing is, it wont let me login

    any suggestions?

    david

  2. #2
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,901
    What happens when you try to login?
    Do you get incorrect password?

    Have you tried this using the Gentoo livecd?
    Boot up with it.
    mount /dev/hdxx /mnt/gentoo
    chroot /bin/bash /mnt/gentoo
    passwd
    for a new root password
    If you want to learn more about linux take a linux journey
    https://linuxjourney.com/
    Use CODE tags when posting output of commands. Thank you.
    https://www.linuxcounter.net/cert/608410.png

  3. #3
    hi bud,

    i haven't created a root password yet, i am trying as root with no pass and its not letting me in.

    thx

  4. $spacer_open
    $spacer_close
  5. #4
    also, when inside the chroot i cant do useradd, groupadd etc either

  6. #5
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,901
    You need to give a root password first.
    After chrooting, just do "passwd"
    If you want to learn more about linux take a linux journey
    https://linuxjourney.com/
    Use CODE tags when posting output of commands. Thank you.
    https://www.linuxcounter.net/cert/608410.png

  7. #6
    ok i'll try that

  8. #7
    turns out i was missing stuff.

    i ran emerge system and updated the /etc files

    that done the trick

    thx all

  9. #8
    could chroot /bin/bash /mnt/gentoo
    perhaps be chroot /mnt/gentoo /bin/bash ?

  10. #9
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,901
    Quote Originally Posted by omeko
    could chroot /bin/bash /mnt/gentoo
    perhaps be chroot /mnt/gentoo /bin/bash ?
    If you want to learn more about linux take a linux journey
    https://linuxjourney.com/
    Use CODE tags when posting output of commands. Thank you.
    https://www.linuxcounter.net/cert/608410.png

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •