You are not logged in.

#1 2010-09-04 19:58:32

PiousMinion
Member
Registered: 2009-07-21
Posts: 12

[archiso] not able to use kernel26-lts

I'm trying to get archiso working and it's all but refusing to use kernel26-lts.

I grabbed a fresh copy via the AUR package archiso-git, added kernel26-lts to packages.i686, and appended "-lts" where appropriate in the make file and in syslinux.cfg  The cd builds, the config looks great and the correct files are in place on the iso    ...but when I select the option to boot, the screen just reloads the menu.  This is rather confusing.

Seeing as how both kernels were present, I went ahead and created two menu entries.  On the menu on the new iso the 'lts' kernel just reloaded the menu again, and the normal kernel booted just fine until it got to the initrd that was intended for the 'lts' one. Oops, but I guess I know the initrd isn't bad or something and preventing the kernel from loading.  Recreating the iso with only the normal kernel works flawlessly, but I want lts. hmm


I'm stumped, the kernel is there, the menu calls it, but nothing happens.  Ideas?

Offline

#2 2010-09-04 21:55:53

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: [archiso] not able to use kernel26-lts

Please describe each steps in commands.

EDIT: Wait a minute, there is no aufs package for lts. Without a custom kernel26-lts with patch + aufs for that kernel, this is not posible.

Last edited by djgera (2010-09-04 22:30:36)

Offline

#3 2010-09-04 22:45:40

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: [archiso] not able to use kernel26-lts

sidenote: in case that you build your custom kernel26-lts, remember this: syslinux does not support rock ridge/jouliet filenames, only plain iso9660 filenames, so vmlinuz26-lts become vmlinuz26_lts (this is why "just reload menu", because can not find that filename wink)

EDIT:
Just in case, these are all needed changed under syslinux-iso/

echo 'kernel26-lts' >> packages.i686
echo 'kernel26-lts' >> packages.x86_64
sed -i 's|26|26-lts|g' Makefile
sed -i 's|26|26_lts|g' boot-files/syslinux/syslinux.cfg

Last edited by djgera (2010-09-04 22:49:37)

Offline

#4 2010-09-05 01:12:54

PiousMinion
Member
Registered: 2009-07-21
Posts: 12

Re: [archiso] not able to use kernel26-lts

djgera wrote:

Please describe each steps in commands.

EDIT: Wait a minute, there is no aufs package for lts. Without a custom kernel26-lts with patch + aufs for that kernel, this is not posible.

Very informative, thank you. smile


No aufs package?  I guess you mean kernel module.

Using the word patch makes me think that support for aufs in 2.6.32 wasn't native.  If that's the case then how did archiso work with that version and prior?
Also, is there a way to use the old way of using aufs before there was native kernel support for it?

Offline

#5 2010-09-05 20:02:48

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: [archiso] not able to use kernel26-lts

Yes, aufs package is kernel module _only_ for kernel26 package.

On kernel26-2.6.32 age, aufs was compiled for it. This is why work.

You need a patch for 2.6.32, this patch makes some functions, that are private, public. In that way, aufs can be build outside kernel tree (standalone).

Offline

Board footer

Powered by FluxBB