Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
help with gentoo install
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
frocco
Guest





PostPosted: Wed Jun 12, 2002 10:57 am    Post subject: help with gentoo install Reply with quote

Hello,

I followed the install for stage3.
I used /dev/hda5 for /boot and /
windows XP is on hda1
swap is on hda7

I compiled the kernel and copied the bzImage to /boot
I edited grub file and added for linux:
title=Gentoo Linux
root (hd0,4)
kernel /boot/bzImage root=/dev/hda5
When I reboot, I get file not found message

1. What can I do?
2. Do I have to restall everything again?
Please bare with me, I am a newbie

Thanks

Frank
Back to top
leej
Apprentice
Apprentice


Joined: 18 May 2002
Posts: 280

PostPosted: Wed Jun 12, 2002 1:43 pm    Post subject: Re: help with gentoo install Reply with quote

frocco wrote:
Hello,

I followed the install for stage3.
I used /dev/hda5 for /boot and /
[..]

I compiled the kernel and copied the bzImage to /boot
I edited grub file and added for linux:
title=Gentoo Linux
root (hd0,4)
kernel /boot/bzImage root=/dev/hda5
When I reboot, I get file not found message


Was your boot partition definitely mounted when you copied the bzImage over? If not, the bzImage may have been copied to the /boot directory of your root partition and not the /boot directory of your boot partition. Confused? You will be! ;-)

Reboot with your Gentoo bootable CD and mount the partitions as per Section 7 (Mount Partitions) of the Installation Instructions. Now go to /mnt/gentoo/boot and see if the bzImage file and grub directory is there. If not, they are probably (incorrectly) on your root partition.


Make sure you unmount these partitions before rebooting (code listing 41 of the Installation Instructions).

frocco wrote:

2. Do I have to restall everything again?


No! :-) Take a look to see if those files are there. If not, follow the steps in my post at the following URL to recompile the kernel following an unsuccessful Gentoo installation:

https://forums.gentoo.org/viewtopic.php?p=21663&highlight=#21663

Be careful not to scroll up or down and lose the article. There are many posts on that webpage.
Back to top
View user's profile Send private message
frocco
Guest





PostPosted: Wed Jun 12, 2002 1:59 pm    Post subject: Reply with quote

Thanks for the help, I'll try this.

Also, the command below, I skipped. How can I tell what NIC card I have?

modprobe pcnet32

under modules.autoload, I kept this default, is that ok?
3c59x

Best Regards,

Frank Rocco
Back to top
leej
Apprentice
Apprentice


Joined: 18 May 2002
Posts: 280

PostPosted: Wed Jun 12, 2002 2:43 pm    Post subject: Reply with quote

frocco wrote:
Thanks for the help, I'll try this.

Also, the command below, I skipped. How can I tell what NIC card I have?


ISTR Gentoo correctly detected mine when I booted from the CD. Does yours not do this? What happens if you type:

Code:

pciscan <enter>


Assuming it's a PCI NIC you should see it amongst the list produced by that command.

Quote:

under modules.autoload, I kept this default, is that ok?
3c59x


Well, it's commented out isn't it?
# 3c59x.

Leave it that way, and insert your NIC module on the next line. Hopefully, you'll know what that is after the pciscan mentioned above.
Back to top
View user's profile Send private message
frocco
Guest





PostPosted: Wed Jun 12, 2002 2:57 pm    Post subject: Reply with quote

It was commented out, but I enabled it.<g> (I told you I was a newbie)
ok, I'll change it back and add my nic, once I know what to add.

Thanks again.

Does it matter that I assigned the / and /boot to the same Partition?
The install says I should create another Partition for /boot
I assigned them both to /dev/hda5

Best Regards,

Frank
Back to top
leej
Apprentice
Apprentice


Joined: 18 May 2002
Posts: 280

PostPosted: Wed Jun 12, 2002 3:20 pm    Post subject: Reply with quote

frocco wrote:


Does it matter that I assigned the / and /boot to the same Partition?


I don't think it should be a problem, but it's a very unadvisable thing to do from a security point of view. Your kernel isn't even secure from yourself when you become root/superuser.

frocco wrote:

The install says I should create another Partition for /boot
I assigned them both to /dev/hda5


OK, ignore those other posts telling you how to reinstall different bits. The bit about /root and /boot obviously didn't reigster in my silly brain ;-) and I've approached this whole situation incorrectly.

Did you follow Code listing 39 in order to install the Grub MBR?

Code:

grub <enter>
root (hd0,4)
setup (hd0)
quit


Before typing the above, you'd have to boot from the CD, mount your partitions (section 7/installation instructions) and then chroot:

Code:

chroot /mnt/gentoo /bin/bash
Back to top
View user's profile Send private message
frocco
Guest





PostPosted: Wed Jun 12, 2002 3:30 pm    Post subject: Reply with quote

I'll need to check the grub config again, but I believe I did use hd0,4

So in the run, I shoul dconsider created a partition for just /boot?

I'll check at lunch time.

Best Regards,

Frank

P.S. One of the reasons I chose Gentoo, because I feel it is a great wany to learn Linux and have the latest packages. Thanks for the support.
Back to top
leej
Apprentice
Apprentice


Joined: 18 May 2002
Posts: 280

PostPosted: Wed Jun 12, 2002 3:40 pm    Post subject: Reply with quote

frocco wrote:
I'll need to check the grub config again, but I believe I did use hd0,4


Sure, but what you need to understand is that you need to do two things to configure Grub correctly. The Grub configuration file is only one part of the configuration. The other is that bundle of code I told you to type at the command line (once you've mounted your disks and chrooted to /mnt/gentoo).

Code:

grub <enter>
root (hd0,4)
setup (hd0)
quit


frocco wrote:

So in the run, I should consider created a partition for just /boot?


Well, it's definitely more advisable. That's no doubt one reason the installation instructions steer you towards partitioning your disk that way. :-)

frocco wrote:

P.S. One of the reasons I chose Gentoo, because I feel it is a great wany to learn Linux and have the latest packages. Thanks for the support.


I think lots of people do. Once installed, I've found it a lot less of a hassle to maintain than any Red Hat RPM based distribution. Good luck with it - and I hope you get past this little blip. In hindsight it does sound like you simply don't have the Grub MBR installed, and if you follow the code I gave you - it should sort that out.
Back to top
View user's profile Send private message
frocco
n00b
n00b


Joined: 12 Jun 2002
Posts: 69

PostPosted: Thu Jun 13, 2002 1:00 pm    Post subject: Reply with quote

Well, I was able to get Gentoo installed, but when I rebooted, it complained about my Realtek eth0 card, saying it could not start.
Some errors for netmount also.

When I firsted booted the install disk, the scan showed I had modules 8139too and mii

I did not know what to do with these, so I did nothing.

I tried emerge command, but it kept complaining that it could not resolve the host name.

I'm frustrated.....

Can anyone help me?

Thanks
Frank
Back to top
View user's profile Send private message
leej
Apprentice
Apprentice


Joined: 18 May 2002
Posts: 280

PostPosted: Thu Jun 13, 2002 1:08 pm    Post subject: Reply with quote

frocco wrote:

When I firsted booted the install disk, the scan showed I had modules 8139too and mii


Well 8139too is your NIC driver. As mentioned in section 3, you should've done a:

Code:

modprobe 8139too


Also, 8139too should be in your /etc/modules.autoload file.
Back to top
View user's profile Send private message
frocco
n00b
n00b


Joined: 12 Jun 2002
Posts: 69

PostPosted: Thu Jun 13, 2002 1:18 pm    Post subject: Reply with quote

Thanks..

What about mii

Should I do anything with that?

Also, I noticed on my SuSe box that there is no resolv.conf

Should I not create one in gentoo?

regards,

Frank
Back to top
View user's profile Send private message
DArtagnan
l33t
l33t


Joined: 30 Apr 2002
Posts: 942
Location: Israel, Jerusalem

PostPosted: Thu Jun 13, 2002 2:11 pm    Post subject: Reply with quote

Quote:
What about mii

Forget about it, i use realtek too, just enter the module name inside the modules.autoload for this card and here we go :-)
Also I add one more module inside modules.autolad:
Code:
ppp*


Quote:
Also, I noticed on my SuSe box that there is no resolv.conf


Enter:
#nano -w /etc/resolv.conf

Inside the file enter:
domain <your full domain name here>
nameserver <dns ip>
nameserver <dns ip>

CTRL+X ( save the file )[/code]
_________________
All for one and one for All
--

MACPRO machine...
Back to top
View user's profile Send private message
frocco
n00b
n00b


Joined: 12 Jun 2002
Posts: 69

PostPosted: Thu Jun 13, 2002 2:17 pm    Post subject: Reply with quote

I'm using DSL and dhcp

How do I find the following:
domain <your full domain name here>
nameserver <dns ip>
nameserver <dns ip>

in modules.autoload, I just need to add this?
8139too

Thanks for the help, sorry for all the ?????

Frank
Back to top
View user's profile Send private message
DArtagnan
l33t
l33t


Joined: 30 Apr 2002
Posts: 942
Location: Israel, Jerusalem

PostPosted: Thu Jun 13, 2002 2:26 pm    Post subject: Reply with quote

Quote:
I'm using DSL and dhcp

How do I find the following:
domain <your full domain name here>
nameserver <dns ip>
nameserver <dns ip>

in modules.autoload, I just need to add this?
8139too


1) domain <your full domain name here>
Just add a name :-)
Mine is: domain mousehouse.com

2)nameserver <dns ip>
Call your ISP support and ask what is the DNS ip to connect to internet.
Most of those ISP have min. 2 DNS IPs...
Mine is:
nameserver 128.139.6.1
nameserver 128.139.4.3

3) card module
do it so:
# echo "8139too" >> /etc/modules.autoload
_________________
All for one and one for All
--

MACPRO machine...


Last edited by DArtagnan on Thu Jun 13, 2002 2:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
Guest






PostPosted: Thu Jun 13, 2002 2:42 pm    Post subject: Reply with quote

Thanks

echo "8139", not "8139too"?

so close yet so far.
I hope I will be able to finish this tonight and get some gui installed like kde or gnome.

Frank
Back to top
DArtagnan
l33t
l33t


Joined: 30 Apr 2002
Posts: 942
Location: Israel, Jerusalem

PostPosted: Thu Jun 13, 2002 2:44 pm    Post subject: Reply with quote

Quote:
echo "8139", not "8139too"?

Sorry, I modified the post.
it must be 8139too
_________________
All for one and one for All
--

MACPRO machine...
Back to top
View user's profile Send private message
Guest






PostPosted: Thu Jun 13, 2002 6:14 pm    Post subject: Reply with quote

ok, at lunch time, I ran home and started the compile after doing the
modprobe 8139too

hopefully thing will go smoother this time.

Thanks

Frank
Back to top
Guest






PostPosted: Fri Jun 14, 2002 1:09 pm    Post subject: Reply with quote

Well,

I had the same trouble as before. eth0 could not start. Using emerge, host coul dnot be resolved. I have since reinstalled redhat.

I would really like to use gentoo, but just can't get past these problems.

I also have trouble config grub, confused with root (hd0) setup (hd0)

if I have three partitions hda6 (/boot) hda7 (/root) hda8 (swap)
what should the commands be to install grub, and what should the menu.lst file look like?

I have a realtek card that reported 8139too & mii
I did do the micprobe 8139t00 before reinstalling.
my email is farocco@hotmail.com if someone could send me better instructions on setting this up.

Thanks for the help.
If I can't get this working, I will have to decide on redhat or suse

Frank
Back to top
frocco
n00b
n00b


Joined: 12 Jun 2002
Posts: 69

PostPosted: Fri Jun 14, 2002 1:36 pm    Post subject: Reply with quote

Sorry, I keep forgetting to login first. (Guest is me)
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