Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
root Login
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Ramesh
n00b
n00b


Joined: 28 Jun 2005
Posts: 44

PostPosted: Tue Oct 04, 2005 10:06 am    Post subject: root Login Reply with quote

Hi All,

I have installed Gentoo 2.6.12-gentoo-r10 from liveCD. After rebooting system. displayed login prompt.
This is localhost.(none) (Linux i686 2.6.12-gentoo-r10) 15:28:29
localhost login: root
Login incorrect

I suspect this may be due PAM, Ive tryed upgrading portage, still im getting same error.

pls anyone fixed this kind of error, pls hlp me to fix it.

Thnx & Regards,

Ramesh.
Back to top
View user's profile Send private message
thoughtform
l33t
l33t


Joined: 24 May 2004
Posts: 600

PostPosted: Tue Oct 04, 2005 10:07 am    Post subject: Reply with quote

so can you log in as a user?
you can boot from the livecd, mount your partitions, chroot and change the root password.
Back to top
View user's profile Send private message
spielc
Guru
Guru


Joined: 20 Apr 2004
Posts: 452

PostPosted: Tue Oct 04, 2005 10:14 am    Post subject: Reply with quote

NEVER EVER forget to set the password for the root account before rebooting after installation!!

You can set your root password by doing it as Scorpaen said:

1. boot from the live-cd
2. mount the partitions
3. chroot into the system
4. change password to the root account
Back to top
View user's profile Send private message
Ramesh
n00b
n00b


Joined: 28 Jun 2005
Posts: 44

PostPosted: Tue Oct 04, 2005 10:18 am    Post subject: Reply with quote

Hi Thnx for your immediet reply,

Yes i can l boot from liveCd and mount partions, after chroot whn i try to change passwd. im getting
passwd: Module is unknown



Thnx,
Ramesh
Back to top
View user's profile Send private message
spielc
Guru
Guru


Joined: 20 Apr 2004
Posts: 452

PostPosted: Tue Oct 04, 2005 10:21 am    Post subject: Reply with quote

what happens if you try to add another user and change the new user's password?
Back to top
View user's profile Send private message
Ramesh
n00b
n00b


Joined: 28 Jun 2005
Posts: 44

PostPosted: Tue Oct 04, 2005 10:25 am    Post subject: Reply with quote

It may due to PAM.

whn i try add user after mounting, chrooting.
#useradd ramesh
useradd:PAM authentication failed.

Thnx,
Ramesh
Back to top
View user's profile Send private message
spielc
Guru
Guru


Joined: 20 Apr 2004
Posts: 452

PostPosted: Tue Oct 04, 2005 10:31 am    Post subject: Reply with quote

hmmm looks like something gone wrong with the installation in this case... I would consider to re-emerge the base-system with
Code:
emerge -e system
Back to top
View user's profile Send private message
Ramesh
n00b
n00b


Joined: 28 Jun 2005
Posts: 44

PostPosted: Tue Oct 04, 2005 10:42 am    Post subject: Reply with quote

Hi spielc ,

I have booted with liceCD and mounted /mnt/gentoo /mnt/gentoo/boot /mnt/gentoo/proc and chrooted

run the emerge -e system

Once it completes what shall i do, shall i try to create new user or change root passwd.

Thnx,
Ramesh.
Back to top
View user's profile Send private message
spielc
Guru
Guru


Joined: 20 Apr 2004
Posts: 452

PostPosted: Tue Oct 04, 2005 10:49 am    Post subject: Reply with quote

Once it is done try to change the root password if that works everything is fine and you can do whatever you want with your new gentoo machine...
Back to top
View user's profile Send private message
Ramesh
n00b
n00b


Joined: 28 Jun 2005
Posts: 44

PostPosted: Wed Oct 05, 2005 4:43 am    Post subject: Reply with quote

hi spiclc,

Thnx now im able to login.

quick question how to install XWindows Gnome or Kde.

Thnx&Rgds,
Ramesh
Back to top
View user's profile Send private message
Yuusou
Apprentice
Apprentice


Joined: 18 May 2005
Posts: 178
Location: Canada

PostPosted: Wed Oct 05, 2005 4:50 am    Post subject: Reply with quote

just go:

emerge kde

or

emerge gnome (I Think)

Once you do this, X will emerge automatically since it is a dependancy at the same time as emerging the one you picked
Back to top
View user's profile Send private message
Sven Vermeulen
Retired Dev
Retired Dev


Joined: 29 Aug 2002
Posts: 1345
Location: Mechelen, Belgium

PostPosted: Wed Oct 05, 2005 7:18 am    Post subject: Reply with quote

There are nice guides available at http://www.gentoo.org/doc/en/index.xml?catid=desktop.
Back to top
View user's profile Send private message
Lionhart
n00b
n00b


Joined: 05 Oct 2005
Posts: 9

PostPosted: Wed Oct 05, 2005 7:05 pm    Post subject: Reply with quote

use this anyone that lost their root password or forgot to set it before rebooting

http://gentoo-wiki.com/HOWTO_Reset_a_Lost_Root_Password
Back to top
View user's profile Send private message
Ramesh
n00b
n00b


Joined: 28 Jun 2005
Posts: 44

PostPosted: Fri Oct 07, 2005 5:22 am    Post subject: Xwindows Reply with quote

Hi,

I wanted install Xwindows, i have run
#emerge gnome
after completion whn i run
#startx
i got error
(EE) Unable to locate/open config file using vt 7
Fatal server error:
Cannot run in framebuffer mode. please specify busIDs for all framebuffer devices.

2) to install specific software like mysql 4.1.12, pls let me know how to run emerge to install specific version.

thnx for all help.

Regards,
Ramesh
Back to top
View user's profile Send private message
P21YALPHA
n00b
n00b


Joined: 23 Jun 2005
Posts: 46
Location: Germany \ Munich

PostPosted: Fri Oct 07, 2005 7:21 am    Post subject: Reply with quote

Boot with these options: kernel root=/dev/hda3 rw init=/bin/bash

$ passwd
$ sync

<ctrl+alt+del>

et voila ce tout! ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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