multiboot loader

New to Debian (Or Linux in general)? Ask your questions here!

multiboot loader

Postby maxsteele » 2019-04-18 17:12

My laptop is currently booting up with 4 different operating systems...Debian 9, Windows 7, Xubuntu, and Kubuntu; I want to modify the boot menu so that Windows 7 is at the top of the list, (default boot os). Which file do I modify and can I just cut and paste the menu entry section of the code for windows 7 to the top of the menu entry list?
maxsteele
 
Posts: 1
Joined: 2019-04-18 17:03

Re: multiboot loader

Postby p.H » 2019-04-18 17:35

Being the default is not the same as being at the top.
If the main boot loader is GRUB 2, you can change the default in /etc/default/grub (read carefully the comment at the top of the file) on the system which installed it.
p.H
 
Posts: 1188
Joined: 2017-09-17 07:12

Re: multiboot loader

Postby milomak » 2019-04-18 19:37

are you asking us to assume you are using grub?

and if it is grub, which os controls grub?
Desktop: iMac Late-2015 27" 5K Retina (17,1 - 3.3GHz) - MacOS and Windows 10 (Bootcamp)/ Sid (External SSD)
Laptop: Lenovo ideapad Y700 [nVidia Optimus] (64-bit) - Sid, Win10, Solus
Kodi Box: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
milomak
 
Posts: 1998
Joined: 2009-06-09 22:20

Re: multiboot loader

Postby Head_on_a_Stick » 2019-04-18 20:01

The OP can use https://packages.debian.org/stretch/boot-info-script to determine that.
Code: Select all
/usr/sbin/bootinfoscript

It's rubbish for UEFI systems though (IIRC) so in that case run
Code: Select all
efibootmgr -v

https://packages.debian.org/stretch/efibootmgr
Don't break DebianHow to report bugs

SharpBang GNU/Linux® — a pre-configured Openbox/Tint2 desktop running on Debian stable
User avatar
Head_on_a_Stick
 
Posts: 10695
Joined: 2014-06-01 17:46
Location: /dev/chair


Return to Beginners Questions

Who is online

Users browsing this forum: p.H and 5 guests

fashionable