View previous topic :: View next topic |
Author |
Message |
catch23 n00b
Joined: 24 Jul 2002 Posts: 8
|
Posted: Sat May 03, 2003 9:31 pm Post subject: first boot problems |
|
|
Just installed gentoo, and after the first reboot, I have two problems...
1. it says I need to install DEVFS support and to read the manual for it...I installed from the manual (in Docs section) and saw nothing of it...what do I need to do?
2. I get an error from eth0 saying I need to set a valid hostname in /etc/hostname ...that's not a file...I set the default gateway to 192.168.0.1 in the /etc/conf.d/net file...does it not like a gateway running Windows? |
|
Back to top |
|
|
magnet Guru
Joined: 16 Mar 2003 Posts: 582 Location: france
|
Posted: Sat May 03, 2003 9:41 pm Post subject: |
|
|
hello,
hang on , you're nearly done.
for your devfs problems, you'll need add support for it your kernel, in filesystem section :
Code: |
File systems --->
[*] /dev file system support (EXPERIMENTAL)
|
for the hostname problem , a writing something like myputer.mydomain.com in /etc/hostname should fix your problem.
Code: |
echo "myputer.mydomain.com" > /etc/hostname
|
_________________ every step aim at glory. |
|
Back to top |
|
|
Esben Apprentice
Joined: 29 Jun 2002 Posts: 244 Location: Copenhagen/Denmark
|
Posted: Sat May 03, 2003 9:48 pm Post subject: Re: first boot problems |
|
|
catch23 wrote: | Just installed gentoo, and after the first reboot, I have two problems...
1. it says I need to install DEVFS support and to read the manual for it...I installed from the manual (in Docs section) and saw nothing of it...what do I need to do?
|
Have you enabled the devfs file system in your kernel? This is usually all you have to do...
catch23 wrote: | 2. I get an error from eth0 saying I need to set a valid hostname in /etc/hostname ...that's not a file...I set the default gateway to 192.168.0.1 in the /etc/conf.d/net file...does it not like a gateway running Windows? |
You need to have a hostname for your computer. Really, and ideally, it should be a real name (like linux.domain.org), though it doesn't really matter for most applications as long as it looks real.
I suppose you could set it to localhost or something; I have never tried.
To set it, use the "hostname" command:
Code: | hostname linux.microsoft.com |
_________________ regards, Esben
True trade is honest, but not merciful. Politics is dishonest, no matter how merciful... and war is neither honest nor merciful.... therefore, choose trade above politics, but politics above war. |
|
Back to top |
|
|
catch23 n00b
Joined: 24 Jul 2002 Posts: 8
|
Posted: Sat May 03, 2003 9:51 pm Post subject: |
|
|
okay, got devfs done...
so for /etc/hostname ...do I just need to put in a machine IP like 192.168.0.2 and a name? ...again the file doesn't exist..shouldn't it be /etc/hosts? |
|
Back to top |
|
|
catch23 n00b
Joined: 24 Jul 2002 Posts: 8
|
Posted: Sat May 03, 2003 10:09 pm Post subject: |
|
|
maybe I didn't fix it...I selected /dev file system support in menuconfig ...and did a make dep after I exited and saved...still gives me that error on boot |
|
Back to top |
|
|
magnet Guru
Joined: 16 Mar 2003 Posts: 582 Location: france
|
Posted: Sat May 03, 2003 10:12 pm Post subject: |
|
|
you'll need to do a make dep clean bzImage to rebuild your kernel with devfs support.
then to install the new kernel, like you did in the install. _________________ every step aim at glory. |
|
Back to top |
|
|
sn4ip3r Guru
Joined: 14 Dec 2002 Posts: 325 Location: Tallinn, Estonia
|
Posted: Sat May 03, 2003 10:14 pm Post subject: |
|
|
catch23 wrote: | maybe I didn't fix it...I selected /dev file system support in menuconfig |
did you select the Code: | [*] Automatically mount at boot | option ?
catch23 wrote: | ...and did a make dep... |
you did compile the whole kernel with Code: | make clean && make dep bzImage modules modules_install | not just ? |
|
Back to top |
|
|
Esben Apprentice
Joined: 29 Jun 2002 Posts: 244 Location: Copenhagen/Denmark
|
Posted: Sat May 03, 2003 10:18 pm Post subject: |
|
|
don't forget to
Code: | mount /boot
cp arch/i386/boot/bzImage /boot/bzImage
|
If you're using Lilo, run lilo at this point Grub should be ok. I'm assuming that your kernel is at /boot/bzImage as it would be if you followed install docs to the letter. If not, modify the above as appropritate [/code] _________________ regards, Esben
True trade is honest, but not merciful. Politics is dishonest, no matter how merciful... and war is neither honest nor merciful.... therefore, choose trade above politics, but politics above war. |
|
Back to top |
|
|
catch23 n00b
Joined: 24 Jul 2002 Posts: 8
|
Posted: Sat May 03, 2003 11:09 pm Post subject: |
|
|
I was doing just make dep..but I just did the whole thing and it didn't do a thing...
And I'm still getting an error when it tries to load eth0...it says it had a problem starting needed services...'netmount' not started |
|
Back to top |
|
|
magnet Guru
Joined: 16 Mar 2003 Posts: 582 Location: france
|
Posted: Sun May 04, 2003 12:54 am Post subject: |
|
|
if there are no more devfs problems ,
you can try to do /etc/init.d/netmount start, and show us the output. _________________ every step aim at glory. |
|
Back to top |
|
|
|