Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installer doesn't show partitions on MacBook #702

Open
patx opened this issue Apr 12, 2023 · 10 comments
Open

Installer doesn't show partitions on MacBook #702

patx opened this issue Apr 12, 2023 · 10 comments

Comments

@patx
Copy link

patx commented Apr 12, 2023

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)

@aerocyber
Copy link
Contributor

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;

@patx
Copy link
Author

patx commented Apr 15, 2023

Could this be a problem with with Distinst?

@aerocyber
Copy link
Contributor

Maybe, as the installer uses distinst.

@patx
Copy link
Author

patx commented Apr 19, 2023

@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.

@aerocyber
Copy link
Contributor

I am not sure of it.

@israelpattison
Copy link

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

@dvilelaf
Copy link

dvilelaf commented Oct 9, 2023

Can confirm

@guzman109
Copy link

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

@patx
Copy link
Author

patx commented Oct 11, 2023

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

@patx
Copy link
Author

patx commented Oct 13, 2023

I also have started an issue on the distinst repo related to this pop-os/distinst#316

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants