Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Upgrading the kernel...?
- Date: Sat, 29 Jul 2006 23:54:28 -0400
- From: Scott Robbins <scottro@example.com>
- Subject: Re: [tlug] Upgrading the kernel...?
- References: <44CB5808.8070702@example.com> <20060729165723.72e7dcec.godwin.stewart@example.com> <44CB82F1.4010101@example.com> <20060729181305.4ec831cd.godwin.stewart@example.com> <44CB9CE3.60205@example.com> <20060729202718.334e52f0.godwin.stewart@example.com> <44CC1FF8.2080509@example.com>
- User-agent: mutt-ng/devel-r804 (FreeBSD)
On Sun, Jul 30, 2006 at 11:56:56AM +0900, Dave M G wrote: > Godwin > > Thanks for explaining things. > > I'm setting aside tomorrow afternoon to try upgrading my kernel. If I > can get reliable Palm connections and not create a world of other > hassles, then it's worth it. The key is if I can reboot to my current > system if things go horribly wrong. > > Before I proceed, I want to make sure that I'm doing the right things. > So I'm just going to put here the commands I need to do, and if any > expert eyes spot any gotchas, that would help a lot. I haven't been following this thread too closely, so forgive me if I'm missing something but... Can't you simply upgrade your kernel through apt-get and hadn't you posted at some point that some folks had simply done that to fix this problem with the palm? The main reason I mention this is that rebuilding a Debian kernel can be a pain in the neck. (As opposed to Slackware, which is what Godwin uses, or even RH, which is what I think he used to use many many many years ago.) Looking at that post I see various potential problems. > > First, a question. There is a warning midway down the page that says > "MPORTANT: READ THIS POST OR THE KERNEL MAY NOT COMPILE!". It links to > this page: > http://www.ubuntuforums.org/showpost.php?p=1308736&postcount=106 > > On that page, it says to "unset the following", followed by these > directions: > Device Drivers -> Multimedia Devices -> Digital Broadcasting Devices > > But, I don't understand what it's pointing to. Those aren't directories, > and I can't find any kind of "Device Drivers" program in my Gnome Panel. > What setting or application am I supposed to be using to remove these > "Digital Broadcasting Devices"? No, they mean that when you configure the kernel, using, I guess, that xconfig (sigh, it's been awhile since I compiled a Linux kernel, and it's SOO much easier in FreeBSD--I always used make menuconfig but I assume this is something more graphically oriented) you will see the options of which they speak. > cd /usr/src/linux > > make-kpkg clean > > make-kpkg -initrd --revision=386 kernel_image kernel_headers modules_image > > dpkg -i <name of the image .deb file> > > dpkg -i <name of the header .deb file> > > QUESTION: As per Godwin's recommendation, I want to ensure that I can > boot back to my current setting. What exactly is it that I'm moving to > /boot/vmlinuz-test to ensure that's the case? I assume I do it at this > stage of the kernel creation. And when I edit GRUB, what do I put in > menu.ls to point to the new kernel? What do you have now in /boot? There should be something called vmlinuz and probably something called initrd.img. Check your current grub/menu.lst to see. Those are the files you want to, before doing anything, copy to /boot/vmlinuz.old and /boot/initrd.img.old You should see something similar to this in your grub/menu.lst now kernel /boot/vmlinuz initrd /boot/initrd.img They probably have longer names, like vmlinuz-2.16.xxx and initrd-2.16.xxx.img but it doesn't matter. Just check grub's menu.lst see what the lines are now, find those files, usually in /boot, sometimes in / (I dont have an Ubuntu install to check at this moment) and copy them to something like vmlinuz.old and initrd.img.old. Then, as I have no idea if Ubuntu automatically overwrites your menu.lst when installing new kernels, first copy the menu.lst somewhere. Then, if it has overwritten it, you can at least see the names of the files you had. That is also what you will add to menu.lst, Copy the lines with a vmlinuz and initrd.img and add in another entry, something like title Ubuntu Past kernel /boot/vmlinuz.old initrd initrd.img.old (The above may be incorrect---just follow the pattern that is in your present menu.lst, but replace the vmlinuz and initrd lines with the vmlinuz.old and initrd.old.) Most distributions, when you're done with building the kernel, you copy arch/i386/boot/bzImage (in the /usr/src/kernel-whatever directory that you are in when you're building the kernel) to /boot/vmlinuz. This is what Godwin was referring to when he spoke of vmlinuz.test -- Scott Robbins PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 Xander: This is just too much. I mean, yesterday's my life like, uh oh, pop quiz. Today, it's rain of toads.
- References:
- [tlug] Upgrading the kernel...?
- From: Dave M G
- Re: [tlug] Upgrading the kernel...?
- From: Godwin Stewart
- Re: [tlug] Upgrading the kernel...?
- From: Dave M G
- Re: [tlug] Upgrading the kernel...?
- From: Godwin Stewart
- Re: [tlug] Upgrading the kernel...?
- From: Dave M G
- Re: [tlug] Upgrading the kernel...?
- From: Godwin Stewart
- Re: [tlug] Upgrading the kernel...?
- From: Dave M G
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Upgrading the kernel...?
- Next by Date: [tlug] SPF info
- Previous by thread: Re: [tlug] Upgrading the kernel...?
- Next by thread: Re: [tlug] Upgrading the kernel...?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links