Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
first boot problems
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
catch23
n00b
n00b


Joined: 24 Jul 2002
Posts: 8

PostPosted: Sat May 03, 2003 9:31 pm    Post subject: first boot problems Reply with quote

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


Joined: 16 Mar 2003
Posts: 582
Location: france

PostPosted: Sat May 03, 2003 9:41 pm    Post subject: Reply with quote

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


Joined: 29 Jun 2002
Posts: 244
Location: Copenhagen/Denmark

PostPosted: Sat May 03, 2003 9:48 pm    Post subject: Re: first boot problems Reply with quote

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

:twisted:
_________________
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
View user's profile Send private message
catch23
n00b
n00b


Joined: 24 Jul 2002
Posts: 8

PostPosted: Sat May 03, 2003 9:51 pm    Post subject: Reply with quote

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


Joined: 24 Jul 2002
Posts: 8

PostPosted: Sat May 03, 2003 10:09 pm    Post subject: Reply with quote

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


Joined: 16 Mar 2003
Posts: 582
Location: france

PostPosted: Sat May 03, 2003 10:12 pm    Post subject: Reply with quote

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


Joined: 14 Dec 2002
Posts: 325
Location: Tallinn, Estonia

PostPosted: Sat May 03, 2003 10:14 pm    Post subject: Reply with quote

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
Code:
make dep
?
Back to top
View user's profile Send private message
Esben
Apprentice
Apprentice


Joined: 29 Jun 2002
Posts: 244
Location: Copenhagen/Denmark

PostPosted: Sat May 03, 2003 10:18 pm    Post subject: Reply with quote

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 :D [/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
View user's profile Send private message
catch23
n00b
n00b


Joined: 24 Jul 2002
Posts: 8

PostPosted: Sat May 03, 2003 11:09 pm    Post subject: Reply with quote

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


Joined: 16 Mar 2003
Posts: 582
Location: france

PostPosted: Sun May 04, 2003 12:54 am    Post subject: Reply with quote

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
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