This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Making KDE Neon the default boot OS

Tags: None
(comma "," separated)
User avatar
mercurial
Registered Member
Posts
91
Karma
0
OS

Making KDE Neon the default boot OS

Tue May 26, 2020 4:02 am
I have KDE Neon and Windows in dual boot, however I have to get into KDE Neon by using the F9 key, otherwise it boots Windows automatically.

Ideally, I'd like to see a boot list on startup, with KDE Neon the default selection and possibly auto-start after 10 seconds or something.

This sums up the issue:
https://h30434.www3.hp.com/t5/Notebooks ... -p/3726932

There's one poster at the end who recommends using this:

"You could circumvent this problem, by setting the "nextboot" with the efibootmgr in Linux, and automate this with the rc-local.service, which is ran directly after the boot of Linux."
The problem I'm finding with efibootmgr is that it doesn't list the bootorder. I get the error "show_order(): Interrupted system call".

Any solutions/ ideas/ other options?

Thanks.

Operating System: KDE neon 5.18
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.14.2
Kernel Version: 5.3.0-53-generic
OS Type: 64-bit


KDE neon 5.24
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.13.0-39-generic (64-bit)
X11
4 × Intel® Core™ i5-6200U CPU @ 2.30GHz
7.7 GiB of RAM
Graphics: Mesa Intel® HD Graphics 520
gfielding
Registered Member
Posts
178
Karma
0
OS
I had a similiar problem due to the HP Uefi settings. What I did was:

1 - install thunar
2- open a konsole window
3 - type - sudo thunar
4 - enter root password
5 - navigate to the folder /boot/efi/EFI/Boot
6 - rename the file - bootx64.efi - to say bootx64_old.efi
7 - copy the file - grubx64.efi - from the folder /boot/efi/EFI/neon - to /boot/efi/EFI/Boot folder
8 - navigate back to /boot/efi/EFI/Boot and rename the file - grubx64.efi - to - bootx64.efi
9 - restart

When it boots up you should see the kde neon menu (with kde neon as the default) with windows as one of the options for you to choose when wanted.

This is quite a straightforward change to make but you might want to make a backup of your data in case something goes wrong.
User avatar
claydoh
Registered Member
Posts
1170
Karma
9
OS
Not having enough specific info about your setup. but assuming windows 10, or even 8, why can't you simply change the boot order preference in your bios? On en EFI system each OS has its own boot loader, and there is no MBR to be overwritten or anything like that.

On Linux, grub just has the added ability to shove things off to Windows' bootloader.

That link's info id 6 years old, managing uefi OS installs is nowhere near this complex these days.

But despite the link, we don't have specific info about *your* setup to go by.


claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
gfielding
Registered Member
Posts
178
Karma
0
OS
claydoh wrote:Not having enough specific info about your setup. but assuming windows 10, or even 8, why can't you simply change the boot order preference in your bios? On en EFI system each OS has its own boot loader, and there is no MBR to be overwritten or anything like that.

On Linux, grub just has the added ability to shove things off to Windows' bootloader.

That link's info id 6 years old, managing uefi OS installs is nowhere near this complex these days.

But despite the link, we don't have specific info about *your* setup to go by.


HP does have a poor reputation in this area. I have two HP desktop computers, one with KDE Neon/Windows 10 and one with OpenSuse/Windows 10. On both computers you can set the linux system as the default system (using the Uefi settings or in Linux using efibootmgr). The problem is that every time you boot into Windows 10, the system re-sets Windows 10 as the default system.
User avatar
claydoh
Registered Member
Posts
1170
Karma
9
OS
Odd, I don't have this issue on any of my HP desktops, a recent pavillion and an older Elite 8300.

Doing a quick search, it seems some Windows setups reset the efi settings, which can probably be fixed from within Windows, likely something similar to this solution:

https://askubuntu.com/questions/1216173 ... rder-setup


claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
User avatar
mercurial
Registered Member
Posts
91
Karma
0
OS
Thanks for your suggestion, but it didn't work. It just boots directly into Windows.

gfielding wrote:I had a similiar problem due to the HP Uefi settings. What I did was:

1 - install thunar
2- open a konsole window
3 - type - sudo thunar
4 - enter root password
5 - navigate to the folder /boot/efi/EFI/Boot
6 - rename the file - bootx64.efi - to say bootx64_old.efi
7 - copy the file - grubx64.efi - from the folder /boot/efi/EFI/neon - to /boot/efi/EFI/Boot folder
8 - navigate back to /boot/efi/EFI/Boot and rename the file - grubx64.efi - to - bootx64.efi
9 - restart

When it boots up you should see the kde neon menu (with kde neon as the default) with windows as one of the options for you to choose when wanted.

This is quite a straightforward change to make but you might want to make a backup of your data in case something goes wrong.


KDE neon 5.24
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.13.0-39-generic (64-bit)
X11
4 × Intel® Core™ i5-6200U CPU @ 2.30GHz
7.7 GiB of RAM
Graphics: Mesa Intel® HD Graphics 520
User avatar
mercurial
Registered Member
Posts
91
Karma
0
OS
Thanks, Claydoh.

As you can see from the link provided, several people have run into this problem. I even remember seeing somewhere that HP has admitted it's a problem on their end. Anyway, I'll try your suggestion.

claydoh wrote:Odd, I don't have this issue on any of my HP desktops, a recent pavillion and an older Elite 8300.

Doing a quick search, it seems some Windows setups reset the efi settings, which can probably be fixed from within Windows, likely something similar to this solution:

https://askubuntu.com/questions/1216173 ... rder-setup


KDE neon 5.24
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.13.0-39-generic (64-bit)
X11
4 × Intel® Core™ i5-6200U CPU @ 2.30GHz
7.7 GiB of RAM
Graphics: Mesa Intel® HD Graphics 520
User avatar
mercurial
Registered Member
Posts
91
Karma
0
OS
I've decided to bail on trying to fix this issue - more hassle than it's worth.

I'll do what needs to be done on Windows then I'll have great satisfaction deleting the partition and going back to my KDE Neon single boot machine.


KDE neon 5.24
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.13.0-39-generic (64-bit)
X11
4 × Intel® Core™ i5-6200U CPU @ 2.30GHz
7.7 GiB of RAM
Graphics: Mesa Intel® HD Graphics 520
User avatar
blue_bullet
Registered Member
Posts
87
Karma
0
OS
mercurial wrote:I've decided to bail on trying to fix this issue - more hassle than it's worth.

I'll do what needs to be done on Windows then I'll have great satisfaction deleting the partition and going back to my KDE Neon single boot machine.

I have the same problem on my old HP Envy dv7. Its just a play machine at this point. I simply use f9 on start up to select Windows 8 (updated from Windows 7), Linux Mint 18.3 KDE, or KDE Neon (my mainstay). I used to use sudo efibootmgr -n 0003 at start of session if I remembered to do it. It is just as easy to intervene at startup to avoid the default boot to windows. You're right. It's not worth the hassle.


Migrated from Linux Mint 17.3/18.3 KDE to KDE neon User Edition.
vishalrao
Registered Member
Posts
157
Karma
0
OS
Have you tried running "sudo grub-install /dev/XXX" from Neon terminal? Here /dev/XXX should be your boot drive for example /dev/sda or /dev/nvmen1


"Thou shalt not follow the null pointer for at its end madness and chaos lie."
User avatar
mercurial
Registered Member
Posts
91
Karma
0
OS
blue_bullet wrote:
mercurial wrote:I've decided to bail on trying to fix this issue - more hassle than it's worth.

I'll do what needs to be done on Windows then I'll have great satisfaction deleting the partition and going back to my KDE Neon single boot machine.

I have the same problem on my old HP Envy dv7. Its just a play machine at this point. I simply use f9 on start up to select Windows 8 (updated from Windows 7), Linux Mint 18.3 KDE, or KDE Neon (my mainstay). I used to use sudo efibootmgr -n 0003 at start of session if I remembered to do it. It is just as easy to intervene at startup to avoid the default boot to windows. You're right. It's not worth the hassle.


That is exactly what I was doing - i.e. pressing F9. I actually should have taken my advice, because I upgraded the BIOS yesterday and I lost all ability to boot using UEFI. I had to convert from UEFI to BIOS boot. Was a MAJOR hassle!!! Fortunately I got my system back.


KDE neon 5.24
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.13.0-39-generic (64-bit)
X11
4 × Intel® Core™ i5-6200U CPU @ 2.30GHz
7.7 GiB of RAM
Graphics: Mesa Intel® HD Graphics 520
User avatar
mercurial
Registered Member
Posts
91
Karma
0
OS
vishalrao wrote:Have you tried running "sudo grub-install /dev/XXX" from Neon terminal? Here /dev/XXX should be your boot drive for example /dev/sda or /dev/nvmen1


Thanks, but I've ditched Windows. If someone else has the problem perhaps they can try this and report back. Cheers.


KDE neon 5.24
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.13.0-39-generic (64-bit)
X11
4 × Intel® Core™ i5-6200U CPU @ 2.30GHz
7.7 GiB of RAM
Graphics: Mesa Intel® HD Graphics 520
User avatar
blue_bullet
Registered Member
Posts
87
Karma
0
OS
vishalrao wrote:Have you tried running "sudo grub-install /dev/XXX" from Neon terminal? Here /dev/XXX should be your boot drive for example /dev/sda or /dev/nvmen1

Tried it. It's a bust. Just go with f9 and run the os you want. Really neat stuff we have here in 2020. Thank you, Hewlett Packard. Buncha losers.


Migrated from Linux Mint 17.3/18.3 KDE to KDE neon User Edition.
User avatar
mercurial
Registered Member
Posts
91
Karma
0
OS
blue_bullet wrote:
vishalrao wrote:Have you tried running "sudo grub-install /dev/XXX" from Neon terminal? Here /dev/XXX should be your boot drive for example /dev/sda or /dev/nvmen1

Tried it. It's a bust. Just go with f9 and run the os you want. Really neat stuff we have here in 2020. Thank you, Hewlett Packard. Buncha losers.


LOL. Admittedly, this laptop IS eight years old. It's amazing how FAST it is with KDE Neon. I moved over from Ubuntu six months ago and absolutely love it.


KDE neon 5.24
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.13.0-39-generic (64-bit)
X11
4 × Intel® Core™ i5-6200U CPU @ 2.30GHz
7.7 GiB of RAM
Graphics: Mesa Intel® HD Graphics 520


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]