Welcome!
Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.2 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

[SOLVED]Need help in Grub configure during upgrade

Help for Current Versions of MX
User avatar
Atlanelan
Forum Novice
Forum  Novice
Posts: 48
Joined: Mon Dec 18, 2017 9:52 pm

Re: Need help in Grub configure during upgrade

#11

Post by Atlanelan » Sat Nov 10, 2018 9:48 am

fehlix wrote:
Sat Nov 10, 2018 9:31 am
Atlanelan wrote:
Sat Nov 10, 2018 8:47 am
Thanks for your reply.I did an apt update and upgrade.During the upgrade process this dialogue appears on the treminal.I cant remember fully.Something like Grub is configuring, choose a device to install grub.I hit alt+enter.Next dialogue shows /dev/sda,/dev/sdb and /dev/sdb1 /.I choose /dev/sdb and hit enter then it says you choose not to install grub to any device and some warnings like system may not boot etc.I tried with different key compinations to choose /dev/sdb.Nothing works.However i close the terminal and restart pc.Everything is fine.
You would select target device to install grub to ( i.e. the grub bootloader)
by selecting your current boot-device with pressing the space-bar to select.
The spacebar will mark the selected device with an asteriks [*].
You would than press ENTER to proceed ( or TAB-key to highlight [OK] and press ENTER).
If you "killed" or other wise broken out from the grub-installation,
you shall better re-install the "new" grub bootloader again like this for you boot-device /dev/sdb:

Code: Select all

sudo grub-install /dev/sdb
Thankyou.Should have tried the spacebar too.One more question:do i need to customize grub again after re-install or my preferences remain there?

User avatar
fehlix
Forum Veteran
Forum Veteran
Posts: 3755
Joined: Wed Apr 11, 2018 5:09 pm

Re: Need help in Grub configure during upgrade

#12

Post by fehlix » Sat Nov 10, 2018 10:01 am

Atlanelan wrote:
Sat Nov 10, 2018 9:48 am
Thankyou.Should have tried the spacebar too.One more question:do i need to customize grub again after re-install or my preferences remain there?
Depends what you mean with "preferences"(?) and how your customzied what and where?
During grub upgrade, you might have been asked to replace or keep existing /etc/default/grub.
If you got those prompt ( depending whether the grub-upgrade preocess thought that this file have been changed by the user),
you sould have better selected "keep existing". If would have chosen to replace, than any customizion
with that file are lost. (Or you might look whether the grub upgrade made a back up in /etc/default/grub.ucf-old (or similar *old)
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

NevilsStation
Forum Regular
Forum Regular
Posts: 297
Joined: Sun Feb 26, 2017 3:09 pm

Re: Need help in Grub configure during upgrade

#13

Post by NevilsStation » Sat Nov 10, 2018 10:07 am

This is, apparently, a recurring problem (the following quote is from a thread that has time
dates every year from 2011 to 2017).

The pop-up window text assumes that users can read the mind of the coder.
This issue was still present when I upgraded Ubuntu 16.04 after a fresh install. To fix it, do this:

The selection of /dev/sda is correct, so press Spacebar for the first option.
An asterisk appears for the /dev/sda option, signifying successful selection.
Then press Tab key to highlight the 'OK' button and then press Spacebar key to select the OK action.

After this, the installation should proceed smoothly.
I'm going to try this ...

EDIT: Just doing the Spacebar step got it done - no extra steps were required.
Last edited by NevilsStation on Sat Nov 10, 2018 7:25 pm, edited 1 time in total.
Custom-built PC w/i7 CPU running MX-16.

User avatar
Atlanelan
Forum Novice
Forum  Novice
Posts: 48
Joined: Mon Dec 18, 2017 9:52 pm

Re: Need help in Grub configure during upgrade

#14

Post by Atlanelan » Sat Nov 10, 2018 10:14 am

fehlix wrote:
Sat Nov 10, 2018 10:01 am
Atlanelan wrote:
Sat Nov 10, 2018 9:48 am
Thankyou.Should have tried the spacebar too.One more question:do i need to customize grub again after re-install or my preferences remain there?
Depends what you mean with "preferences"(?) and how your customzied what and where?
During grub upgrade, you might have been asked to replace or keep existing /etc/default/grub.
If you got those prompt ( depending whether the grub-upgrade preocess thought that this file have been changed by the user),
you sould have better selected "keep existing". If would have chosen to replace, than any customizion
with that file are lost. (Or you might look whether the grub upgrade made a back up in /etc/default/grub.ucf-old (or similar *old)
:puppy:
Ok.Thankyou very much felix.Will re-install grub shortly.:happy:

User avatar
fehlix
Forum Veteran
Forum Veteran
Posts: 3755
Joined: Wed Apr 11, 2018 5:09 pm

Re: Need help in Grub configure during upgrade

#15

Post by fehlix » Sat Nov 10, 2018 10:18 am

Thats probably an issue with the keyboard manufacture:
The space bar has no label. :eek:
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
zorzi
Forum Regular
Forum Regular
Posts: 226
Joined: Fri Apr 20, 2018 7:41 pm

Re: Need help in Grub configure during upgrade

#16

Post by zorzi » Sat Nov 10, 2018 10:54 am

Hi everyone,

I confirm that last grub update replaced MX specific grub configuration file. My Grub looks really awful now.

May I use MX Start Repair Tools in this situation ?
Desktop: HP Pavilion a6435 (Athlon64 2x 2,6Ghz, Radeon R7-240, Ram 4 Go, HD 500 Go) / MX Linux 17

User avatar
fehlix
Forum Veteran
Forum Veteran
Posts: 3755
Joined: Wed Apr 11, 2018 5:09 pm

Re: Need help in Grub configure during upgrade

#17

Post by fehlix » Sat Nov 10, 2018 10:57 am

zorzi wrote:
Sat Nov 10, 2018 10:54 am
I confirm that last grub update replaced MX specific grub configuration file.
Which file?
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

arky217
Forum Novice
Forum  Novice
Posts: 86
Joined: Mon Jun 19, 2017 6:00 pm

Re: Need help in Grub configure during upgrade

#18

Post by arky217 » Sat Nov 10, 2018 11:15 am

I also had the same experience. This is very confusing.
I left the selection on /dev/sda and pressed enter.
Got the same message 'you have decided not to install grub anywhere'.
Tried it again, same message, finally selected 'no' not to install grub.
However, I rebooted and everything seems fine.
Not sure if I need to anything else ?
If I do, what would it be ?

User avatar
asqwerth
Forum Veteran
Forum Veteran
Posts: 4460
Joined: Sun May 27, 2007 5:37 am

Re: Need help in Grub configure during upgrade

#19

Post by asqwerth » Sat Nov 10, 2018 11:53 am

When you have checkboxes to tick in terminal messages, it's often the spacebar that selects the correct box, not the Return/Enter key.

It's true that this is not intuitive at all. Took me some time to learn it!

Also, in other instances, when there are changes in config files during update and you choose in terminal to compare differences, Space Bar is used to "scroll" to the next "page" of text. Once the whole text of comparisons are done, press "Q" to exit the comparison and get back to the previous "page" with the question of whether you wish replace the config file with the developer's, or keep your current config.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

arky217
Forum Novice
Forum  Novice
Posts: 86
Joined: Mon Jun 19, 2017 6:00 pm

Re: Need help in Grub configure during upgrade

#20

Post by arky217 » Sat Nov 10, 2018 12:03 pm

asqwerth wrote:
Sat Nov 10, 2018 11:53 am
When you have checkboxes to tick in terminal messages, it's often the spacebar that selects the correct box, not the Return/Enter key.

It's true that this is not intuitive at all. Took me some time to learn it!

Also, in other instances, when there are changes in config files during update and you choose in terminal to compare differences, Space Bar is used to "scroll" to the next "page" of text. Once the whole text of comparisons are done, press "Q" to exit the comparison and get back to the previous "page" with the question of whether you wish replace the config file with the developer's, or keep your current config.
Ok, spacebar; I agree, not very intuitive.

But now, since I chose 'no' not to install grub anywhere, what do I do now to install the updated grub ?

Post Reply

Return to “MX Help”