| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 61309 | 2005-08-31 07:15:00 | Gentoo installation issue | jcr1 (893) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 385024 | 2005-09-04 20:30:00 | Just compile your own kernel without an initrd, works much better/easier! Point taken, I know you are right, just a lack of confidence on my part. Would I have to start the install from scratch, Chill? Or can I do it from my present installation. Just wondering also, what modules might be necessary to make it work. Had a 'phone call from UK last night for fathers' day and my son said I should go Debian Sarge (he uses it all the time, just loves it - wouldn't touch windows servers if he had the choice). But I've invested a fair bit of time in this to date and the challenge is there to finish. |
jcr1 (893) | ||
| 385025 | 2005-09-04 22:33:00 | No, dont start from scratch. Itd be such as waste considering the rest of the OS should be functional Boot from the LiveCD and chroot into it and start from scratch cd /usr/src/linux make menuconfig make && make modules_install mount /boot cp arc/i386/boot/bzImage /boot/kernel-2.6.12-build1 cp System.map /boot Then just update your grub.conf file :) You dont need initrd There may be one or two things you forget & leave out the first time, so if you copy this .config file to /usr/src/linux then it'll be something to go by. Its what Ive used for my PC, so the main thing you'd need to change will be motherboard/chipset drivers www.dimension.net.nz |
Chilling_Silence (9) | ||
| 385026 | 2005-09-05 10:21:00 | Thanks heaps Chill. I actually think I've got it, got good booting up type script right up to the log in prompt. I'll let you know how I get on. I have to do this off windows as I have some stuff I have to get done. Actually doing a manual compilation was kinda fun; but I bet I've left something important out. |
jcr1 (893) | ||
| 385027 | 2005-09-05 12:16:00 | I can log into Gentoo and I've set a user password. I'm trying to configure an internet connection but not much success so far. Last time I installed Gentoo I had a wireless connection and I got it working fairly easily using rp-pppoe. Now I have adsl over my phone line and a D-Link 302G modem (free with the connection and according to the D-Link site compatible with linux) connected by ethernet. The network devices are identified and I know my settings are correct. Other difference this time is I have dns addresses to put in, which I've done. But adsl-setup doesn't give me a connection. I wonder if I left something out when I compiled the kernel? |
jcr1 (893) | ||
| 385028 | 2005-09-05 12:43:00 | Its just a standard network connection you're setting up Either emerge dhcpcd (ideal) and run: rc-update add dhcpcd default Or, try: ifconfig eth0 down ifconfig eth0 192.168.0.5 route add default gw 192.168.0.1 echo "nameserver 192.168.0.1" > /etc/resolv.conf Should be good :) Cheers Chill. |
Chilling_Silence (9) | ||
| 385029 | 2005-09-05 20:42:00 | I did as you suggested. But when I ran rc-update add dhcpcd default I got * /sbin/rc-update: /etc/init.d/dhcpcd not found; aborting I also tried the other, but it didn't help either. |
jcr1 (893) | ||
| 385030 | 2005-09-05 22:08:00 | Oops.... My bad, try editing /etc/conf.d/net (or net.eth0) Configure the network in there to use dhcpcd :) |
Chilling_Silence (9) | ||
| 385031 | 2005-09-06 00:56:00 | I edited /etc/conf.d/net, with, config_eth1=("dhcp") dhcp_eth1="nodns nontp nonis" Still no luck. I am a little dubious about nodns, as I was given DNS server addresses when I connected with broadband and I have entered them into rp-pppoe. But reading the notes that go with the above configuration it says that that particular script just stops dhcp from overriding things (or words to that effect). I'm perplexed as I thought it would just work as wireless internet did and afterall at the computer end it's just the same thing - ethernet. |
jcr1 (893) | ||
| 385032 | 2005-09-06 04:55:00 | Its coz its dhcpcd Read the installation guide documentation, tells you how to set it ;) |
Chilling_Silence (9) | ||
| 385033 | 2005-09-06 22:57:00 | grub-install should go to hdb2 (if that where your /boot partition is)Ok, as I found out last nite; this is wrong. Sorry to mislead you. If you do this, when you reboot you end up looking at a black screen that says: GRUB _ <<the underscore is a blinking cursor If you see this, reboot your computer with your Windows disc (well this is how I did it); go to recovery console, and fixmbr. Then using the live cd, reinstall grub into the active drive (for me the Windows drive). Incidentally my Windows drive is hd0 (hdba), and the linux drive is hd1 (hdb). Some other things I noticed (BTW this was a non-genkernel install, still a stage3 as I don't have the bandwidth for a stage1): Try not to use genkernel, for me it doesnt pick up my soundcard, it doesnt provide usb printer support, and when I emerged x11 after the install, my usb mouse needed no extra configuration to work (after non-genkernel compile). Doing a manual compile/configure of the kernel isnt as hard as you think. Just before you cd /usr/src/linux to do the make menuconfig; DO emerge pciutils, and take note of chipsets etc. This was invaluable for me as I was able to look for each of them during the kernel config and make sure they were enabled. Straight after the make && make modules_install command (when its all finished) DO emerge coldplug and then rc-update add coldplug (either boot or default, I can't remember offhand). Apparently, hotpug has given way to coldplug. Finally, don't try and do this when tired... as I found out last night, you tend to miss things and make a complete hash of the install |
Myth (110) | ||
| 1 2 3 4 5 6 7 | |||||