View previous topic :: View next topic |
Author |
Message |
lianlian n00b
Joined: 09 Apr 2005 Posts: 30
|
Posted: Tue Apr 12, 2005 11:01 pm Post subject: can't login on linux sparc64 2.4.29-sparc |
|
|
after the 4th time installing gentoo, i am finnally at the login screen.
it shows
and i tried login in with root but didn't let me in, i typed my password correctly but still can't, so i then try boot cdrom and
Code: |
useradd your_user -m -G users,wheel,audio -s /bin/bash
passwd a
****
****
reboot
|
still i can't login with a, what is wrong? do i -s /mnt/gentoo/bin/bash ? |
|
Back to top |
|
|
inode77 Veteran
Joined: 20 Jan 2004 Posts: 1303 Location: Heart of Europe
|
Posted: Tue Apr 12, 2005 11:04 pm Post subject: |
|
|
My guess would be a wrong keyboard layout, but I don't know any layout that have the 'a' @ another place than where it normally is.
You could try it on the username line.
Post back if it isn't the keyboardlayout. |
|
Back to top |
|
|
lianlian n00b
Joined: 09 Apr 2005 Posts: 30
|
Posted: Wed Apr 13, 2005 12:08 am Post subject: |
|
|
no, is not keyboard layout error, probably i forgot to setup passwords during the installation. so is there a way to change the root's password? |
|
Back to top |
|
|
inode77 Veteran
Joined: 20 Jan 2004 Posts: 1303 Location: Heart of Europe
|
Posted: Wed Apr 13, 2005 12:23 am Post subject: |
|
|
Just boot from livecd, mount partitions, chroot and change it to something you know. |
|
Back to top |
|
|
rsborn Tux's lil' helper
Joined: 10 Feb 2004 Posts: 105 Location: Webster, NY
|
Posted: Wed Apr 13, 2005 1:05 am Post subject: |
|
|
I have this problem everytime I install, I think it is specific to the live cd's and sparc's.
My situation was a bit different in that I could not type more than one character before the system put in a carriage return.
See this thread for more detail, maybe this was your issue when you tried to set you password at the chrooted environment?
https://forums.gentoo.org/viewtopic-t-267666-start-0-postdays-0-postorder-asc-highlight-.html
Rick |
|
Back to top |
|
|
lianlian n00b
Joined: 09 Apr 2005 Posts: 30
|
Posted: Wed Apr 13, 2005 6:17 am Post subject: |
|
|
i am a 200% noob! so would i do this:
Code: |
mount -t ext3 /dev/hda1 /mnt/gentoo
mount -t proc none /mnt/gentoo/proc
passwd
****
****
chroot /mnt/gentoo /bin/bash
reboot
|
|
|
Back to top |
|
|
inode77 Veteran
Joined: 20 Jan 2004 Posts: 1303 Location: Heart of Europe
|
Posted: Wed Apr 13, 2005 8:44 am Post subject: |
|
|
This should be it if you have only one partition "/" smaller than 2GB as indicated in the manual:
http://www.gentoo.org/doc/en/handbook/handbook-sparc.xml?part=1&chap=4#doc_chap2
Code: | mount /dev/hda1 /mnt/gentoo
mount -t proc none /mnt/gentoo/proc
chroot /mnt/gentoo /bin/bash
env-update && source /etc/profile
passwd root
****
****
exit
umount /mnt/gentoo/proc
umount /mnt/gentoo
reboot |
|
|
Back to top |
|
|
lianlian n00b
Joined: 09 Apr 2005 Posts: 30
|
Posted: Wed Apr 13, 2005 6:27 pm Post subject: |
|
|
thanks inode77! rsborn! i see that i am more than a 200% n00b, |
|
Back to top |
|
|
|