[SOLVED] Laptop Debian 6 Restart and Reboot problem.
DebianThis forum is for the discussion of Debian Linux.
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.
I think it may have installed the first grub into the small 100mb partition that Windows 7 calls the loader then switches to the C: where Windows is and gives the graphical choice for grub. Once there I see the 4 choices. Does that explain what I am seeing? Hope so
Booting into Windows not the problem. The problem seems to be that if I choose restart from Debian it doesn't go through POST it just restarts Debian. I would rather it went through post so I can choose Windows or Ubuntu.
Ok you have grub2 & wubi, at boot which are you seeing?
At boot I see grub2. Wubi if I am not mistaken shows up when I select windows then I see Windows or Ubuntu its part of the Windows boot menu - used to be in boot.ini file.
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
GRUB_DEFAULT=saved
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_LINUX_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
I would have to think that maybe wubi is allowing the restart to go back to OS instead of computer. Maybe you can check your wubi configuration. I myself would prefer to have 1 bootloader handling job. Having to make a selection from 2 boot menu's would drive me crazy.
Oh, guys, don't touch grub! The bootloader is not the case here. I've just tried Debian 6 live, install os from it. Live and real installation have the same behavior - command "reboot", also from Gnome menus -- does something (stop gnome, X manager, stop and start some daemons as I can catch on screen), but not the real hardware reboot. I've recall the Win3.11/95 option "reload windows" - windows was reloading, but whole PC was not. I guess, it's some optimizing idea of developers.
For now I'll try to dig into it.
So, the described behavior is because of kexec-tools. It's init.d script executed (by design) just before the reboot script, so only the kernel is rebooted.
In first look I can't figure out how to configure kexec to be optional, so for now I've just uninstall package kexec-tools.
And one more: kexec-tools seems to be installed by default while installing from Debian 6 Live disks. Installation from basic DVD set with two options "Graphical environment" and "basic utilities" does not install kexec-tools.
And one more: kexec-tools seems to be installed by default while installing from Debian 6 Live disks. Installation from basic DVD set with two options "Graphical environment" and "basic utilities" does not install kexec-tools.
I have not tried this yet as I have been on vacation all of last week. Will try soon and let you know. However what is kexec-tools and do I need it? Thanks for seeing my original post and pointing to something that sounds like a solution.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.