PC & IT SUPPORT MADE EASY FORUM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

linux setting boot order manually!

Go down

linux setting boot order manually! Empty linux setting boot order manually!

Post by jamied_uk 6th December 2013, 14:45

First try this method


http://www.noobslab.com/2012/05/install-grub-customizer-in.html




if that fails then do it manually!


Code:
How to Change Order of Dual Boot MenuList

This tutorial is same way with tutorial 3 Steps to Remove Windows from Dual Boot Menu (it's very easy).

But Step 2 is different. Take a look.

SCENARIO

We have 2 OS's, Linuxmint and Windows 7 (or other Windows). Usually, Windows menu is in the last order in dual boot menu. This time, we make it to up of the menu, the first one.

STEP 1

Fisrt, enter your Linuxmint. Open Terminal and type :

   gksudo gedit /boot/grub/grub.cfg

this command will open file grub.cfg. It contains some commands that set dual boot menu. Yes, we can edit it.

STEP 2

Search word "Windows" in this file, and we will find some commands like this.

   ### BEGIN /etc/grub.d/30_os-prober ###
   menuentry “Windows 7 (on /dev/sda1)” {
   insmod ntfs
   set root=’(hd0,1)’
   search –no-floppy –fs-uuid –set 2c72f8d872f8a7aa
   chainloader +1
   }
   ### END /etc/grub.d/30_os-prober ###

Block this commands then Move to above commands for Linuxmint so that like this.

   ### BEGIN /etc/grub.d/30_os-prober ###
   menuentry "Ubuntu 10 versi Windows 7(on /dev/sda1)" {
       insmod ntfs
       set root='(hd0,1)'
       search --no-floppy --fs-uuid --set 2c72f8d872f8a7aa
       chainloader +1
   }
   ### END /etc/grub.d/30_os-prober ###

   ### BEGIN /etc/grub.d/10_linux ###
   menuentry "Linux Mint 9, 2.6.32-21-generic (/dev/sda6)" --class linuxmint --class gnu-linux --class gnu --class os {
       recordfail
       insmod ext2
       set root='(hd0,6)'
       search --no-floppy --fs-uuid --set 32054218-5964-40c0-84e7-efb0cd3a3a2e
       linux    /boot/vmlinuz-2.6.32-21-generic root=UUID=32054218-5964-40c0-84e7-efb0cd3a3a2e ro   quiet splash
       initrd    /boot/initrd.img-2.6.32-21-generic
   }
   menuentry "Linux Mint 9, 2.6.32-21-generic (/dev/sda6) -- recovery mode" --class linuxmint --class gnu-linux --class gnu --class os {
       recordfail
       insmod ext2
       set root='(hd0,6)'
       search --no-floppy --fs-uuid --set 32054218-5964-40c0-84e7-efb0cd3a3a2e
       echo    'Loading Linux 2.6.32-21-generic ...'
       linux    /boot/vmlinuz-2.6.32-21-generic root=UUID=32054218-5964-40c0-84e7-efb0cd3a3a2e ro single
       echo    'Loading initial ramdisk ...'
       initrd    /boot/initrd.img-2.6.32-21-generic
   }
   ### END /etc/grub.d/10_linux ###
   

STEP 3

To make it works. Update the grub. Type to Terminal :

   sudo update-grub
jamied_uk
jamied_uk
Admin

Posts : 2951
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum