pikhq / bootstrap-linux

A Linux system which is just barely capable of building itself.
121 stars 14 forks source link

Make the image actually bootable #7

Open teeler opened 11 years ago

teeler commented 11 years ago

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?

8l commented 11 years ago

it actually booted,

cp real_linux.config linux.config cp -R out/* /mnt/ grub-mkconfig -o grub.cfg

teeler commented 11 years ago

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" notifications@github.com 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 .

8l commented 11 years ago

pure64, tccboot could be the option, but pure64 is still fat16. so tccboot.. http://bellard.org/tcc/tccboot.html

teeler commented 11 years ago

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" notifications@github.com 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 .