2014-02-05

Reboot To Windows From Ubuntu

  1. sudo gedit /etc/default/grub
  2. Change line GRUB_DEFAULT=0, to GRUB_DEFAULT=saved
  3. sudo update-grub
  4. sudo grub-reboot 4
  5. Number at the end is GRUB menuentry position. To find out what number it should be, restart computer and look at the GRUB. For example if Windows entry is 5th, then you should write 4, because it starts from 0.
      You can also make a script:
  1. sudo apt-get install gksu
  2. Create text file with text
  3.     #!/bin/bash
        gksu grub-reboot 4
        gksu reboot

  4. Make it executable sudo chmod +x file
      And even .desktop file:
  1. Create text file with text with .desktop extension
  2.    [Desktop Entry]
       Type=Application
       Name=Restart to Windows
       Exec=(path to script)
       Categories=System;

  3. Put it in /home/user/.local/share/applications

9 comments:

  1. It was nice unblock game . Very informative and expressive .things are easily play online at
    unblocked games 66

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. Nice blog post.thanks for sharing with us.

    ReplyDelete
  4. given valuable information thanks for it... great job go head

    ReplyDelete
  5. I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article.
    obat benjolan di vagina
    obat benjolan di leher
    obat benjolan di punggung
    obat ginjal bengkak
    walatra sehat mata softgel

    ReplyDelete
  6. Thanks please share this information if you are face any problem in Toshiba laptop. We will help you for more detail visit here
    Cara Menghilangkan Benjolan di Payudara
    Cara Menghilangkan Benjolan di Kepala
    Cara Menyembuhkan Thalasemia

    ReplyDelete
  7. I read your blog very helpful information to me. Thanks for sharing it. Really Thanks. software

    ReplyDelete