Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can't login on linux sparc64 2.4.29-sparc
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
lianlian
n00b
n00b


Joined: 09 Apr 2005
Posts: 30

PostPosted: Tue Apr 12, 2005 11:01 pm    Post subject: can't login on linux sparc64 2.4.29-sparc Reply with quote

after the 4th time installing gentoo, i am finnally at the login screen. :)
it shows
Code:
mymachine login:

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
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Tue Apr 12, 2005 11:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
lianlian
n00b
n00b


Joined: 09 Apr 2005
Posts: 30

PostPosted: Wed Apr 13, 2005 12:08 am    Post subject: Reply with quote

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
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Wed Apr 13, 2005 12:23 am    Post subject: Reply with quote

Just boot from livecd, mount partitions, chroot and change it to something you know.
Back to top
View user's profile Send private message
rsborn
Tux's lil' helper
Tux's lil' helper


Joined: 10 Feb 2004
Posts: 105
Location: Webster, NY

PostPosted: Wed Apr 13, 2005 1:05 am    Post subject: Reply with quote

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?

http://forums.gentoo.org/viewtopic-t-267666-start-0-postdays-0-postorder-asc-highlight-.html

Rick
Back to top
View user's profile Send private message
lianlian
n00b
n00b


Joined: 09 Apr 2005
Posts: 30

PostPosted: Wed Apr 13, 2005 6:17 am    Post subject: Reply with quote

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
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Wed Apr 13, 2005 8:44 am    Post subject: Reply with quote

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
View user's profile Send private message
lianlian
n00b
n00b


Joined: 09 Apr 2005
Posts: 30

PostPosted: Wed Apr 13, 2005 6:27 pm    Post subject: Reply with quote

thanks inode77! rsborn! i see that i am more than a 200% n00b, :(
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum