Hi,
I've been trying to create a very small, fast and compact Linux image that I can copy to an SSD, that allows me to boot into a Linux shell across all kinds of laptops and desktops. My approach has been to download a Linux kernel, manually build all possible drivers I can think of into the kernel (no modules) for performance reasons, disable everything I think I don't need, and then use LILO/GRUB to select this kernel during bootup. I also don't have an init for performance reasons.
This works for many, but not all the PCs I've tried. I'll often get a kernel panic, probably due to the boot loader being hard coded to /dev/sda, and sometimes this not being the case as different SATA controllers assign device names differently depending on BIOS boot order, SATA slot the drive is inserted into, etc.
Is it possible to create a Linux image that boots from any x86 desktop, laptop regardless of hardware configuration? Something like a Linux LiveCD, but much faster(boots to shell in <10s) and without all the fluff.
Thanks!
I've been trying to create a very small, fast and compact Linux image that I can copy to an SSD, that allows me to boot into a Linux shell across all kinds of laptops and desktops. My approach has been to download a Linux kernel, manually build all possible drivers I can think of into the kernel (no modules) for performance reasons, disable everything I think I don't need, and then use LILO/GRUB to select this kernel during bootup. I also don't have an init for performance reasons.
This works for many, but not all the PCs I've tried. I'll often get a kernel panic, probably due to the boot loader being hard coded to /dev/sda, and sometimes this not being the case as different SATA controllers assign device names differently depending on BIOS boot order, SATA slot the drive is inserted into, etc.
Is it possible to create a Linux image that boots from any x86 desktop, laptop regardless of hardware configuration? Something like a Linux LiveCD, but much faster(boots to shell in <10s) and without all the fluff.
Thanks!