Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm experimenting with a setup where I keep my kernel and initrd on a USB stick, and thus I can keep everything on the actual computers fully encrypted. Nothing is stored in clear text, and nothing can be tampered with.

I want to use the same USB stick for booting up multiple machines, and it would be real fancy if the boot loader could decide to load a different kernel/initrd/rootfs depending on which hardware I'm booting, and if it could detect this automatically using some sort of manual rules (perhaps hard drive UUID or similar).

Any ideas how I could create a setup like this? I could set up grub or similar with a simple menu that I can use when booting, but it would be nice if it could detect this. It would only need to boot linux variants.

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.