View previous topic :: View next topic |
Author |
Message |
pkluss n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Nov 2003 Posts: 27 Location: Illinois
|
Posted: Sat Mar 13, 2004 9:09 pm Post subject: installed second network card, linux won't boot |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
klync n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Simpsons/simpsons_krusty.gif)
Joined: 19 Nov 2002 Posts: 8 Location: Toronto
|
Posted: Sat Mar 13, 2004 9:25 pm Post subject: LILO is finicky |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
YopWongSapn l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/2137158634428e2bb39d476.gif)
Joined: 26 Jan 2004 Posts: 627
|
Posted: Wed Mar 17, 2004 6:56 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|