Hello everyone,
I squeezed a microcore frugal installation on my hard disk, between the Windows and the Lubuntu partition.
The idea is to use it as an emergency partition to fix Lubuntu (or Windows) whenever I mess it up - and it happens a lot - without needing the Lubuntu Live USB pendrive.
I like to keep the Windows bootloader in place and use it to boot every OS (I know it's a bad idea)
To boot Lubuntu from the Windows bootlader I installed grub2 on the Lubuntu partition itself (something like /dev/sda7 instead of /dev/sda) and copied the first 512B into C:\lubuntu.bin which I can launch from the Windows boot.
I can't do the same with TinyCore because when TinyCore is not running, everything is compressed and I don't have the complete filesystem
I tried to boot TinyCore from a USB stick and
grub-install --root-directory=/dev/sda8/tce /dev/sda8
But I get an error like "/dev/sda8/tce/boot/grub/stage1 not read correctly"
I tried some other things (like grub-install /dev/sda8) but still, it's like there is no linux on /dev/sda8 because as far as I understood the filesystem is created on RAM and it runs from there, there is not really a linux installation on the hard disk
Is there some other way that I can boot TinyCore from the Windows7 bootloader?
I only have two requirements:
1) Keep the Windows7 bootloader in place, as the first thing to show up at boot
2) booting whatever basic linux console from the hard disk, without having to insert any external storage or the network cable. I don't need persistence or desktop environment
Thank you!