Hangs on installation... (SOLVED)

Questions about Grub, the liveCD and the installer
Forum rules
Before you post please read how to get help
User avatar
clem
Level 12
Level 12
Posts: 4007
Joined: Wed Nov 15, 2006 8:34 am
Contact:

Re: Hangs on installation...

Postby clem » Fri Sep 18, 2015 8:25 am

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

User avatar
tenfoot
Level 5
Level 5
Posts: 818
Joined: Sun Jun 03, 2007 4:12 am
Location: Waipapa, Bay of Islands, New Zealand

Re: Hangs on installation...

Postby tenfoot » Sat Sep 19, 2015 1:35 am

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.
Attachments
Screenshot-sudo-liceinstaller.png
tenfoot
I'm so old I remember when fame was a by-product of talent.

User avatar
clem
Level 12
Level 12
Posts: 4007
Joined: Wed Nov 15, 2006 8:34 am
Contact:

Re: Hangs on installation...

Postby clem » Sat Sep 19, 2015 5:44 am

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: 4007
Joined: Wed Nov 15, 2006 8:34 am
Contact:

Re: Hangs on installation...

Postby clem » Sat Sep 19, 2015 6:13 am

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: 240
Joined: Thu Jul 23, 2015 10:36 pm

Re: Hangs on installation...

Postby kevinthefixer » Sat Sep 19, 2015 10:55 am

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: 4007
Joined: Wed Nov 15, 2006 8:34 am
Contact:

Re: Hangs on installation...

Postby clem » Sat Sep 19, 2015 1:50 pm

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 9
Level 9
Posts: 2996
Joined: Fri Aug 19, 2011 3:46 am

Re: Hangs on installation...

Postby Monsta » Sat Sep 19, 2015 1:51 pm

:lol:

User avatar
tenfoot
Level 5
Level 5
Posts: 818
Joined: Sun Jun 03, 2007 4:12 am
Location: Waipapa, Bay of Islands, New Zealand

Re: Hangs on installation...

Postby tenfoot » Mon Sep 21, 2015 4:09 pm

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
I'm so old I remember when fame was a by-product of talent.

User avatar
tenfoot
Level 5
Level 5
Posts: 818
Joined: Sun Jun 03, 2007 4:12 am
Location: Waipapa, Bay of Islands, New Zealand

Re: Hangs on installation...

Postby tenfoot » Mon Sep 21, 2015 4:10 pm

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
I'm so old I remember when fame was a by-product of talent.

LMDE2papa
Level 1
Level 1
Posts: 1
Joined: Wed Feb 03, 2016 3:22 pm

Re: Hangs on installation... (SOLVED)

Postby LMDE2papa » Wed Feb 03, 2016 8:35 pm

LMDE2 x64 MATE, non-UEFI computer, non-GPT disk, same problem (no progress after entering computer name), similar solution (inspired by above [Ctrl]-[C], 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
Level 1
Level 1
Posts: 1
Joined: Sun Jun 05, 2016 4:39 am

Re: Hangs on installation... (SOLVED)

Postby bandogo » Sun Jun 05, 2016 4:53 am

Had the same issue with the installer on LMDE2 x64 Cinnamon. [Ctrl]-[C] 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: Select all

Warning: Partition /dev/sda-1 or type 4 failed to mount!


Ergo: this bug has something to do with the existing partitions on the hdd.

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 4
Level 4
Posts: 201
Joined: Sun May 08, 2011 12:57 pm
Location: Baja California, Mexico

Re: Hangs on installation... (SOLVED)

Postby sdibaja » Thu Aug 04, 2016 4:18 pm

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

User avatar
sdibaja
Level 4
Level 4
Posts: 201
Joined: Sun May 08, 2011 12:57 pm
Location: Baja California, Mexico

Re: Hangs on installation... (SOLVED)

Postby sdibaja » Sun Dec 11, 2016 12:08 pm

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

User avatar
killer de bug
Level 14
Level 14
Posts: 5311
Joined: Tue Jul 08, 2008 1:49 pm
Location: Graz, Austria

Re: Hangs on installation... (SOLVED)

Postby killer de bug » Sun Dec 11, 2016 1:29 pm

Could you please update the kernel to one of the newest and see if it solves the problem?
Image
If it ain't broke, fix it until it is.

User avatar
sdibaja
Level 4
Level 4
Posts: 201
Joined: Sun May 08, 2011 12:57 pm
Location: Baja California, Mexico

Re: Hangs on installation... (SOLVED)

Postby sdibaja » Sun Dec 11, 2016 1:39 pm

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

User avatar
killer de bug
Level 14
Level 14
Posts: 5311
Joined: Tue Jul 08, 2008 1:49 pm
Location: Graz, Austria

Re: Hangs on installation... (SOLVED)

Postby killer de bug » Sun Dec 11, 2016 2:07 pm

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:
Image
If it ain't broke, fix it until it is.

User avatar
sdibaja
Level 4
Level 4
Posts: 201
Joined: Sun May 08, 2011 12:57 pm
Location: Baja California, Mexico

Re: Hangs on installation... (SOLVED)

Postby sdibaja » Sun Dec 11, 2016 8:36 pm

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

User avatar
sdibaja
Level 4
Level 4
Posts: 201
Joined: Sun May 08, 2011 12:57 pm
Location: Baja California, Mexico

Re: Hangs on installation... (SOLVED)

Postby sdibaja » Tue Dec 13, 2016 5:07 pm

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

User avatar
killer de bug
Level 14
Level 14
Posts: 5311
Joined: Tue Jul 08, 2008 1:49 pm
Location: Graz, Austria

Re: Hangs on installation... (SOLVED)

Postby killer de bug » Tue Dec 13, 2016 6:16 pm

In an LMDE2 live system? Hum that good to know :wink:
Image
If it ain't broke, fix it until it is.


Return to “Installation & Boot”