Help in init 6
hi all
When i type init 6 in the terminal, it reboots the system by unloading modules,filesystem....etc. all things are in /etc/rc... folders or anything present in kernel code...Can anyone explain the reboot process. Thanks in advance. |
|
my doubt is what happens in the BIOS once the user types init 6 in the terminal, whether OS switches to real mode when system reboots? any doc regarding this? Thanks in advance.
|
IIRC, once Linux goes through the shutdown process, it notifies the BIOS to reset the system and things start over from scratch in real mode with the BIOS.
|
I found /usr/src/linux2.6.23.12/arch/i386/kernel/reboot.c. In this file, when system reboots the OS switches from protected mode to real mode. when this corresponding object file will be used? is any differnce b/w /sbin/reboot and the above specified reboot.o. Can anyone explain me.
|
All times are GMT -5. The time now is 10:02 PM. |