Sometimes I am required to restart my Ubuntu machine and don't want to go through the BIOS then Grub. I remember that in windows we just need to hold down the Shift Key while clicking restart and trying the same procedure in Ubuntu without any success.
Ubuntu – Reboot Ubuntu without going through the BIOS POST
12.04restart
Best Answer
On standard x86 PCs address 0x472 controls whether or not one does a cold or warm reboot. By writing 0x1234 to this address, the BIOS should do a warm reboot, and if zero is written to this address a cold reboot will occur.
This can be controlled with the kernel parameter reboot=w (warm) or reboot=c (cold). So using sudo and your favourite editor, edit
/etc/default/grub
and changeto
and save. Then run:
and reboot. Hopefully, you should be doing warm reboots from now on. I've not tested this, but the code is there in the kernel to support this, see
arch/x86/kernel/reboot.c
in the kernel source and howreboot_type
controls the reboot.