[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

live-wrapper - RFE - Arch boot automatic detection

1) I make the assumption that live-wrapper currently supports to build an x86 system with both a 586 kernel and amd64 kernel in the same iso.

2) I would like live-wrapper to have support for arch automatic detection at boot. That means that the bootloader chooses the right kernel depending on the available architecture.

I already did this work for live-build and the commits can be found here:



3) I don't mind implementing the bits to improve the grub cfg file and live cfg file but taking a look at:


where the detect_kernel function is defined and:


which it's one of the places where it is used... well...

I need not only what you currently save on version but also the arch... not sure how irl wants to implement it, with two variables,... Should I parse myself the detect_kernels output and play from there? Should the output be two variables ? A dict variable ?

Given these files found:


I need to be able to loop over 3.16.0-4 so that I found that it has two architectures. Then if one of them is amd64 I guess I can suppose the other one would be 586.

Once that happens I can add my auto entry which if it was a function would need to know the kernel filenames and the kernel associated arch.

Additional note: Pae can also be supported by autodetection if pae kernels are still available in Debian. I think pae it's supported on syslinux but not on grub2.

4) Hopefully this RFE can improve the current live-wrapper design.

Support free software. Donate to Super Grub Disk. Apoya el software libre. Dona a Super Grub Disk. http://www.supergrubdisk.org/donate/

Reply to: