Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Gentoo Linux Help
Reload this Page Can't log on
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Gentoo Linux Help For help and discussion related to Gentoo Linux

Reply
 
Thread Tools Display Modes
Old 02-18-2008   #1 (permalink)
Just Joined!
 
Join Date: Feb 2008
Posts: 1
Can't log on

Hi!

I have another pc with getnoo installed. I remember I asked a friend to install it for me a very long time a go but never used it but now, when I finally have a use for the computer I can't access it - neither me or my friend remember the password so I pretty much don't know what to do.
If there's no way to bypass the password is there a way to reinstall linux? (If yes, is it possible to do it by using a flash drive to transfer the installer as my pc doesn't have a cd writer :P)

Oh, and one more question - how can I access visual mode on gentoo.. or any other linux version ? :S

Thanks, I'm a complete beginner to linux :P
friiks is offline   Reply With Quote
Old 02-18-2008   #2 (permalink)
Linux Engineer
 
valemon's Avatar
 
Join Date: Oct 2006
Location: Volos
Posts: 860
Send a message via MSN to valemon
You can check here for how to reset root password. If you can't reset root password, then possible solutions would be booting from a flash disc, get a disc burned by a friend of yours, or order a distro. Or you could possibly do a netboot.
Quote:
how can I access visual mode on gentoo..
what do you mean?
__________________
join #linuxforums on irc.freenode.org
openSuSE 10.3/Arch/Gutsy/Slackware 12
Linux user #442041
valemon is offline   Reply With Quote
Old 02-18-2008   #3 (permalink)
Linux Engineer
 
Join Date: Nov 2007
Location: Córdoba (Spain)
Posts: 1,164
Quote:
Originally Posted by friiks View Post
Hi!

I have another pc with getnoo installed. I remember I asked a friend to install it for me a very long time a go but never used it but now, when I finally have a use for the computer I can't access it - neither me or my friend remember the password so I pretty much don't know what to do.
If there's no way to bypass the password is there a way to reinstall linux? (If yes, is it possible to do it by using a flash drive to transfer the installer as my pc doesn't have a cd writer :P)
It's perfectly possible to restore a working password, you will need to do it manually, though. So, first you need to boot from a linux cd. Once you are at the command console, use "fdisk -l", it will list all the available partitions, you will need to indentify the one that holds your Gentoo installation.

Ask your friend and look at the "fdisk -l" output to find the right partition. Once you have identified it, you just need to do this (in this example, I assume that your Gentoo partition is /dev/hda1, but change it for the correct one for you).

Code:
cd /mnt
mkdir tmp
mount /dev/hda1 tmp
cd tmp
mount -obind /sys sys
mount -obind /proc proc
mount -obind /dev dev
chroot .
source /etc/profile
env-update
passwd
After the last command, you will be prompted for a new password twice. Make sure that caps lock is not on and type it twice (press enter writting it each time). Now it should be set, you can use the command "reboot" to restart your box. Make sure you take your livecd out of the tray and now try to login again with your new password.

Quote:
Oh, and one more question - how can I access visual mode on gentoo.. or any other linux version ? :S

Thanks, I'm a complete beginner to linux :P
Usually you install kdm or gdm and use a graphical login to access your desktop. But this is highly dependand of the distro you use. I don't know if you have Xorg installed, that's the first thing you need. After that, you probably want kde, gnome or xfce. These are the websites for each one so you can take a look:

GNOME: The Free Software Desktop Project
K Desktop Environment - Be free
xfce4.org

Use google to search for additional screenshots and stuff about those. You can also download live distributions that are shipped with one or the other, so you can evaluate each one before you install it.

After you have decided, you might want to go to the Gentoo documentation repository to know how to install and configure Xorg (you need this regardless of the desktop that you choose):

Gentoo Linux Documentation -- The X Server Configuration HOWTO

And then one of those:

Gentoo Linux Documentation -- The KDE Configuration HOWTO
Gentoo Linux Documentation -- The GNOME Configuration HOWTO
Xfce/Installation - Gentoo Linux Wiki

Of course, you can ask here or in the gentoo forums if you have any concrete question about either of these:

Gentoo Forums :: Index

Also, bear in mind that I don't have a clue if any of those are already installed in your system... You should ask your friend for that.

You can also paste your /var/lib/portage/world file on some site like pastebin - collaborative debugging tool and then put a link here. That world file will contain the list of things that your friend emerged in your gentoo system. By looking at it, we can make ourselves an aproximate idea about what's installed on your system.

Lastly, I tell you one thing: if that installation is really old, you might have big big problems to update it. In that case, you should probably start all over again (either with Gentoo or whatever you preffer).
i92guboj is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
 

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 02:28 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0