Installation stuck on grub install

When you run into problems installing MX Linux XFCE
Message
Author
User avatar
dolphin_oracle
Developer
Posts: 20010
Joined: Sun Dec 16, 2007 1:17 pm

Re: Installation stuck on grub install

#11 Post by dolphin_oracle »

Gorštak wrote: Wed Mar 06, 2019 3:28 pm Does the md5sum matters if i try to install grub from terminal on MX booted from hd?
the md5sum would check the integrity of the iso, to see if if the download was good. stranger things have happened. a single-bit error in os-prober stored on the iso could screw things up I suppose.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

Gorštak
Posts: 30
Joined: Wed Mar 06, 2019 2:20 pm

Re: Installation stuck on grub install

#12 Post by Gorštak »

OK, I will check it.

User avatar
fehlix
Developer
Posts: 10375
Joined: Wed Apr 11, 2018 5:09 pm

Re: Installation stuck on grub install

#13 Post by fehlix »

Gorštak wrote: Wed Mar 06, 2019 2:49 pm I have 3 drives with dozen partitions. I know it can take a while, but other distros finishes grub updating within a minutes, i left MX do it for almost an hour, with no progress.
Can try to disable os-prober, to see whether this would work without other os scanner.
Either by adding to /etc/default/grub this line

Code: Select all

GRUB_DISABLE_OS_PROBER=true
or by revoking execution permission on /etc/grub.d/30_os-prober

Code: Select all

chmod -x /etc/grub.d/30_os-prober
After this run ( of update-grub) succefully try run os-prober on it's own to see where it might get stuck
by running from the terminal

Code: Select all

os-prober
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
Eadwine Rose
Administrator
Posts: 11960
Joined: Wed Jul 12, 2006 2:10 am

Re: Installation stuck on grub install

#14 Post by Eadwine Rose »

There were other things that went wrong with that install. I opted to then skip grub, and .. well.. it wasn't pretty.

basically made a new usb with a proper check and all installed fine.
MX-23.2_x64 July 31 2023 * 6.1.0-20-amd64 ext4 Xfce 4.18.1 * 8core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 525.147.05 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 860EVO * Samsung S24D330 & P2250 * HP Envy 5030

Gorštak
Posts: 30
Joined: Wed Mar 06, 2019 2:20 pm

Re: Installation stuck on grub install

#15 Post by Gorštak »

Md5sum checked, its identical.

Ill try to disable os-prober now

fehlix wrote: Wed Mar 06, 2019 3:36 pm After this run ( of update-grub) succefully try run os-prober on it's own to see where it might get stuck
by running from the terminal

Code: Select all

os-prober
EDIT:

Code: Select all

root@mx1:~# update-grub
Generating grub configuration file ...
using custom appearance settings
Found background image: /usr/share/backgrounds/MXLinux/grub/linen-gradientblu-grub.png
Found linux image: /boot/vmlinuz-4.19.0-1-amd64
Found initrd image: /boot/initrd.img-4.19.0-1-amd64
Found memtest86+ image: /boot/memtest86+.bin
done
root@mx1:~# os-prober
/dev/sda1:Windows 10:Windows:chain
/dev/sda2:Linux Mint 19 Tara (19):LinuxMint:linux
/dev/sda3:Serbian GNU/Linux (KDE):Serbian:linux
/dev/sda5:elementary OS 5.0 Juno (5.0):elementary:linux
and its stuck there
/dev/sda6 is swap partition, next would be /dev/sdb1 which is Windows 7 partition

User avatar
fehlix
Developer
Posts: 10375
Joined: Wed Apr 11, 2018 5:09 pm

Re: Installation stuck on grub install

#16 Post by fehlix »

Gorštak wrote: Wed Mar 06, 2019 4:01 pm root@mx1:~# os-prober
/dev/sda1:Windows 10:Windows:chain
/dev/sda2:Linux Mint 19 Tara (19):LinuxMint:linux
/dev/sda3:Serbian GNU/Linux (KDE):Serbian:linux
/dev/sda5:elementary OS 5.0 Juno (5.0):elementary:linux
[/code]
and its stuck there
/dev/sda6 is swap partition, next would be /dev/sdb1 which is Windows 7 partition
os-prober normaly lists an entry after having anylized the boot entry for that OS.
Probably good idea to show some more infos like.

Code: Select all

lsblk -f
and Quick System Info:

Code: Select all

inxi -Fxrz
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

Gorštak
Posts: 30
Joined: Wed Mar 06, 2019 2:20 pm

Re: Installation stuck on grub install

#17 Post by Gorštak »

Code: Select all

root@mx1:~# lsblk -f
NAME    FSTYPE  LABEL                UUID                                 MOUNTPOINT
sda                                                                       
├─sda1  ntfs    w10                  CE4E7B084E7AE91B                     
├─sda2  ext4    mint                 4d4ab997-c96f-4fef-8c96-92cb9e97b133 
├─sda3  ext4    serbian              1c33aff6-9f2c-487b-94d4-c622698e08f4 
├─sda4                                                                    
├─sda5  ext4    elementary           c2d310b8-15d1-46aa-aa96-e45cfea85483 
└─sda6  swap                         454cf4a6-a0c9-414c-91ea-1c3c810b6f08 
sdb                                                                       
├─sdb1  ntfs    w7                   CE7612AF76129873                     
├─sdb2  ext4    fedora               ed22565e-1ee7-4b5a-913b-411428747907 
├─sdb3  ext4    manjaro              928fb127-4289-446f-8f5a-a9e0612b21b8 
├─sdb4                                                                    
├─sdb5  swap                         cd4c18a3-f09a-4cb1-8f8c-63d04cc077bf 
├─sdb6  ext4    solus                dd0ed7db-4387-442a-a6af-ae1cb81f8b58 
├─sdb7  ext4    slackware            c587e87a-830c-47aa-8831-66e999bfd2aa 
├─sdb8  btrfs   opensuse             9db1f79f-9f14-485b-9e6e-8e2826842d38 
├─sdb9  ext4    sdb9                 e934ebb6-9d19-41b7-ba9e-c3881a95e88f 
├─sdb10 ext4    CLDC-18.12           48fccc2b-60da-4cb8-9b03-ff8e42f6d23b 
└─sdb11 ntfs    wd                   7234121A1B5C0515                     
sdc                                                                       
├─sdc1  ntfs    xp                   38208A61208A264A                     
├─sdc2  ext4    ubnt                 159cdb69-4290-435f-bf7f-afb9d08b9723 
├─sdc3  ext4    kali                 2d6d59e8-9d8f-4eda-a23e-0201977dcf3a 
├─sdc4                                                                    
├─sdc5  swap                         81b219f7-810e-4b9c-baeb-645f52481d2d 
├─sdc6  ext4    bsd                  b3518023-78a7-40b8-8a7e-3dbf0e655bee 
├─sdc7  ext4    mx                   583d475e-4cc7-4788-aeca-978b7a3c09fa /
├─sdc8  ntfs    hitachi              6864AAC47EFA0462                     
└─sdc9  ntfs    1T                   29BF50452249AB8D                     
sdd     iso9660 Debian 9.8.0 amd64 1 2019-02-16-12-34-06-00               
├─sdd1  iso9660 Debian 9.8.0 amd64 1 2019-02-16-12-34-06-00               
└─sdd2  vfat    Debian 9.8.0 amd64 1 B9A1-059D                            
sr0

Code: Select all

root@mx1:~# inxi -Fxrz
System:    Host: mx1 Kernel: 4.19.0-1-amd64 x86_64 bits: 64 compiler: gcc v: 6.3.0 
           Desktop: Xfce 4.12.3 Distro: MX-18.1_x64 Continuum Feb 9  2019 
           base: Debian GNU/Linux 9 (stretch) 
Machine:   Type: Desktop System: Dell product: Precision T1500 v: 00 serial: <filter> 
           Mobo: Dell model: 0XC7MM v: A01 serial: <filter> BIOS: Dell v: 2.2.0 date: 07/06/2010 
CPU:       Topology: Quad Core model: Intel Core i7 870 bits: 64 type: MT MCP arch: Nehalem 
           rev: 5 L2 cache: 8192 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 46816 
           Speed: 1200 MHz min/max: 1200/2934 MHz Core speeds (MHz): 1: 1204 2: 1204 3: 1276 
           4: 1263 5: 1234 6: 1328 7: 1259 8: 1214 
Graphics:  Device-1: AMD Oland PRO [Radeon R7 240/340] vendor: PC Partner Limited driver: radeon 
           v: kernel bus ID: 01:00.0 
           Display: x11 server: X.Org 1.19.2 driver: ati,radeon unloaded: fbdev,modesetting,vesa 
           resolution: 1680x1050~60Hz 
           OpenGL: renderer: AMD OLAND (DRM 2.50.0 4.19.0-1-amd64 LLVM 7.0.0) v: 4.5 Mesa 18.2.6 
           direct render: Yes 
Audio:     Device-1: Intel 5 Series/3400 Series High Definition Audio vendor: Dell 
           driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
           Device-2: AMD Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series] 
           vendor: PC Partner Limited driver: snd_hda_intel v: kernel bus ID: 01:00.1 
           Device-3: C-Media CM106 Like Sound Device type: USB 
           driver: hid-generic,snd-usb-audio,usbhid bus ID: 3-1.6:5 
           Sound Server: ALSA v: k4.19.0-1-amd64 
Network:   Device-1: Broadcom Limited NetLink BCM57780 Gigabit Ethernet PCIe vendor: Dell 
           driver: tg3 v: 3.137 port: e000 bus ID: 02:00.0 
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 2.85 TiB used: 4.88 GiB (0.2%) 
           ID-1: /dev/sda vendor: Kingston model: SV300S37A120G size: 111.79 GiB temp: 28 C 
           ID-2: /dev/sdb vendor: Western Digital model: WD10EARS-00Y5B1 size: 931.51 GiB 
           ID-3: /dev/sdc vendor: Hitachi model: HDS723020BLA642 size: 1.82 TiB temp: 33 C 
           ID-4: /dev/sdd type: USB vendor: Kingston model: DataTraveler 3.0 size: 14.44 GiB 
Partition: ID-1: / size: 19.56 GiB used: 4.88 GiB (24.9%) fs: ext4 dev: /dev/sdc7 
Sensors:   System Temperatures: cpu: 37.0 C mobo: N/A gpu: radeon temp: 34 C 
           Fan Speeds (RPM): cpu: 1492 mobo: 1176 
Repos:     Active apt repos in: /etc/apt/sources.list.d/antix.list 
           1: deb http://iso.mxrepo.com/antix/stretch stretch main
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://ftp.us.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://mxrepo.com/mx/repo/ stretch main non-free
           No active apt repos in: /etc/apt/sources.list.d/various.list 
Info:      Processes: 222 Uptime: 4m Memory: 15.63 GiB used: 746.3 MiB (4.7%) Init: SysVinit 
           runlevel: 5 Compilers: gcc: 6.3.0 Shell: bash v: 4.4.12 inxi: 3.0.29 

User avatar
fehlix
Developer
Posts: 10375
Joined: Wed Apr 11, 2018 5:09 pm

Re: Installation stuck on grub install

#18 Post by fehlix »

OK, the only special on sdb is btrfs, not sure why it hangs already on sdb1.
What I would do now - that's only to make sure it this is not a bug related to os-prober,
as I know they had some btrfs related bug fixed.
Do use latest os-prober from debian buster best on a MX LiveUSB.
get latest buster package os-prober_1.77_amd64.deb from here:
https://packages.debian.org/buster/os-prober
e.g.:
https://packages.debian.org/buster/amd6 ... r/download
On downloade package in MX LiveSystem run

Code: Select all

apt install $PWD/os-prober_1.77_amd64.deb

Now check whether it will still hang on sdb when run os-prober.
: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
fehlix
Developer
Posts: 10375
Joined: Wed Apr 11, 2018 5:09 pm

Re: Installation stuck on grub install

#19 Post by fehlix »

Just seen sdb is a WD Green. Those have a fairly good deep idle sleep. Do you hear the WD get's "started" when running os-proper,
as I know they make some noise when the wake up. If not, you might try to mount a partition before running os-prober, e.g. mount with Thunar file manager by selecting any partition on that drive.
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
Eadwine Rose
Administrator
Posts: 11960
Joined: Wed Jul 12, 2006 2:10 am

Re: Installation stuck on grub install

#20 Post by Eadwine Rose »

fehlix wrote: Wed Mar 06, 2019 10:28 pm Just seen sdb is a WD Green. Those have a fairly good deep idle sleep. Do you hear the WD get's "started" when running os-proper,
as I know they make some noise when the wake up. If not, you might try to mount a partition before running os-prober, e.g. mount with Thunar file manager by selecting any partition on that drive.
Now that you mention it.. I had an SSD WD drive.

It took forever and a day when the system was booting to show up (and I mean in the b/w DOS like screen right at the start where you can select boot and bios options and such), just as it took a while for it to show the content when I clicked on it (it was auto mounted).

I have gifted that to my neighbor to use with Windows (no issues at all with it there) and bought a Seagate which takes about a second and then the system boots through, plus it is much faster responding when I want to look through it to find something.
MX-23.2_x64 July 31 2023 * 6.1.0-20-amd64 ext4 Xfce 4.18.1 * 8core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 525.147.05 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 860EVO * Samsung S24D330 & P2250 * HP Envy 5030

Post Reply

Return to “Installation”