bootstrap-linux
bootstrap-linux copied to clipboard
Make the image actually bootable
make_fs.sh only creates a filesystem image, but does not produce a bootable image (via lilo, grub, or direct kernel placement).
I'm happy to contribute this - any preference for method?
it actually booted,
cp real_linux.config linux.config cp -R out/* /mnt/ grub-mkconfig -o grub.cfg
It still needs a bootloader - I was building the image and transplanting it over to different, blank machine.
In any case I have it working, I'll close the bug unless those modifications are desirable. On Apr 21, 2013 5:07 AM, "8l" [email protected] wrote:
it actually booted, cp real_linux.config linux.config just cp -R out/* /mnt/
— Reply to this email directly or view it on GitHubhttps://github.com/pikhq/bootstrap-linux/issues/7#issuecomment-16722201 .
pure64, tccboot could be the option, but pure64 is still fat16. so tccboot.. http://bellard.org/tcc/tccboot.html
I've got something minimal running with extlinux. I had to modify a few details of make_fs.sh, but its pretty minimal. I'm targeting virtualbox at the moment and its booting there so I'm happy. ;)
I'll put up fork later and send a pull request. On Apr 22, 2013 7:09 AM, "8l" [email protected] wrote:
pure64, tccboot could be the option, but pure64 is still fat16. so tccboot.. http://bellard.org/tcc/tccboot.html
— Reply to this email directly or view it on GitHubhttps://github.com/pikhq/bootstrap-linux/issues/7#issuecomment-16789495 .