linux setting boot order manually!
Page 1 of 1
linux setting boot order manually!
First try this method
http://www.noobslab.com/2012/05/install-grub-customizer-in.html
if that fails then do it manually!
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
Similar topics
» Linux Bash Setting Var & Fallback Var Setting With User Input
» Getting linux to boot from the correct os option
» install PXE boot server on linux
» Solus Linux OS 64 Bit 1 Second Boot Time
» Speed Up Linux Mint Boot Script Example
» Getting linux to boot from the correct os option
» install PXE boot server on linux
» Solus Linux OS 64 Bit 1 Second Boot Time
» Speed Up Linux Mint Boot Script Example
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|