* Ganesh Kumar <bugcy...@gmail.com> [2011-08-11 11:00:09 +0530]: > Hi gurus, > > Boot linux without bootloader is possible > > Default boot sequence BIOS->MBR->grub->Debian. > I had tried put changes MBR directly boot without bootloader its possible. > > BIOS--->MBR(some changes)--->booting process > Yes, this is how it works, in MBR we have the bootloader like GRUB. BIOS->GRUB stage 1->grub stage 2->linux kernel
But directly booting Linux kernel without a bootloader is not possible. This is partly because the kernel doesn't want to handle low level details that the bootloaders can do. The bootloader has to set up the stack and put the kernel arguments in a standard memory area and load the kernel. > In qemu emulator set some argument is possible to boot machine. > qemu -M versatilepb -kernel vmlinuz-2.6.28-versatile -hda > debian_final.img -m 256 -append "root=/dev/sda mem=256M > devtmpfs.mount=0 rw" & In this case Qemu itself acts as a bootloader, so we don't need another intermediate like GRUB. > > If it's possible in x86 machine, please guide me. > > > Did I learn something today? If not, I wasted it. > _______________________________________________ > ILUGC Mailing List: > http://www.ae.iitm.ac.in/mailman/listinfo/ilugc -- http://fossix.org, http://dot.slashb.in _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc