Ask your questions here.
Post a reply

a kernel is a kernel, and a rose is a rose...

Tue May 03, 2011 12:44 am

little problem:
my laptop only runs with a 37-kernel at minimum.
As i see it i got two choices:
a) try to add a sid-kernel to the existing stable
b) upgrade to sid.

I would rather pick choice a). I know there is a thread at forums.debian.net where fsmithred adviced a fellow user how to add a kernel (deb's) into a directory for that purpose.
Two questions:
a) which was the directory
b) had ever someone success with that (i for one never had luck with kernels and live-helper).

EDIT:
question a) seems to be answered (by fsmithred):
config/chroot_local-packages

Re: a kernel is a kernel, and a rose is a rose...

Tue May 03, 2011 10:56 am

Yes, any debs you want installed when you run live-build should go in config/chroot_local-packages. If you're making a remix, make sure that /vmlinuz and /initrd.img point to the kernel you want to boot before you run the snapshot tool.

Looks like this one is in backports now.
http://packages.debian.org/squeeze-back ... -bpo.2-686

Several others came up on my search, but the links just take me to an error page saying that the package doesn't exist.

Re: a kernel is a kernel, and a rose is a rose...

Wed May 04, 2011 6:09 am

Thanks for the hint bout backports.
Is it an:
ln -s /vmlinuz /boot/vmlinuz-2.6.38-yada-yada ?

Re: a kernel is a kernel, and a rose is a rose...

Wed May 04, 2011 3:16 pm

Code:
ln -s TARGET LINK_NAME
ln -s /boot/vmlinuz-2.6...  /vmlinuz

It'll probably get done automatically when you install the kernel. Problems may arise when you compile your own and don't choose a name that gets recognized as a later version, or if you don't want the latest version to be the default.

Re: a kernel is a kernel, and a rose is a rose...

Wed May 04, 2011 4:15 pm

aha, the other way around (which i knew, but it did not know what i thought to be the other way around "ln target source" or "ln source target" :-) )
I am at it.
First problem:
linux-kbuild-2.6-38 is broken in backports. I worked around by adding sid-repos, installing the headers and removing sid-repos.

Re: a kernel is a kernel, and a rose is a rose...

Wed May 04, 2011 4:21 pm

The next problem is a general Vbox-guest-additions & kernel 2.6.38 problem:
They fail to build.
I had to:
Code:
ln -s /usr/src/linux-headers-2.6.38-1-686/include/generated/autoconf.h /usr/src/linux-headers-2.6.38-1-686/include/linux/

It also happens with testing or sid, when running a 38-kernel.

Re: a kernel is a kernel, and a rose is a rose...

Wed May 04, 2011 4:40 pm

You might confuse yourself if you use the word, "source". Target is the real file. Link name is the symbolic link you create. If I build a new chair with the command "ln -s your-living-room my-new-chair", and I sit in my new chair, I'll see your living room around me instead of mine. Actually, it's more like a door than a chair.

Re: a kernel is a kernel, and a rose is a rose...

Wed May 04, 2011 5:31 pm

fsmithred wrote:You might confuse yourself if you use the word, "source". Target is the real file. Link name is the symbolic link you create. If I build a new chair with the command "ln -s your-living-room my-new-chair", and I sit in my new chair, I'll see your living room around me instead of mine. Actually, it's more like a door than a chair.

Sounds like it was more easy to remember it that way. Thanks
Post a reply