Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
installed second network card, linux won't boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
pkluss
n00b
n00b


Joined: 10 Nov 2003
Posts: 27
Location: Illinois

PostPosted: Sat Mar 13, 2004 9:09 pm    Post subject: installed second network card, linux won't boot Reply with quote

ok, here's the story thus far. i have a network card that I struggled with for several months and finally decided to get another that wouldn't have the problems with Linux that I had been experiencing. So, I bought another card and installed it last night. After compiling module support for it in the kernel I was able to get it to work if i ran dhcpcd eth1. (my old card is still eth0) So, I figure, i'll automate the dhcp script at boot and everything will be good as new, so I created a net.eth1 script by the process described three quarters of the way down the page here http://www.gentoo.org/doc/en/handbook/handbook.xml?part=1&chap=8 and added a line in /etc/conf.d/net. I then rebooted and can not get back in Linux. My WinXP still works fine. So, I booted with the live cd and took the net.eth1 script out of the default runlevel, removed the net.eth1 script altogether, and took the line out of /etc/conf.d/net that refered to it. I then rebuilt my kernel just in case and then rebooted. Unfortunately, it still hangs at the LILO boot screen immediately after I choose Linux for the boot option. What can I do now? Where is my problem most likely located?

Thanks for you help.
Back to top
View user's profile Send private message
klync
n00b
n00b


Joined: 19 Nov 2002
Posts: 8
Location: Toronto

PostPosted: Sat Mar 13, 2004 9:25 pm    Post subject: LILO is finicky Reply with quote

you must re-run the 'lilo' command whenever you install a new kernel - even if they're the same version, even if you didn't change /etc/lilo.conf. If your system is already borked, you should be able to do this by booting from the cd, and following the install guide to get into the chroot environment - i.e. mount -o bind /proc /mnt/gentoo/proc, chroot, source /etc/profile.... follow the install guide for the exact steps.
Back to top
View user's profile Send private message
YopWongSapn
l33t
l33t


Joined: 26 Jan 2004
Posts: 627

PostPosted: Wed Mar 17, 2004 6:56 pm    Post subject: Reply with quote

One more important note:

Never recompile the kernel without backing up the old one first. This has several advantages. First off, backing up the old kernel and adding it to lilo forces you to follow klync's advice to run lilo. Second, if the new kernel does not work, it's much easier to get back into linux to recompile it until it does.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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