//
stai leggendo...
Linux

GRUB Manage

How to change grub’s bootloader preferences into your PC.

Proced in this way………..

Open a window terminal – as bash – and type in:

cd /boot/grub

after edit the configuration file:

sudo gedit grub.cfg
or
sudo kate grub.cfg

Type your admin password and after it opens like this:

________________________________________________________
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/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=”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

This label ” DO NOT EDIT THIS FILE “ it’s a warning but you can still edit the file.

This command say to grub witch is the default system to boot:

set default=”0″

If you want to change the boot’s order, you must do this:

Select the configuration’s file and grow up the system you want boot first.

or change the line’s value and set it to default identifing the new position less 1.

For example Ubuntu is in second position

Set the value to 1 (2-1)

set default=”1″

At the next reboot GRUB will put your linux system first than Windows.

Save it and restart your pc.

Advertisements

Discussione

I commenti sono chiusi.

%d blogger hanno fatto clic su Mi Piace per questo: