LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help in init 6 (https://www.linuxquestions.org/questions/linux-newbie-8/help-in-init-6-a-632723/)

East 04-03-2008 09:29 AM

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.

prad77 04-03-2008 02:02 PM

http://www.faqs.org/docs/linux_intro/sect_04_02.html

Google helps for all info.

Gentoo

East 04-05-2008 12:19 AM

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.

btmiller 04-05-2008 02:10 AM

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.

East 04-05-2008 04:28 AM

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.