Hangs on installation... (SOLVED)

Archived topics about LMDE 1 and LMDE 2
User avatar
clem
Level 12
Level 12
Posts: 4303
Joined: Wed Nov 15, 2006 8:34 am
Contact:

Re: Hangs on installation...

Post by clem »

OK, we have a fix :)

Here's how to test the fix:

- Start a new live session (especially if you typed gdisk before... please start a brand new one)
- Download the new installer from https://github.com/linuxmint/live-insta ... 18_all.deb and install it.
- Launch the installer from the command line with "sudo live-installer"

As always, please paste the terminal output when providing feedback.
Image
tenfoot
Level 6
Level 6
Posts: 1253
Joined: Sun Jun 03, 2007 4:12 am

Re: Hangs on installation...

Post by tenfoot »

Installed live-installer_2015.09.18_all.deb and as per instruction opened terminal and typed "sudo live-installer"

Terminal output give below:

Code: Select all

 mint@mint ~ $ sudo live-installer
Error adding locale 'awk: warning: escape sequence `\.' treated as plain `.''
Error adding locale 'ayc_PE'
Error adding locale 'brx_IN'
Error adding locale 'cmn_TW'
Error adding locale 'hak_TW'
Error adding locale 'hne_IN'
Error adding locale 'iw_IL'
Error adding locale 'lij_IT'
Error adding locale 'lzh_TW'
Error adding locale 'mhr_RU'
Error adding locale 'nan_TW'
Error adding locale 'nhn_MX'
Error adding locale 'pap_AN'
Error adding locale 'quz_PE'
Error adding locale 'shs_CA'
Error adding locale 'szl_PL'
Error adding locale 'the_NP'
Error adding locale 'unm_US'
Error adding locale 'wae_CH'
Error adding locale 'yue_HK'
/usr/lib/live-installer/frontend/gtk_interface.py:660: Warning: Source ID 4294967295 was not found when attempting to remove it
  glib.source_remove(self.kbd_preview_generation)  # stop previous preview generation, if any
java version "1.7.0_75"
OpenJDK Runtime Environment (IcedTea 2.5.4) (7u75-2.5.4-2)
OpenJDK 64-Bit Server VM (build 24.75-b04, mixed mode)
Timezone: Pacific/Auckland (UTC+1200) (760, 349)
Color: #ffcc00, Image: timezone_12.0.png
Starting PartitionSetup()
Excluding /dev/sdc (detected as the live device)
Can't find model in blkid output: ['loop', 'loop0', '0', '1.3G']
Disks:  [('/dev/sda', 'ST3160023AS (159 GB)'), ('/dev/sdb', 'ST3500641AS (500 GB)'), ('/dev/sdd', 'Removable: USB DISK 2.0 (31 GB)')]
    Analyzing path='/dev/sda' description='ST3160023AS (159 GB)'
      - Found the device...
      - Found the disk...
      - Looking at partitions...
           -> 2 free space partitions
           -> 2 primary partitions
           -> 0 logical partitions
           -> 0 raid partitions
           -> 0 LVM partitions
           -> set of 4 partitions
              -> Building partition object for /dev/sda1
                  . length 204800
                  . size_percent 1
                  . size 104.9 MB
                  . name /dev/sda1
                  . type ntfs
/dev/sda1: 'boot'
                  . About to mount it...
                  . size 102396, free 77160, self.used_percent 25%, mount_point /tmp/live-installer/tmpmount
                  . About to find more about it...
                  . self.description Windows bootloader/recovery self.os_fs_info : Windows bootloader/recovery (ntfs; 104.9 MB; 79.0 MB)
                  . umounting it
                  . done
              -> Building partition object for /dev/sda2
                  . length 312289280
                  . size_percent 79
                  . size 159.9 GB
                  . name /dev/sda2
                  . type ntfs
/dev/sda2: ''
                  . About to mount it...
                  . size 156144636, free 123454396, self.used_percent 21%, mount_point /tmp/live-installer/tmpmount
                  . About to find more about it...
                  . self.description Windows 7 self.os_fs_info : Windows 7 (ntfs; 159.9 GB; 126.4 GB)
                  . umounting it
                  . done
      - Found partitions...
      - Iterating partitions...
        . Appending partition /dev/sda1...
        . Appending partition /dev/sda2...
      - Loading HTML view...
    Analyzing path='/dev/sdb' description='ST3500641AS (500 GB)'
      - Found the device...
      - Found the disk...
      - Looking at partitions...
           -> 2 free space partitions
           -> 2 primary partitions
           -> 0 logical partitions
           -> 0 raid partitions
           -> 0 LVM partitions
           -> set of 4 partitions
              -> Building partition object for /dev/sdb2
                  . length 4194304
                  . size_percent 1
                  . size 2.1 GB
                  . name /dev/sdb2
                  . type swap
/dev/sdb2: ''
                  . About to mount it...
mount: unknown filesystem type 'swap'
                  . value error!
                  . self.os_fs_info : swap, self.description swap, self.free_space , self.used_percent 0
                  . umounting it
                  . done
              -> Building partition object for /dev/sdb1
                  . length 61440000
                  . size_percent 5
                  . size 31.5 GB
                  . name /dev/sdb1
                  . type ext4
/dev/sdb1: 'boot'
                  . About to mount it...
                  . size 30106576, free 23420052, self.used_percent 18%, mount_point /tmp/live-installer/tmpmount
                  . About to find more about it...
                  . self.description LMDE 2 MATE 64-bit self.os_fs_info : LMDE 2 MATE 64-bit (ext4; 30.8 GB; 24.0 GB)
                  . umounting it
                  . done
              -> Building partition object for /dev/sdb-1
                  . length 911131713
                  . size_percent 74
                  . size 466.5 GB
                  . name 
                  . type Free space
                  . umounting it
                  . done
Traceback (most recent call last):
  File "/usr/lib/live-installer/frontend/gtk_interface.py", line 796, in wizard_cb
    partitioning.build_partitions(self)
  File "/usr/lib/live-installer/partitioning.py", line 66, in build_partitions
    partition_setup = PartitionSetup()
  File "/usr/lib/live-installer/partitioning.py", line 272, in __init__
    part = Partition(partition)
  File "/usr/lib/live-installer/partitioning.py", line 405, in __init__
    print "%s: '%s'" % (partition.path, partition.getFlagsAsString())
  File "/usr/lib/python2.7/dist-packages/parted/partition.py", line 213, in getFlagsAsString
    if self.getFlag(flag):
  File "/usr/lib/python2.7/dist-packages/parted/decorators.py", line 41, in new
    ret = fn(*args, **kwds)
  File "/usr/lib/python2.7/dist-packages/parted/partition.py", line 151, in getFlag
    return self.__partition.get_flag(flag)
_ped.PartitionException: Could not get flag on inactive partition /dev/sdb-1
Showing ErrorDialog (<b>The installer failed with t ...)
mint@mint ~ $ 
I hit Enter, as I had done before, but this time it had no effect.

If other people having the same problem find the new live-installer works, it must be something peculiar to my system. I'd be delighted to learn of their experience.

In addition to the terminal output. I attach a screenshot of a dialog box which appeared.
tenfoot
"Light thinks it travels faster than anything but it is wrong. No matter how fast light travels, it finds darkness always got there first, and is waiting for it." Terry Pratchett (Reaper Man)
User avatar
clem
Level 12
Level 12
Posts: 4303
Joined: Wed Nov 15, 2006 8:34 am
Contact:

Re: Hangs on installation...

Post by clem »

Well that's good.. that's a different issue. By the look of things, we fixed the first one.

Ok, let me fix this one as well and I'll get back to you with yet another installer :)
Image
User avatar
clem
Level 12
Level 12
Posts: 4303
Joined: Wed Nov 15, 2006 8:34 am
Contact:

Re: Hangs on installation...

Post by clem »

Here we go. Hopefully this one will fix everything for you:

https://github.com/linuxmint/live-insta ... 19_all.deb
Image
kevinthefixer
Level 4
Level 4
Posts: 280
Joined: Thu Jul 23, 2015 10:36 pm

Re: Hangs on installation...

Post by kevinthefixer »

You can't make this stuff up! The dialog box screenshot posted by Tenfoot, above, is titled "liceinstaller"! I don't think anyone wants to install lice...
User avatar
clem
Level 12
Level 12
Posts: 4303
Joined: Wed Nov 15, 2006 8:34 am
Contact:

Re: Hangs on installation...

Post by clem »

kevinthefixer wrote:You can't make this stuff up! The dialog box screenshot posted by Tenfoot, above, is titled "liceinstaller"! I don't think anyone wants to install lice...
Talk about bugs.. :)
Image
Monsta
Level 10
Level 10
Posts: 3071
Joined: Fri Aug 19, 2011 3:46 am

Re: Hangs on installation...

Post by Monsta »

:lol:
tenfoot
Level 6
Level 6
Posts: 1253
Joined: Sun Jun 03, 2007 4:12 am

Re: Hangs on installation...

Post by tenfoot »

clem wrote:Here we go. Hopefully this one will fix everything for you:

https://github.com/linuxmint/live-insta ... 19_all.deb
Thank you, Clem. That did indeed solve the problem. The new live installer works through the command line and by just clicking on the install icon.

I have marked this subject SOLVED.
tenfoot
"Light thinks it travels faster than anything but it is wrong. No matter how fast light travels, it finds darkness always got there first, and is waiting for it." Terry Pratchett (Reaper Man)
tenfoot
Level 6
Level 6
Posts: 1253
Joined: Sun Jun 03, 2007 4:12 am

Re: Hangs on installation...

Post by tenfoot »

kevinthefixer wrote:You can't make this stuff up! The dialog box screenshot posted by Tenfoot, above, is titled "liceinstaller"! I don't think anyone wants to install lice...
Ye Gods! finger trouble at my age. Unforgivable :oops:
tenfoot
"Light thinks it travels faster than anything but it is wrong. No matter how fast light travels, it finds darkness always got there first, and is waiting for it." Terry Pratchett (Reaper Man)
LMDE2papa

Re: Hangs on installation... (SOLVED)

Post by LMDE2papa »

LMDE2 x64 MATE, non-UEFI computer, non-GPT disk, same problem (no progress after entering computer name), similar solution (inspired by above [Ctrl]-, thanks a 10^6):

1) started installer via desktop icon and proceeded as far as possible
2) opened terminal and seized total power through "sudo su -"
3) looked for relevant process(es) with "ps aux | grep install"
4) found 4 (four!) processes
5) killed the first one typing "kill {lowest_PID_from_above}
6) continued installing ...

Cheers, Andreas
bandogo

Re: Hangs on installation... (SOLVED)

Post by bandogo »

Had the same issue with the installer on LMDE2 x64 Cinnamon. [Ctrl]- worked so far, in the partition manager I removed the existing windows partitions. I double-clicked on a partition in the list and that caused a crash to the installer. Now, re-running the live-installer, it didn't freeze anymore after the point where you enter your account details, so I could continue the installation normally while the terminal showed the warning [code]Warning: Partition /dev/sda-1 or type 4 failed to mount![/code]

Ergo: [b]this bug has something to do with the existing partitions on the hdd.[/b]

You really should try to fix this, not everyone is going to search the forums for solutions, if already the installer has multiple serious issues :!:
User avatar
sdibaja
Level 5
Level 5
Posts: 900
Joined: Sun May 08, 2011 12:57 pm
Location: Baja California, Mexico

Re: Hangs on installation... (SOLVED)

Post by sdibaja »

interesting issue, I had the same problem this morning with LMDE Mate.
my solution was to grab the Mint 18 USB that was one foot away, it installed with no problems.

If this bug is actually understood and solved, please incorporate the patch in the LMDE ISOs.

thanks, Peter in Baja
---
PS: my final solution... long story short, copied my LMDE root and home partitions from my backup SSD, opened Mint 18, update GRUB, opened LMDE and again update GRUB so it is default on boot.
Peter
Mate desktop https://wiki.debian.org/MATE
Debian GNU/Linux operating system: https://www.debian.org/download
User avatar
sdibaja
Level 5
Level 5
Posts: 900
Joined: Sun May 08, 2011 12:57 pm
Location: Baja California, Mexico

Re: Hangs on installation... (SOLVED)

Post by sdibaja »

this issue struck again when I added a 512GB M.2 SSD to my HP Elitebook 820 G1... it already had a conventional SSD.
I ran gksu live-installer
then when it hangs ^C gets it started again.

Question: I this problem going to be addressed with LMDE 3?
Thanks, Peter
Peter
Mate desktop https://wiki.debian.org/MATE
Debian GNU/Linux operating system: https://www.debian.org/download
killer de bug

Re: Hangs on installation... (SOLVED)

Post by killer de bug »

Could you please update the kernel to one of the newest and see if it solves the problem?
User avatar
sdibaja
Level 5
Level 5
Posts: 900
Joined: Sun May 08, 2011 12:57 pm
Location: Baja California, Mexico

Re: Hangs on installation... (SOLVED)

Post by sdibaja »

killer de bug wrote:Could you please update the kernel to one of the newest and see if it solves the problem?
update the kernel in the ISO? Or while running live?
Not to sure how to do that... instructions please.
Peter
Mate desktop https://wiki.debian.org/MATE
Debian GNU/Linux operating system: https://www.debian.org/download
killer de bug

Re: Hangs on installation... (SOLVED)

Post by killer de bug »

You should use the live CD to access your main system and update the kernel in it. You can find a new kernel in the backports.
:wink:
User avatar
sdibaja
Level 5
Level 5
Posts: 900
Joined: Sun May 08, 2011 12:57 pm
Location: Baja California, Mexico

Re: Hangs on installation... (SOLVED)

Post by sdibaja »

killer de bug wrote:You should use the live CD to access your main system and update the kernel in it. You can find a new kernel in the backports.
:wink:
Sir, that is a little over my head. :?
I do understand the concept, but need some study of the nuts and bolts. :wink:

I tried. First I activated the Romeo backports (using software sources), then ran apt-get update and apt-get upgrade ... but it ran out of room and failed to load the newer kernel.
Peter
Mate desktop https://wiki.debian.org/MATE
Debian GNU/Linux operating system: https://www.debian.org/download
User avatar
sdibaja
Level 5
Level 5
Posts: 900
Joined: Sun May 08, 2011 12:57 pm
Location: Baja California, Mexico

Re: Hangs on installation... (SOLVED)

Post by sdibaja »

killer de bug wrote:You should use the live CD to access your main system and update the kernel in it. You can find a new kernel in the backports.
:wink:
sorry, I got sidetracked. I was unable to update the kernel.
however I installed https://github.com/linuxmint/live-insta ... 19_all.deb in the live session and that installer works fine.

Thanks.
Peter
Mate desktop https://wiki.debian.org/MATE
Debian GNU/Linux operating system: https://www.debian.org/download
killer de bug

Re: Hangs on installation... (SOLVED)

Post by killer de bug »

In an LMDE2 live system? Hum that good to know :wink:
Locked

Return to “LMDE Archive”