installer icon indicating copy to clipboard operation
installer copied to clipboard

Installer doesn't show partitions on MacBook

Open patx opened this issue 1 year ago • 13 comments

What Happened?

Same issue as #617 that issue should not have been closed, as it is not fixed with the new commit.

Steps to Reproduce

  1. Booted into Live Demo Mode
  2. Added ppa:elementary-os/daily
  3. apt update
  4. apt install io.elementary.installer
  5. io.elementary.installer
  6. Can use the installer up to the part where i click Erase Entire Disk

Expected Behavior

Should be able to select Install and Erase Entire disk, but it doesn't show any partitions.

OS Version

7.x (Horus)

Software Version

Latest release (I have run all updates)

Log Output

** (io.elementary.installer:9521): CRITICAL **: 07:20:11.347: CheckView.vala:105: Unable to get disks list: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying

Hardware Info

MacBook 12" Retina (2017)

patx avatar Apr 12 '23 16:04 patx

These are just my thoughts but it seems like the problem is occurring around this portion of the code in the src/Views/DiskView.vala file

public async void load (uint64 minimum_disk_size) {
        DiskButton[] enabled_buttons = {};
        DiskButton[] disabled_buttons = {};

        InstallerDaemon.DiskInfo? disks;
        try {
            disks = yield Daemon.get_default ().get_disks ();
        } catch (Error e) {
            critical ("Unable to get disks list: %s", e.message);
            load_stack.set_visible_child_name ("disk");
            return;
        }

(Code around line numbers 125-136. Due to the log ** (io.elementary.installer:9521): CRITICAL **: 07:20:11.347: CheckView.vala:105: directly referring to the statement in the try-catch block: Unable to get disks list:)

or the code around line number 47-60. I also suspect that the DBUS_TIMEOUT_MSEC is not sufficiently high. These are just my suspicions as the code does refer to that variable around line number 55.

daemon.g_default_timeout = DBUS_TIMEOUT_MSEC;

aerocyber avatar Apr 15 '23 13:04 aerocyber

Could this be a problem with with Distinst?

patx avatar Apr 15 '23 21:04 patx

Maybe, as the installer uses distinst.

aerocyber avatar Apr 16 '23 02:04 aerocyber

@aerocyber Maybe using a different installer e.g. ubiquity would work. Is this possible to sudo apt install ubiquity and use that or is there more setup required, need a work around until I figure this out and I'm 75% sure its distinst because POP fails as well. I have made an issue report on the distinst repo as well.

patx avatar Apr 19 '23 22:04 patx

I am not sure of it.

aerocyber avatar Apr 21 '23 03:04 aerocyber

This is still a problem in 7.1. Same as previously described.

israelpattison avatar Oct 09 '23 12:10 israelpattison

Can confirm

dvilelaf avatar Oct 09 '23 12:10 dvilelaf

As @israelpattison and @dvilelaf have mentioned, still a problem. Ubiquity sees the SSD but crashed when trying to install.

guzman109 avatar Oct 09 '23 15:10 guzman109

I tried again today same Macbook 12" same problem. This is real bummer hope we can get it fixed!

patx avatar Oct 11 '23 00:10 patx

I also have started an issue on the distinst repo related to this https://github.com/pop-os/distinst/issues/316

patx avatar Oct 13 '23 19:10 patx

BUMP

patx avatar May 27 '24 04:05 patx

I just tried to install elementary on my MacBook and getting the same issue. Partitions show in gparted but not in the installer.

alopix avatar Jul 08 '24 17:07 alopix

I installed ubiquity and it goes through the entire installation but it isnt set up properly so it doesnt completely work. The partitioning didnt seem like an issue however. Maybe include ubiquity in 8.0 release as a backup to the standard installer as a work around?

patx avatar Jul 14 '24 20:07 patx