You are not logged in.

#1 2024-05-03 03:43:37

chrispycream33
Member
Registered: 2024-05-03
Posts: 1

[Closed] grub install timed out when installing

I have installed arch successfully a handful of times following the official arch wiki.

Currently, I am trying to install arch on a USB, and keep getting stuck on the same command in the process:

# grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB --removable --recheck

The system pauses for a minute or two and returns this error:

    Installing for x86_64-efi platform.
    [ 2949.123858 ] INFO: task grub-install:13359 blocked for more than 122 seconds.
    [ 2949.123900 ]           Tainted: P                OE         6.6.8-arch1-1 #1 
    [ 2949.123921 ] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.

The message continues to repeat after this.

I have tried on several different laptops and have gotten the same error.

Last edited by chrispycream33 (2024-06-01 18:22:59)

Offline

#2 2024-05-03 08:13:03

Anakievs
Member
Registered: 2023-06-12
Posts: 20

Re: [Closed] grub install timed out when installing

It's not an error. You have to wait. If the writing speed is for example 3MB/s (or even less 1MB/s for small files) it might take an hour or even more.
I think Installing on usb flash drive is bad idea.

Last edited by Anakievs (2024-05-03 08:19:59)

Offline

#3 2024-05-03 12:04:05

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,993

Re: [Closed] grub install timed out when installing

https://wiki.archlinux.org/title/Instal … ble_medium
But there's probably context to the hung task and yes, it's possible/likely that this causes the FS to sync and might take a good time while the data from the cache is actually written to the USB.
You could try to explicitly "sync" before, but ultimately you'll just have to wait until the data is written in this case.

Online

Board footer

Powered by FluxBB