[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 have my laptop setup to dual boot Windows7 and Debian6. When in Debian if I select restart it does not reboot the computer it just restarts Debian6. So...
Does anyone know what I need to do to change the command behind the button to actually reboot the computer?
Also try logging out and using gdm/kdm to reboot. Then try the reboot command from a terminal to see what happens. Please tell us what desktop you are using Gnome, KDE or Xfce???
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
Rep:
I have seen this before, when you click on restart you are telling the machine to go back to the system you were using. It is rebooting but it is returning to the OS that you were in previously. If you want to use Windows instead you will need to shut down and manually restart.
Also try logging out and using gdm/kdm to reboot. Then try the reboot command from a terminal to see what happens. Please tell us what desktop you are using Gnome, KDE or Xfce???
I tried logging out and using kdm to reboot. Did not work. I tried shutdown -r now and it does the same thing just restarts new linux kernel and not reboot the computer. My desktop is Gnome. I don't recall this happening this way when I use ubuntu.
Keep in mind that my assuption makes acpid "guilty", so if the above works you should NOT keep acpid permanently stopped cause its a laptop and its cpu will work full time all the time etc.
If it does work, you should take care of the laptop's acpi settings (probably in bios) or even do a bios upgrade.
Keep in mind that my assuption makes acpid "guilty", so if the above works you should NOT keep acpid permanently stopped cause its a laptop and its cpu will work full time all the time etc.
If it does work, you should take care of the laptop's acpi settings (probably in bios) or even do a bios upgrade.
restarts new linux kernel and not reboot the computer.
That is rebooting. If you mean that you cannot boot into windows anymore then there are a few causes. Don't reinstall, it probably won't make any difference.
When you boot the computer does the grub menu display?
1. When in debian can you see windows drive & is there an entry in grub?
2. Can you shutdown machine completely?
3. Have you checked to see if grub is hidden.
4. What is grub time to select os?
That is rebooting. If you mean that you cannot boot into windows anymore then there are a few causes. Don't reinstall, it probably won't make any difference.
When you boot the computer does the grub menu display?
To me rebooting is: Having the computer run BIOS again. Not just restarting the OS.
When I first turn on computer I see a small grub menu without any choice it boots from text mode into graphical grub menu with 4 choices the first 2 are for Debian the next 2 are Windows 7 they say Vista.
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
If that is the case then when I leave the second Grub it would be returning to the first grub and not giving it the signal to restarting the computer. So how do I fix it? BIG question - Looking for easy answer!
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #5 for (,msdos5)/boot/grub.
=> No boot loader is installed in the MBR of /dev/sdb
sda1: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs: /BOOTMGR /BOOT/BCD
sda2: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs: /bootmgr /Boot/BCD
sda3: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files/dirs: /Windows/System32/winload.exe /wubildr.mbr
/ubuntu/winboot/wubildr.mbr /wubildr
/ubuntu/winboot/wubildr /ubuntu/disks/root.disk
/ubuntu/disks/swap.disk
sda3/Wubi: _________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.10
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab
sda4: _________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: _________________________________________________________________________
File system: ext3
Boot sector type: -
Boot sector info:
Operating System: Debian GNU/Linux 6.0
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sda6: _________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sdb1: _________________________________________________________________________
File system: vfat
Boot sector type: Fat16
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ _____________________________________________________
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start End Size Id System
/dev/sda1 2,048 29,362,175 29,360,128 27 Hidden HPFS/NTFS
/dev/sda2 * 29,362,176 29,566,975 204,800 7 HPFS/NTFS
/dev/sda3 29,566,976 509,695,999 480,129,024 7 HPFS/NTFS
/dev/sda4 509,698,046 976,771,071 467,073,026 5 Extended
/dev/sda5 509,698,048 962,209,791 452,511,744 83 Linux
/dev/sda6 962,211,840 976,771,071 14,559,232 82 Linux swap / Solaris
Drive: sdb ___________________ _____________________________________________________
Disk /dev/sdb: 1000 MB, 1000341504 bytes
5 heads, 36 sectors/track, 10854 cylinders, total 1953792 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start End Size Id System
/dev/sdb1 129 1,953,791 1,953,663 6 FAT16
blkid -c /dev/null: ____________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 33784497-d84c-4e45-80e1-facbe8413a64 ext4
/dev/sda1 064E0B2F4E0B16D9 ntfs PQSERVICE
/dev/sda2 721C0BBA1C0B787D ntfs SYSTEM RESERVED
/dev/sda3 CC6001A0600191FE ntfs Acer
/dev/sda4: PTTYPE="dos"
/dev/sda5 01401577-97a9-4184-a011-4e2cc9c604d2 ext3
/dev/sda6 af1192ae-e732-41ac-b739-079ca77c19bf swap
/dev/sda: PTTYPE="dos"
/dev/sdb1 BC9C-7318 vfat KINGSTON
/dev/sdb: PTTYPE="dos"
============================ "mount | grep ^/dev output: ===========================
Device Mount_Point Type Options
/dev/sda5 / ext3 (rw,errors=remount-ro)
/dev/sdb1 /media/usb0 vfat (rw,noexec,nosuid,nodev,user=lonnie)
======================== sda3/Wubi/boot/grub/grub.cfg: ========================
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
}
if [ "${recordfail}" = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/10_lupin ###
menuentry "Ubuntu, Linux 2.6.35-25-generic" {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set cc6001a0600191fe
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
linux /boot/vmlinuz-2.6.35-25-generic root=/dev/sda3 loop=/ubuntu/disks/root.disk ro quiet splash
initrd /boot/initrd.img-2.6.35-25-generic
}
menuentry "Ubuntu, Linux 2.6.35-25-generic (recovery mode)" {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set cc6001a0600191fe
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
linux /boot/vmlinuz-2.6.35-25-generic root=/dev/sda3 loop=/ubuntu/disks/root.disk ro single
initrd /boot/initrd.img-2.6.35-25-generic
}
menuentry "Ubuntu, Linux 2.6.35-22-generic" {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set cc6001a0600191fe
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
linux /boot/vmlinuz-2.6.35-22-generic root=/dev/sda3 loop=/ubuntu/disks/root.disk ro quiet splash
initrd /boot/initrd.img-2.6.35-22-generic
}
menuentry "Ubuntu, Linux 2.6.35-22-generic (recovery mode)" {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set cc6001a0600191fe
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
linux /boot/vmlinuz-2.6.35-22-generic root=/dev/sda3 loop=/ubuntu/disks/root.disk ro single
initrd /boot/initrd.img-2.6.35-22-generic
}
### END /etc/grub.d/10_lupin ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows Vista (loader) (on /dev/sda1)" {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 064e0b2f4e0b16d9
chainloader +1
}
menuentry "Windows 7 (loader) (on /dev/sda2)" {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set 721c0bba1c0b787d
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
============================= sda3/Wubi/etc/fstab: =============================
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
/host/ubuntu/disks/root.disk / ext4 loop,errors=remount-ro 0 1
/host/ubuntu/disks/swap.disk none swap loop,sw 0 0
================= sda3/Wubi: Location of files loaded by Grub: =================
6.6GB: boot/grub/grub.cfg
1.1GB: boot/initrd.img-2.6.35-22-generic
.7GB: boot/initrd.img-2.6.35-25-generic
8.9GB: boot/vmlinuz-2.6.35-22-generic
8.9GB: boot/vmlinuz-2.6.35-25-generic
.7GB: initrd.img
1.1GB: initrd.img.old
8.9GB: vmlinuz
8.9GB: vmlinuz.old
=========================== sda5/boot/grub/grub.cfg: ===========================
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="${saved_entry}"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 01401577-97a9-4184-a011-4e2cc9c604d2
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 01401577-97a9-4184-a011-4e2cc9c604d2
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 01401577-97a9-4184-a011-4e2cc9c604d2
insmod png
if background_image /usr/share/images/desktop-base/spacefun-grub.png; then
set color_normal=light-gray/black
set color_highlight=white/black
else
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-amd64' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 01401577-97a9-4184-a011-4e2cc9c604d2
echo 'Loading Linux 2.6.32-5-amd64 ...'
linux /boot/vmlinuz-2.6.32-5-amd64 root=UUID=01401577-97a9-4184-a011-4e2cc9c604d2 ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-5-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 01401577-97a9-4184-a011-4e2cc9c604d2
echo 'Loading Linux 2.6.32-5-amd64 ...'
linux /boot/vmlinuz-2.6.32-5-amd64 root=UUID=01401577-97a9-4184-a011-4e2cc9c604d2 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-5-amd64
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_otheros ###
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
menuentry "Windows Vista (loader)" {
set root=(hd0,msdos1)
search --no-floppy --fs-uuid --set 064e0b2f4e0b16d9
chainloader +1
}
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
menuentry "Windows Vista (loader)" {
set root=(hd0,msdos2)
search --no-floppy --fs-uuid --set 721c0bba1c0b787d
chainloader +1
}
### END /etc/grub.d/30_otheros ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
=============================== sda5/etc/fstab: ===============================
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda5 during installation
UUID=01401577-97a9-4184-a011-4e2cc9c604d2 / ext3 errors=remount-ro 0 1
# swap was on /dev/sda6 during installation
UUID=af1192ae-e732-41ac-b739-079ca77c19bf none swap sw 0 0
/dev/sdc1 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/scd0 /media/cdrom1 udf,iso9660 user,noauto 0 0
/dev/sdb1 /media/usb0 auto rw,user,noauto 0 0
=================== sda5: Location of files loaded by Grub: ===================
270.9GB: boot/grub/core.img
271.0GB: boot/grub/grub.cfg
270.9GB: boot/initrd.img-2.6.32-5-amd64
270.9GB: boot/vmlinuz-2.6.32-5-amd64
270.9GB: initrd.img
270.9GB: vmlinuz
Above is what I got. That looks like a very handy script for helping folks out!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.