Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
thats a very good question and I do not use it myself.
what it means is that if you set it on the kernel line....when you issue a normal reboot command within a booted system....it must go to the normal full cold start reboot...the one that goes to the bios screen.
but AFAIK this may be a kernel parameter that is obsolete....circa 2004.
2) can you open a shell and
Code:
su
grub
and post the grub version please.
3) can you also run
strings /boot/grub/stage2 > strings.txt and check for any mention of reboot
In linux2.6.23.12 code base's kernel parameters.txt, reboot option is present.when we do make bzImage, the reboot.c in /arch/*/kerenl/reboot.c is complied and is that reboot.o is copied into /sbin folder as reboot?
well a strings /sbin/reboot gives
usage: %s [-n] [-w] [-d] [-f] [-h] [-i]%s
-n: don't sync before halting the system
-w: only write a wtmp reboot record and exit.
-d: don't write a wtmp record.
-f: force halt/reboot, don't call shutdown.
-h: put harddisks in standby mode.
-i: shut down all network interfaces.
-p: power down the system (if possible, otherwise halt)
2) I am running a vanilla kernel on mdv
3) but you are right...I was looking at knoppix cheat code not the vanilla boot parameter.
I am still none the wiser...if your reboot does not go thru bios....I will have to do some more checking.
will post back if I have a grub kernel line with a reboot= ? parameter that does not use bios.
Thanks asus!
But when i searched for reboot=bios option in google, with lilo only it is used and more over it is to avoid any hang during reboot because of any hardware bug. whatever may be, we just want to know how it is got differ with normal reboot.Thanks for your assistance.
Thaks for the reply. The reason for searching this is, i want to switch from protected mode real mode to make use of int 19h. I searched in google it can't be done in linux because accessing CR0 register is not allowed by user programs. Anyway when system restarts at one stage it will switch to real mode. I have seen reboot comes with different modes like warm, cold, "BIOS". So i trying with that option without knowing it fully (not able to get the details what is the exact reason for it).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.