The mint installation is stuck.

Solved
fristosh Posted messages 104 Status Member -  
fristosh Posted messages 104 Status Member -
Hello,
I performed a first installation of Mint on a recent HP from a USB stick without any issues. I'm attempting the same installation on my Lenovo, but the installation gets stuck two-thirds of the way through at the "installing grub2 packages" level, "started cleanup of temporary directories."
I don't understand what's happening or why.
Can anyone enlighten me?
Thank you.

4 answers

  1. jns55
     
    Hello,
    It seems that this is a documented bug with Canonical.
    https://bugs.launchpad.net/ubuntu/+bug/1584030

    According to one contributor, it would be enough to convert the hard drive to GPT format and to perform an installation in EFI mode to work around it (post#6). However, it remains to be seen if that's possible...
    0
    1. fristosh Posted messages 104 Status Member 1
       
      Hello, thank you for your intervention. According to the Lenovo support technician, my device is in GPT format and in EFI mode.
      Is this really the problem?
      0
    2. jns55
       
      Restart your Mint live USB in "Try without installing" mode
      Open the terminal and type the following command:
      sudo parted -l
      (letter L)
      Copy/paste the result here.
      0
    3. fristosh Posted messages 104 Status Member 1
       
      bonjour, bonsoir, entre temps j ai installe xubuntu qui se comporte pareil, donc je t envoie la copie de sudo parted -l de xubuntu
      Model: ATA ST1000LM048-2E71 (scsi)
      Disk /dev/sda: 1000GB
      Sector size (logical/physical): 512B/4096B
      Partition Table: gpt
      Disk Flags:

      Number Start End Size File system Name Flags
      1 1049kB 538MB 537MB fat32 EFI System Partition boot, esp
      2 538MB 1050MB 512MB ext2
      3 1050MB 1000GB 999GB lvm


      Model: Kingston DataTraveler 3.0 (scsi)
      Disk /dev/sdb: 31.3GB
      Sector size (logical/physical): 512B/512B
      Partition Table: gpt
      Disk Flags:

      Number Start End Size File system Name Flags
      1 1049kB 31.3GB 31.3GB fat32 Microsoft Basic Data msftdata


      Model: Linux device-mapper (linear) (dm)
      Disk /dev/mapper/xubuntu--vg-swap_1: 8405MB
      Sector size (logical/physical): 512B/4096B
      Partition Table: loop
      Disk Flags:

      Number Start End Size File system Flags
      1 0.00B 8405MB 8405MB linux-swap(v1)


      Model: Linux device-mapper (linear) (dm)
      Disk /dev/mapper/xubuntu--vg-root: 991GB
      Sector size (logical/physical): 512B/4096B
      Partition Table: loop
      Disk Flags:

      Number Start End Size File system Flags
      1 0.00B 991GB 991GB ext4
      0
    4. jns55
       
      On sda :
      3 1050MB 1000GB 999GB lvm
      I see that you have done an installation using lvm (dynamic partitions)

      What is sdb at 31.3 Go? Is it a USB stick?

      I'm not sure it's that but you should try reinstalling without choosing dynamic partitioning. On paper, it's great, you don't have to worry about partition sizes, it's managed by the system... But if, by misfortune, your system crashes and you can't boot anymore, you'll only have your eyes to cry over your data that becomes inaccessible.
      https://doc.ubuntu-fr.org/lvm#inconvenients_de_lvm

      You are indeed in UEFI. Did you boot your installation media in efi mode? (grub screen at startup)
      0
    5. fristosh Posted messages 104 Status Member 1
       
      Good evening, I reinstalled Mint as you told me, it got stuck again
      report sudo parted -l ;
      Sector size (logical/physical): 512B/4096B
      Partition Table: gpt
      Disk Flags:

      Number Start End Size File system Name Flags
      1 1049kB 538MB 537MB fat32 EFI System Partition boot, esp
      2 538MB 992GB 991GB ext4
      3 992GB 1000GB 8405MB linux-swap(v1)


      Model: Kingston DataTraveler 3.0 (scsi)
      Disk /dev/sdb: 31.3GB
      Sector size (logical/physical): 512B/512B
      Partition Table: gpt
      Disk Flags:

      Number Start End Size File system Name Flags
      1 1049kB 31.3GB 31.3GB fat32 Microsoft Basic Data msftdata

      There you go, thank you.
      0
  2. elanco
     
    I had the same issue but with Lubuntu. The trick is to use GParted when you're in live mode and format your entire hard drive to ext4, then proceed with the installation. Do this if you don't care about what you have on your disk or if you don't want to keep Windows.
    0
  3. Anonymous user
     
    If it's still stuck in the same place, it might be the physical sectors of the hard drive that are damaged. If you go to the menu and look for the disk application (or disk in English), it will tell you if there are any damaged sectors on the disk.
    I was fooled for a long time before understanding this bug.

    The only solution is to change the hard drive...

    I hope that helps you!
    Have a nice day!
    0
    1. fristosh Posted messages 104 Status Member 1
       
      Hi and thank you for your help, I don't think that's it, the disk is blank and less than a month old.
      Best regards
      0
  4. fristosh Posted messages 104 Status Member 1
     
    Hello, I couldn't find out why it was blocking (maybe a Lenovo security feature, I was told).
    After several installation failures on a Lenovo PC (which I call PC-A), I managed to complete the installation by using another PC (on which I have already done a successful installation, which I call PC-B).
    In short, I removed the hard drives from both PCs, placed the HDD from PC-A into PC-B, completed the installation, and then put the HDDs back in their original slots. And it worked.
    I don't know what was blocking in PC-A that caused the installation to fail, but by using PC-B it became possible.
    If this can help someone!!!
    Best regards.
    0