elementary / installer

Installer front-end for Linux-based OSes
https://elementary.io
GNU General Public License v3.0
173 stars 50 forks source link

Installer doesn't show partitions on MacBook #702

Open patx opened 1 year ago

patx commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

Could this be a problem with with Distinst?

aerocyber commented 1 year ago

Maybe, as the installer uses distinst.

patx commented 1 year ago

@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 commented 1 year ago

I am not sure of it.

israelpattison commented 1 year ago

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

dvilelaf commented 1 year ago

Can confirm

guzman109 commented 1 year ago

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

patx commented 1 year ago

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

patx commented 1 year ago

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

patx commented 6 months ago

BUMP

alopix commented 4 months ago

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

patx commented 4 months ago

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?

deftoner commented 2 weeks ago

I have a macbook air A1534, Macbook Air 12in 2017

Run into this same thing, latest to the date installer of elementary OS 7. installer wont show disk/partitions to install to, in any menu, but when opening the partition tool (GPart) shows the internal SSD and its partitions. Deleting, creating, etc wont change anything, still not showing at installer.

Windows 10 (yes, tried just in case) works, Ubuntu installs without any issue. I saw TONS of issues reported here, one open since 2021, about issues similar to this. It make me remember the 90s when you need to insert a floppy with the disk controller drivers. "202X is the year of linux as desktop" hahaha Elementary looks so good and promising, but if you can't even go past the installer for the same issue reported the past 3 years..

I will try version 8, since someone reported it working.

patx commented 2 weeks ago

I have a macbook air A1534, Macbook Air 12in 2017

Run into this same thing, latest to the date installer of elementary OS 7. installer wont show disk/partitions to install to, in any menu, but when opening the partition tool (GPart) shows the internal SSD and its partitions. Deleting, creating, etc wont change anything, still not showing at installer.

Windows 10 (yes, tried just in case) works, Ubuntu installs without any issue. I saw TONS of issues reported here, one open since 2021, about issues similar to this. It make me remember the 90s when you need to insert a floppy with the disk controller drivers. "202X is the year of linux as desktop" hahaha Elementary looks so good and promising, but if you can't even go past the installer for the same issue reported the past 3 years..

I will try version 8, since someone reported it working.

I too will try on 8 when it is released, I know some work was done to the installer but not sure if it will change anything. I will report back here the day 8 is released.

deftoner commented 1 week ago

I have a macbook air A1534, Macbook Air 12in 2017 Run into this same thing, latest to the date installer of elementary OS 7. installer wont show disk/partitions to install to, in any menu, but when opening the partition tool (GPart) shows the internal SSD and its partitions. Deleting, creating, etc wont change anything, still not showing at installer. Windows 10 (yes, tried just in case) works, Ubuntu installs without any issue. I saw TONS of issues reported here, one open since 2021, about issues similar to this. It make me remember the 90s when you need to insert a floppy with the disk controller drivers. "202X is the year of linux as desktop" hahaha Elementary looks so good and promising, but if you can't even go past the installer for the same issue reported the past 3 years.. I will try version 8, since someone reported it working.

I too will try on 8 when it is released, I know some work was done to the installer but not sure if it will change anything. I will report back here the day 8 is released.

For now I'm running Zorin. Installed perfectly too (Ubuntu based), With my macbook air 2017 I had issues with the audio and wont suspend (wont come back) but fixed them googling (they are ubuntu related issues, there is a repository that installs the missing driver for sound)

I will keep an eye on whether someone updates that installer from version 8 works (or not)