Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

multiboot loader

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
maxsteele
Posts: 1
Joined: 2019-04-18 17:03

multiboot loader

#1 Post by maxsteele »

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?

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: multiboot loader

#2 Post by p.H »

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.

milomak
Posts: 2168
Joined: 2009-06-09 22:20
Been thanked: 2 times

Re: multiboot loader

#3 Post by milomak »

are you asking us to assume you are using grub?

and if it is grub, which os controls grub?
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: multiboot loader

#4 Post by Head_on_a_Stick »

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
deadbang

Post Reply