Cool stuff, many thanks =)<br><br>Hope your LFS goes well *thumbs up*<br><br><div><span class="gmail_quote">On 02/04/07, <b class="gmail_sendername">Nistur Effee</b> <<a href="mailto:nistur@karate.com">nistur@karate.com
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Ok, as Dreamisdead said, it's easiest typing "make install" and then it'll do everything for you BUT there is a slight problem. Assuming you haven't got everything quite peachy, for example you compile incorrect SATA drivers *cough* and you do "make install", ok it will back up your old kernel and for all intents and purposes it's still there. But I'm pretty sure it doesn't change your grub
menu.lst so it's not referenced when you boot.<br>Unless you already know what's going on and something *does* go wrong, you have to modify grub at boot. Not really that hard, but you need to know what you're typing.
<br>Personally whereas this is the easy way out in a way, I still recommend copying the 3 files over manually: (assuming you're in the root of the kernel source)<br>./arch/x86/boot/bzImage -> /boot/linux-2.6.whatever
<br>./.config -> /boot/config-2.6.whatever<br>./System.map -> /boot/System.map-2.6.whatever<br><br>then fire up your favourite text editor and open up your /etc/grub/menu.lst and you should see a section that looks like this:
<br><br>title Arch Linux<br>root (hd0,0)<br>kernel /boot/linux-2.6.20-r3 root=/dev/hda1<br><br>ok, there may be some differences, but I'm sure you'll find what I mean. OK, rename the title to "mylinux BACKUP" or something everything else in that section... DON'T TOUCH
<br>If it all goes pear shaped that kernel should still boot and you should have things back to how they were (except for things like graphics card drivers, which are a bitch...)<br><br>Now make a new section, above that one, copying the layout, it's possible that a premade kernel has, I think it's a .img or something there too, but what you need is something along the lines of this:
<br><br>title call me whatever you want<br>root (hd0,0) --- copy this EXACTLY from the other section<br>kernel /boot/linux-2.6.whatever root=/dev/hda1<br><br>Obviously, change the kernel name to what you saved it as, and the two root options to what suits your system. These shouldn't have changed from the last kernel though. When you're all done, reboot and check out your fancy new options in GRUB.
<br>Next step: Pray you've compiled the correct things<br><br>I hope that's made it a little clearer. As I said, it's possible to use make install like DreamisDead suggested, however I don't think it changes
grub.conf at all. so you have to change the kernel line from within grub manually.<br><br>Anyway, I think I'm going to try starting LFS on my laptop again *smile*<br><br>---------------------------------------------------
<br>Signing out<br>Nistur <a href="mailto:nistur@karate.com">nistur@karate.com</a><br><br><br>--<br>_______________________________________________<br>Get your free email from <a href="http://mail.karate.com">
http://mail.karate.com</a><br><br>_______________________________________________<br>dundee GNU/Linux Users Group mailing list<br><a href="mailto:dundee@lists.lug.org.uk">dundee@lists.lug.org.uk</a> <a href="http://dundee.lug.org.uk">
http://dundee.lug.org.uk</a><br><a href="https://mailman.lug.org.uk/mailman/listinfo/dundee">https://mailman.lug.org.uk/mailman/listinfo/dundee</a><br>Chat on IRC, #tlug on <a href="http://dundee.lug.org.uk">dundee.lug.org.uk
</a><br></blockquote></div><br>