Welcome
Welcome to refracta

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today!

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

Ask your questions here.

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

Postby nadir » 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
So i herd u liek mudkip?
User avatar
nadir
 
Posts: 1159
Joined: Wed Mar 09, 2011 4:18 am
Location: here

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

Postby fsmithred » 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.
User avatar
fsmithred
 
Posts: 1987
Joined: Wed Mar 09, 2011 9:13 pm

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

Postby nadir » 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 ?
So i herd u liek mudkip?
User avatar
nadir
 
Posts: 1159
Joined: Wed Mar 09, 2011 4:18 am
Location: here

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

Postby fsmithred » Wed May 04, 2011 3:16 pm

Code: Select all
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.
User avatar
fsmithred
 
Posts: 1987
Joined: Wed Mar 09, 2011 9:13 pm

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

Postby nadir » 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.
So i herd u liek mudkip?
User avatar
nadir
 
Posts: 1159
Joined: Wed Mar 09, 2011 4:18 am
Location: here

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

Postby nadir » 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: Select all
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.
So i herd u liek mudkip?
User avatar
nadir
 
Posts: 1159
Joined: Wed Mar 09, 2011 4:18 am
Location: here

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

Postby fsmithred » 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.
User avatar
fsmithred
 
Posts: 1987
Joined: Wed Mar 09, 2011 9:13 pm

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

Postby nadir » 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
So i herd u liek mudkip?
User avatar
nadir
 
Posts: 1159
Joined: Wed Mar 09, 2011 4:18 am
Location: here


Return to Help

Who is online

Users browsing this forum: No registered users and 0 guests

suspicion-preferred