View previous topic :: View next topic |
Author |
Message |
dioon Tux's lil' helper
Joined: 28 Aug 2007 Posts: 100
|
Posted: Tue Aug 28, 2007 8:38 pm Post subject: Install problems [solved] |
|
|
Installed Gentoo 2007 today from Live cd,went very well, very impressed with it,but I have a few problems.
1.My Logitech laser mouse does not work(usb) but a PS2 mouse is o/k.
2.I have no sound.
3.I need to change the date and time but the root password I gave at the install come's up as invalid,my admin username and password are both o/k though.
Thank's for any help.
Last edited by dioon on Wed Oct 03, 2007 9:26 am; edited 1 time in total |
|
Back to top |
|
|
ShinyThings Tux's lil' helper
Joined: 03 Jul 2007 Posts: 89 Location: Ontario
|
Posted: Tue Aug 28, 2007 9:03 pm Post subject: |
|
|
1. You need to have the usbhid either compiled in the kernel or loaded as a module
2. You have to follow the Gentoo ALSA Guide
3. I guess you will have to boot the livecd and chroot, and then run passwd. |
|
Back to top |
|
|
ichbinsisyphos Guru
Joined: 08 Dec 2006 Posts: 547
|
Posted: Tue Aug 28, 2007 9:04 pm Post subject: Re: Install problems |
|
|
dioon wrote: | Installed Gentoo 2007 today from Live cd,went very well, very impressed with it,but I have a few problems.
1.My Logitech laser mouse does not work(usb) but a PS2 mouse is o/k.
2.I have no sound.
3.I need to change the date and time but the root password I gave at the install come's up as invalid,my admin username and password are both o/k though.
Thank's for any help. |
1. ?
2. do you have the right driver compiled into the kernel?
should tell you the name of the soundcard.
3. if you need to set the root password again, you can boot the livecd, mount the hdd, chroot in as described in the manual and set it with |
|
Back to top |
|
|
dioon Tux's lil' helper
Joined: 28 Aug 2007 Posts: 100
|
Posted: Tue Aug 28, 2007 10:01 pm Post subject: |
|
|
Thank's for the help guy's,it seem's before I can do anything I have to be able to become root,as I am fairly new to Linux,
I have never used the chroot command,could you show me exactly what I have to do after booting from the live cd,I don't
even know how to mount the Hdd. |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Wed Aug 29, 2007 1:57 am Post subject: |
|
|
First, you need to read once again the Gentoo handbook...there a lot of information that you need to understand to able to install Gentoo.
Good luck my friend |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10590 Location: Somewhere over Atlanta, Georgia
|
Posted: Wed Aug 29, 2007 2:06 am Post subject: |
|
|
I'm with d2: You've got some reading to do. However, a hint doesn't hurt.
Start with Handbook Chapter 6 at the "Mounting the /proc and /dev Filesystems" section.
- John |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Wed Aug 29, 2007 3:57 am Post subject: |
|
|
Yeah, the Gentoo handbook will be your bible for a couple of days |
|
Back to top |
|
|
dioon Tux's lil' helper
Joined: 28 Aug 2007 Posts: 100
|
Posted: Wed Aug 29, 2007 10:02 am Post subject: |
|
|
Thankyou all for your help,I have read the Gentoo handbook four times and my head is spinning,and I am no nearer to solving my problems.The handbook show's almost all the commands in #root,which is the very thing I cannot do.
What I cannot understand is,what happened to my root password I entered at the initial install,and why I cannot use it now.
I am sure I could solve all my problems if only I could become root. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Wed Aug 29, 2007 10:12 am Post subject: |
|
|
dioon,
To get into the chroot, follow this guide adapt it to your own partition names.
Once in the chroot, you can set your root password with the passwd command, as you will be the root user.
If you have the GUI installer CD, you need to become root before you can start on the above. Open a terminal and do _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
dioon Tux's lil' helper
Joined: 28 Aug 2007 Posts: 100
|
Posted: Wed Aug 29, 2007 1:25 pm Post subject: |
|
|
Thank you NeddySeagoon followed your guide .
Became root through the GUI installer CD,did all the mounting as in the guide,got into chroot and changed the password but
I am still denied access to root back in the install.It's all very frustrating I cannot access root anywhere,only in the live cd.
The only thing I did'nt do was to enter the file types(I dont know what they are)in the mounting process,I do'nt know if this
will make a difference. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Wed Aug 29, 2007 6:09 pm Post subject: |
|
|
dioon,
You only need the file types if mount is unable to guess the filesystems on your behalf. Its good practice to give them.
You will not like what happens when mount guesses incorrectly.
The passwords are case sensitive - when you are in the chroot as the root user, give thecommand. Now enter the same password at each prompt, so the system can check you did not make a typo. You may ignore any warnings about poor password choice. root can set any password.
Providing there are no errors, boot your own install.
At the login prompt, type root (all lower case) for the user name and press return.
At the password prompt, type the password you set (case sensitive) a few minutes ago. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
dioon Tux's lil' helper
Joined: 28 Aug 2007 Posts: 100
|
Posted: Thu Aug 30, 2007 1:00 pm Post subject: |
|
|
Thank you NeddySeagoon,that worked just fine I am now able to root and have already fixed one of my problems,namely the sound,I am at present trying to get my USB laser mouse working.
Still following the Gentoo handbook so I will eventually get there.
Just a small query,if I had signed in as username(root) and my initial root password(the one I gave at install) in the first place surely it would have been the same.But thinking about it,then I would not have gained all that experience about chroot
and mounting Hdd's,anyway thank's again to you and the other guy's for all your help. |
|
Back to top |
|
|
vdodge1 n00b
Joined: 28 Aug 2007 Posts: 8 Location: Syracuse New York
|
Posted: Thu Aug 30, 2007 1:28 pm Post subject: |
|
|
Just wanted to make a quick note of interest. I am using a new logitech wireless laser mouse. It has worked flawlessly since the first time I plugged it in (recently did a 2007.0 i683 stage 3 install) so as ShinyThings mentioned before, it's just getting the right driver compiled in the kernel or loaded as a module.
Good Luck... Gentoo is soooooooooooooooooo worth the effort to lean to install/use/modify/etc. _________________ "... and if that doesn't work, CONGRATULATIONS!!! You're about to learn a whole lot more about linux and your system hardware!" |
|
Back to top |
|
|
ichbinsisyphos Guru
Joined: 08 Dec 2006 Posts: 547
|
Posted: Thu Aug 30, 2007 1:33 pm Post subject: |
|
|
dioon wrote: | Just a small query,if I had signed in as username(root) and my initial root password(the one I gave at install) in the first place surely it would have been the same. |
what did you do instead? normal username and root password? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Thu Aug 30, 2007 2:34 pm Post subject: |
|
|
dioon,
Outside and inside the chroot are totally different Linux systems.
If you set the password outside the chroot, it goes into /etc/shadow, in the external to chroot Linux.
When your chroot is at /mnt/gentoo, and you give the passwd command inside the chroot, it goes into /etc/shadow in the chroot. Thats /mnt/gentoo/etc/shadow from outside the chroot.
You can do (as root) less /etc/shadow to see the md5sums of all users passwords. The cleartext is not saved on disk.
I suspect you set the password in the external to chroot Linux.
Before you do very much, make yourself an ordinary user. That limits the accidential damage you (or some malicious hacker) can do. Only use root when needed and *never* surf the internet as root. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
dioon Tux's lil' helper
Joined: 28 Aug 2007 Posts: 100
|
Posted: Thu Aug 30, 2007 4:39 pm Post subject: |
|
|
O/k, at install I was asked for a root password and also a username and password,I did not know about typing in the word root and my root password at log in(not until NeddySeagoon told me).I logged in with my username and password,then at
Terminal I typed su and my root password which was denied.But since my last post and after reading the Gentoo handbook
I am a member of the wheel(gpasswd -a <user> wheel) so now I can log in as user and in Terminal type su and my root password.Problem with laser mouse solved,changed over to another USB socket and it worked. |
|
Back to top |
|
|
cchildress Tux's lil' helper
Joined: 27 May 2004 Posts: 90 Location: Tennessee, United States
|
Posted: Thu Aug 30, 2007 5:04 pm Post subject: |
|
|
dioon:
I agree with your "head spinning" comment. My head was about to *burst* when I tackled the learning curve of going from Windows 2K straight to Gentoo. However, as others have mentioned it is both rewarding and gradually easier to use Gentoo, so keep with it and good luck! |
|
Back to top |
|
|
dioon Tux's lil' helper
Joined: 28 Aug 2007 Posts: 100
|
Posted: Fri Aug 31, 2007 12:25 pm Post subject: |
|
|
Hope it is still o/k to carry on in this section with one part of my thread which I thought I had solved,the Logitech laser mouse not working.Every time I boot up it does not work but if I unplug it from the USB point and put it back in the same point it works fine.I thought I had solved it by using another USB point (thinking that I had a dodgy outlet)but all my outlets are o/k,hope someone can shed some light on this strange problem. |
|
Back to top |
|
|
gerard27 Advocate
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Fri Aug 31, 2007 12:50 pm Post subject: |
|
|
Hi dioon,
The mouse problem is probably due to something in the kernel config.
Is it compiled as amodule?
Gerard. _________________ To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Fri Aug 31, 2007 12:58 pm Post subject: |
|
|
dioon,
Its a USB initialisation problem. I have it with some kernels but not others.
Make sure your USB root hub driver is a module, not built in. It will be called either ohci-hcd or uhci-hcd depending on your hardware.
Now add Code: | # Horrible hack for USB (really a udev issue ??? )
modprobe -r ohci-hcd
modprobe ohci-hcd | to your /etc/conf.d/local.start file. Change the module name to suit.
This forces the usb subsystem to restart. As I say in the comment, its a hack but ItWorksForMe _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
dioon Tux's lil' helper
Joined: 28 Aug 2007 Posts: 100
|
Posted: Fri Aug 31, 2007 4:30 pm Post subject: |
|
|
Found ohci-hcd also uhci-hcd under /lib/modules,which one do I use.
Is it just these two lines below that I have to put in /etc/conf.d/local.start.
modprobe -r ohci-hcd
modprobe ohci-hcd |
|
Back to top |
|
|
username234 Guru
Joined: 09 May 2007 Posts: 332
|
Posted: Fri Aug 31, 2007 5:09 pm Post subject: |
|
|
to determine whether it's ohci or uhci you can try using lspci
for example when I do
I get Code: | 00:07.2 USB Controller: VIA technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1) |
|
|
Back to top |
|
|
dioon Tux's lil' helper
Joined: 28 Aug 2007 Posts: 100
|
Posted: Fri Aug 31, 2007 5:57 pm Post subject: |
|
|
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
This is what I get with lspci | grep usb |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Fri Aug 31, 2007 6:21 pm Post subject: |
|
|
dioon,
Thats ohci_hcd _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
dioon Tux's lil' helper
Joined: 28 Aug 2007 Posts: 100
|
Posted: Fri Aug 31, 2007 8:48 pm Post subject: |
|
|
#!/bin/bash
# /etc/conf.d/local.start
# This is a good place to load any misc.
# programs on startup ( 1>&2 )
if [ -d /usr/livecd/gconf ]
then
ln -sf /usr/livecd/gconf /etc/gconf
fi
if [ -d /usr/livecd/db ]
then
ln -sf /usr/livecd/db /var/db
fi
if [ -d /usr/livecd/profiles ]
then
ln -sf /usr/livecd/profiles /usr/portage/profiles
fi
if [ -d /usr/livecd/eclass ]
then
ln -sf /usr/livecd/eclass /usr/portage/eclass
fi
modprobe -r ohci-hcd
modprobe ohci-hcd
NeddySeagoon can you confirm if I have entered this correctly,thanks. |
|
Back to top |
|
|
|