LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-24-2024, 02:22 PM   #1
kalioptimz
LQ Newbie
 
Registered: Jan 2024
Posts: 2

Rep: Reputation: 0
change order of OS options in boot-manager


After installing Kali Linux on my computer, the boot manager displays a list of available OS's in my computer and prompts me to choose an OS.
By default, Kali Linux is high-lighted as the first option on the list, and Windows is 3rd option on list.
I would like to have Windows as the first option on the list, so that I do not have to always scroll down to access Windows (I only have 5 seconds to do so before it automatically boots the first option, i.e Kali Linux).

Is it possible to have Windows as first option in boot-manager?

btw I tried include an image but not sure if it went thru (it was asking for URL of the image instead of path directory).

Thanks
 
Old 01-25-2024, 01:00 PM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,016

Rep: Reputation: 7342Reputation: 7342Reputation: 7342Reputation: 7342Reputation: 7342Reputation: 7342Reputation: 7342Reputation: 7342Reputation: 7342Reputation: 7342Reputation: 7342
Obviously it can be solved. You can also change that 5 secs. And also you can change the default. But first we need to know which bootloader is it.
But first: https://www.linuxquestions.org/quest...rs-4175633618/
 
Old 01-25-2024, 01:18 PM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,561

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
If it is Grub on Kali, go to the /etc/default/grub file and change the line: GRUB_DEFAULT=0 inserting a 2 in place of the 0 if windows is the third entry. Grub counts from zero. You need to run grub-mkconfig as root user after making the change and saving it.
 
Old 01-28-2024, 12:22 PM   #4
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,679
Blog Entries: 4

Rep: Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947
Unless the “boot manager” that you speak of has some options of its own – carefully read any docs – you are first going to need to know which underlying boot-system is being used (probably Grub), and then make configuration changes directly to it. Very carefully. Both the default choice and the delay can be configured.

Grub is a “smart” loader which can be customized by changing ordinary files. (As root.) LILO, not so much.

Last edited by sundialsvcs; 01-28-2024 at 12:24 PM.
 
Old 01-28-2024, 03:48 PM   #5
kalioptimz
LQ Newbie
 
Registered: Jan 2024
Posts: 2

Original Poster
Rep: Reputation: 0
Thumbs down funny answers

The answers to my question are simply hilarious. You make it seem like I'm asking how to dismantle a nuclear bomb LMAO.
After I posted this thread I simply googled the question and found tool Grub-Customizer to edit GRUB without need to use terminal (and I was also able to find the terminal commands to do so if I want to).
You just assume that anyone joining this forum is a child who just stumbled across a hacking tool? lol
 
Old 01-29-2024, 01:15 AM   #6
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,016

Rep: Reputation: 7342Reputation: 7342Reputation: 7342Reputation: 7342Reputation: 7342Reputation: 7342Reputation: 7342Reputation: 7342Reputation: 7342Reputation: 7342Reputation: 7342
Quote:
Originally Posted by kalioptimz View Post
The answers to my question are simply hilarious. You make it seem like I'm asking how to dismantle a nuclear bomb LMAO.
After I posted this thread I simply googled the question and found tool Grub-Customizer to edit GRUB without need to use terminal (and I was also able to find the terminal commands to do so if I want to).
You just assume that anyone joining this forum is a child who just stumbled across a hacking tool? lol
So next time please use google first. Simply.
 
Old 01-29-2024, 08:19 AM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,561

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
Simply editing the file I suggested would have done the job and is extremely simple. In the future, I would also suggest you do an online search before posting. That is expected. Your comment about the complexity of the suggestions you got is hilarious in the extreme. Replacing one character in a text file is not quite the same as 'dismantling a nuclear bomb'.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Logi Sales Manager on Ncurses (invoice, invoicing, orders, order, sale order, sales order...)? Xeratul Linux - Software 0 03-25-2017 02:45 PM
[SOLVED] uncertainty about boot order options Brant Linux - Newbie 6 12-29-2014 02:47 PM
[SOLVED] Kernel boot options removed by fault, no boot options cdt Linux Mint 8 09-08-2011 11:25 PM
change grub boot order, all instructions say change default, but I don't see default mhg Linux - Newbie 5 11-09-2008 10:01 AM
Have to change boot order in BIOS to boot ubuntu/winxp Minn3h Linux - Software 7 04-01-2006 05:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration