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.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Gentoo Linux Help > Fixed grub, cool ... having eth0 trouble now

Forgot Password?
 Gentoo Linux Help   For help and discussion related to Gentoo Linux

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 04-18-2005   #1 (permalink)
Just Joined!
 
Join Date: Apr 2005
Posts: 31
Fixed grub, cool ... having eth0 trouble now

well, fixed grub enough that i can get gentoo to boot
The LiveCD does a great job detecting my card, pinging, and networking-in-general, but the installed gentoo doesn't seem to have what it needs. If I had to guess, I'd say I need to recompile the kernel, but I don't want to guess 'cause I don't want to say that 'cause I don't want to recompile the kernel.

Shortcut? moving whatever module the liveCD is using into the installed /lib/modules/..../drivers/net?






(If anyone's curious, this was the other problem)
----------------------------
Okay, this is the part of the install where i always get really frustrated, because I always get the grub.conf settings wrong. Setup is
/dev/hda1 : root part for Gentoo
/dev/hda2 : swap
/dev/hda3 : root part for FC3
/dev/hda4 : boot part for Gentoo (and everything else, I presume)

-----------
grub.conf

title=Gentoo ...
root (hd0,3)
kernel /kernel-2.6.11-r6 root=/dev/hda1

title=Fedora Core...
root (hd0,2)
kernel /vmlinuz-2.6.11-1.7_FC3 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.11-1.7_FC3.img

I'm not worried about fedora right now. the specified gentoo kernel is not being found.

Then I remembered that bit in grub.conf about not having a boot partition, so entries had to look like "/boot/kernel..." So I tried having
boot=/dev/hda4
up there at the top

no improvement

so i use the livecd and mount /dev/hda1 into /mnt/gentoo
then /dev/hda4 in /mnt/gentoo/boot
('cause it says so here: http://www.gentoo.org/doc/en/handboo...part=1&chap=11)

when i do that it looks like the /dev/hda4 stuff (just grub and lost+found) replaces the other partition's stuff -- /mnt/gentoo/boot doesn't have the kernels in it anymore; does that have anything to do with anything?

(mount point for /dev/hda4 is /boot in fstab)

If you're curious, the reason my boot partition is /dev/hda4 instead of "1" it's because i was too afraid to move partitions around etc. /dev/hda1 used to have redHat 8 on it.

All input appreciated. It makes me mad that I've installed half a dozen Lx systems and never mastered this
LeFou is offline  



Reply With Quote
Old 04-18-2005   #2 (permalink)
Linux Engineer
 
Join Date: Mar 2005
Posts: 1,431
Try typing the command "lsmod" on the livecd. What is the output?
jaboua is offline   Reply With Quote
Old 04-18-2005   #3 (permalink)
Just Joined!
 
Join Date: Apr 2005
Posts: 31
Thanks, I went ahead and recompiled the kernel for the sake of practicing. I had, indeed, not compiled in support for my card. I suppose the liveCD runs with support for just about any card?
LeFou is offline   Reply With Quote
Old 04-19-2005   #4 (permalink)
Linux Engineer
 
Join Date: Oct 2004
Location: Vancouver
Posts: 1,366
Send a message via AIM to genesus Send a message via Skype™ to genesus
thats true, the livecd supports just about any hardware without having to manually add modules, genkernel is the same which is why it takes so much longer than compilin the kernel yourself.
__________________
Operating System: GNU Emacs
genesus 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
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 04:56 AM.






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

Content Relevant URLs by vBSEO 3.3.1