Welcome!

The kernel problem with recent updates has been solved. Find the solution here

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.3 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: 69
Joined: Mon Dec 18, 2017 9:52 pm

[SOLVED]Need help in Grub configure during upgrade

#1

Post by Atlanelan » Sat Nov 10, 2018 8:17 am

Im struck at terminal after upgrade.Please some one tell me how to select a device to install grub.If i move the red square to /dev/sdb and hit enter it says you chose not to install grub to any device.Previously grub is installed in dev/sdb.
Last edited by Atlanelan on Sat Nov 10, 2018 8:10 pm, edited 1 time in total.

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 25348
Joined: Wed Jul 19, 2006 6:13 am

Re: Need help in Grub configure during upgrade

#2

Post by Jerry3904 » Sat Nov 10, 2018 8:32 am

I don't quite understand the situation, but the usual solution is to boot into a LiveUSB and use MX Boot Repair to reinstall GRUB.
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, SSD 120 GB, Data 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB
Personal: XPS 13, 4.18.0-19.3-liquorix, 4 GB

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

Re: Need help in Grub configure during upgrade

#3

Post by Atlanelan » Sat Nov 10, 2018 8:47 am

Jerry3904 wrote:
Sat Nov 10, 2018 8:32 am
I don't quite understand the situation, but the usual solution is to boot into a LiveUSB and use MX Boot Repair to reinstall GRUB.
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.

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

Re: Need help in Grub configure during upgrade

#4

Post by fehlix » Sat Nov 10, 2018 8:53 am

That appears to be an upgrade of the package grub-pc (and other grub*),
which will reinstall grub through a package-configure screen.
Not sure where this upgrade actually is comming from, as we don't have it yet in mx :confused:

Would you mind show us your system info by running this commands from the terminal:

Code: Select all

inxi -Fxrz
and

Code: Select all

apt policy grub-pc
and post the text out put here.
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
Atlanelan
Forum Novice
Forum  Novice
Posts: 69
Joined: Mon Dec 18, 2017 9:52 pm

Re: Need help in Grub configure during upgrade

#5

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

fehlix wrote:
Sat Nov 10, 2018 8:53 am
That appears to be an upgrade of the package grub-pc (and other grub*),
which will reinstall grub through a package-configure screen.
Not sure where this upgrade actually is comming from, as we don't have it yet in mx :confused:

Would you mind show us your system info by running this commands from the terminal:

Code: Select all

inxi -Fxrz
and

Code: Select all

apt policy grub-pc
and post the text out put here.
Here are the outputs:
$ inxi -Fxrz
System:
Host: mx Kernel: 4.15.0-1-amd64 x86_64 bits: 64 compiler: gcc v: 6.3.0
Desktop: Xfce 4.12.3 Distro: MX-17.1_x64 Horizon March 14 2018
base: Debian GNU/Linux 9 (stretch)
Machine:
Type: Desktop Mobo: Intel model: DG31PR v: AAD97573-306 serial: <filter>
BIOS: Intel v: PRG3110H.86A.0065.2009.0421.1559 date: 04/21/2009
CPU:
Topology: Dual Core model: Pentium E5200 bits: 64 type: MCP arch: Penryn
rev: A L2 cache: 2048 KiB
flags: lm nx pae sse sse2 sse3 ssse3 bogomips: 9999
Speed: 1234 MHz min/max: N/A Core speeds (MHz): 1: 1234 2: 1224
Graphics:
Device-1: NVIDIA GT218 [GeForce 210] driver: nouveau v: kernel
bus ID: 01:00.0
Display: x11 server: X.Org 1.19.2 driver: nouveau
unloaded: fbdev,modesetting,vesa resolution: 1360x768~60Hz
OpenGL: renderer: Gallium 0.4 on NVA8 v: 3.3 Mesa 13.0.6
direct render: Yes
Audio:
Device-1: Intel NM10/ICH7 Family High Definition Audio
driver: snd_hda_intel v: kernel bus ID: 00:1b.0
Device-2: NVIDIA High Definition Audio driver: snd_hda_intel v: kernel
bus ID: 01:00.1
Sound Server: ALSA v: k4.15.0-1-amd64
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
driver: r8169 v: 2.3LK-NAPI port: d000 bus ID: 03:00.0
IF: eth0 state: down mac: <filter>
Device-2: Ralink MT7601U Wireless Adapter type: USB driver: mt7601u
bus ID: 5-2:3
IF: wlan0 state: up mac: <filter>
Drives:
Local Storage: total: 2.05 TiB used: 1.27 TiB (62.0%)
ID-1: /dev/sda vendor: Seagate model: ST2000DM001-1CH164 size: 1.82 TiB
ID-2: /dev/sdb vendor: Seagate model: ST3250310AS size: 232.89 GiB
Partition:
ID-1: / size: 24.48 GiB used: 4.98 GiB (20.3%) fs: ext4 dev: /dev/sdb1
ID-2: swap-1 size: 3.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sdb2
Sensors:
System Temperatures: cpu: 42.0 C mobo: N/A gpu: nouveau temp: 51 C
Fan Speeds (RPM): N/A
Repos:
Active apt repos in: /etc/apt/sources.list.d/antix.list
1: deb http://ftp.yzu.edu.tw/Linux/mx-workspace/antix/stretch/ stretch main
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://ftp.cn.debian.org/debian/ stretch-updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://ftp.cn.debian.org/debian/ stretch main contrib non-free
2: deb http://security.debian.org/ stretch/updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb http://ftp.yzu.edu.tw/Linux/mx-workspace/mx/repo/ stretch main non-free
No active apt repos in: /etc/apt/sources.list.d/various.list
Info:
Processes: 161 Uptime: 25m Memory: 2.93 GiB used: 1005.8 MiB (33.5%)
Init: SysVinit runlevel: 5 Compilers: gcc: 6.3.0 Shell: bash v: 4.4.12
inxi: 3.0.25

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

Re: Need help in Grub configure during upgrade

#6

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

fehlix wrote:
Sat Nov 10, 2018 8:53 am
That appears to be an upgrade of the package grub-pc (and other grub*),
which will reinstall grub through a package-configure screen.
Not sure where this upgrade actually is comming from, as we don't have it yet in mx :confused:

Would you mind show us your system info by running this commands from the terminal:

Code: Select all

inxi -Fxrz
and

Code: Select all

apt policy grub-pc
and post the text out put here.
$ apt policy grub-pc
grub-pc:
Installed: 2.02~beta3-5+deb9u1
Candidate: 2.02~beta3-5+deb9u1
Version table:
*** 2.02~beta3-5+deb9u1 500
500 http://ftp.cn.debian.org/debian stretch/main amd64 Packages
100 /var/lib/dpkg/status

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 25348
Joined: Wed Jul 19, 2006 6:13 am

Re: Need help in Grub configure during upgrade

#7

Post by Jerry3904 » Sat Nov 10, 2018 9:02 am

Today is the Debian 9.6 upgrade.

Code: Select all

jb@xps13mx:~
$ sudo cat /etc/debian_version
9.6
Mine is just downloading now and this message appeared:
│ The grub-pc package is being upgraded. This menu allows you to select │
│ which devices you'd like grub-install to be automatically run for, if │
│ any. │
│ │
│ Running grub-install automatically is recommended in most situations, to │
│ prevent the installed GRUB core image from getting out of sync with GRUB │
│ modules or grub.cfg. │
│ │
│ If you're unsure which drive is designated as boot drive by your BIOS, │
│ it is often a good idea to install GRUB to all of them. │
│ │
│ Note: it is possible to install GRUB to partition boot records as well, │
│ and some appropriate partitions are offered here. However, this forces │
│ GRUB to use the blocklist mechanism, which makes it less reliable, and │
│ therefore is not recommended.
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, SSD 120 GB, Data 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB
Personal: XPS 13, 4.18.0-19.3-liquorix, 4 GB

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 25348
Joined: Wed Jul 19, 2006 6:13 am

Re: Need help in Grub configure during upgrade

#8

Post by Jerry3904 » Sat Nov 10, 2018 9:05 am

Atlanelan wrote:
Sat Nov 10, 2018 8:47 am
Jerry3904 wrote:
Sat Nov 10, 2018 8:32 am
I don't quite understand the situation, but the usual solution is to boot into a LiveUSB and use MX Boot Repair to reinstall GRUB.
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.
I just had the same experience, and did what you did. Seems OK here too.
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, SSD 120 GB, Data 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB
Personal: XPS 13, 4.18.0-19.3-liquorix, 4 GB

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

Re: Need help in Grub configure during upgrade

#9

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

Jerry3904 wrote:
Sat Nov 10, 2018 9:05 am
Atlanelan wrote:
Sat Nov 10, 2018 8:47 am
Jerry3904 wrote:
Sat Nov 10, 2018 8:32 am
I don't quite understand the situation, but the usual solution is to boot into a LiveUSB and use MX Boot Repair to reinstall GRUB.
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.
I just had the same experience, and did what you did. Seems OK here too.
:happy:

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

Re: Need help in Grub configure during upgrade

#10

Post by fehlix » 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
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

Post Reply

Return to “MX Help”