Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have already compiled Linux kernel 3.12.6 but did not install it into /boot as I did not want my hard disk to have another OS.

I have the compiled bzImage and I don't know how to take that and create a bootable ISO. When I created my own OS, I used grub-mkrescue -o to create a grub-bootable ISO, however, Linux is way more complicated, so I am not sure how to do it.

My objective is to test the .iso in an emulator (qemu) and not on actual CD/DVD (at least not for now)

share|improve this question
A Linux kernel is not an OS. If you only have that, you won't be able to do anything with it except boot until it fails to mount /. What are you trying to do exactly. – Mat Jan 5 '14 at 7:09
For now that is OK for me. I know Linux is just a kernel NOT an OS, as there are no GNU utilities (to make it GNU/Linux). However, for my initial purposes I am fine with just the kernel. – inixsoftware Jan 5 '14 at 13:14
Ok, so what's not working when you try with grub-mkrescue or isolinux? – Mat Jan 5 '14 at 14:30
I don't know what files should be in the directory to provide grub-mkrescue. I know a grub.cfg file is needed with info on where the Linux is. But what else is needed and where to put those files – inixsoftware Jan 5 '14 at 15:28
Your kernel image and that's about it. – Mat Jan 5 '14 at 15:59

Your Answer


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

Browse other questions tagged or ask your own question.