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

Can't open io.elementary.installer after changing MBR to GPT #274

Open
luismanfroni opened this issue Nov 1, 2021 · 1 comment
Open

Comments

@luismanfroni
Copy link

luismanfroni commented Nov 1, 2021

Distribution (run cat /etc/os-release):

NAME="Pop!_OS"
VERSION="21.04"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 21.04"
VERSION_ID="21.04"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=hirsute
UBUNTU_CODENAME=hirsute
LOGO=distributor-logo-pop-os

Issue/Bug Description:
Tried to run installer after booting from live USB and didn't open when clicking on icon, so i tried to run on terminal:

pop-os@pop-os:~$ sudo RUST_BACKTRACE=full io.elementary.installer
[INFO distinst:crates/disks/src/config/disks.rs:579] probed "/dev/sda"
[INFO distinst:crates/disks/src/config/disk.rs:164] obtaining disk information from /dev/sda
[INFO distinst:crates/disks/src/serial.rs:14] obtaining serial model from /dev/sda
[INFO distinst:crates/disk-ops/src/parted.rs:31] opening disk at /dev/sda
[INFO distinst:crates/disks/src/config/partitions/mod.rs:118] obtaining partition information from /dev/sda1
[INFO distinst:crates/disks/src/config/partitions/mod.rs:118] obtaining partition information from /dev/sda2
[INFO distinst:crates/disks/src/config/partitions/mod.rs:118] obtaining partition information from /dev/sda3
[INFO distinst:crates/disks/src/config/disks.rs:579] probed "/dev/sdb"
[INFO distinst:crates/disks/src/config/disk.rs:164] obtaining disk information from /dev/sdb
[INFO distinst:crates/disks/src/serial.rs:14] obtaining serial model from /dev/sdb
[INFO distinst:crates/disk-ops/src/parted.rs:31] opening disk at /dev/sdb
[INFO distinst:crates/disks/src/config/partitions/mod.rs:118] obtaining partition information from /dev/sdb1
[INFO distinst:crates/disks/src/config/partitions/mod.rs:118] obtaining partition information from /dev/sdb2
[INFO distinst:crates/disks/src/config/disks.rs:579] probed "/dev/sdc"
[INFO distinst:crates/disks/src/config/disk.rs:164] obtaining disk information from /dev/sdc
[INFO distinst:crates/disks/src/serial.rs:14] obtaining serial model from /dev/sdc
[INFO distinst:crates/disk-ops/src/parted.rs:31] opening disk at /dev/sdc
[INFO distinst:crates/disks/src/config/partitions/mod.rs:118] obtaining partition information from /dev/sdc2
[INFO distinst:crates/disks/src/config/partitions/mod.rs:118] obtaining partition information from /dev/sdc3
[INFO distinst:crates/disks/src/config/disks.rs:579] probed "/dev/sdd"
[INFO distinst:crates/disks/src/config/disk.rs:164] obtaining disk information from /dev/sdd
[INFO distinst:crates/disks/src/serial.rs:14] obtaining serial model from /dev/sdd
[INFO distinst:crates/disk-ops/src/parted.rs:31] opening disk at /dev/sdd
[INFO distinst:crates/disks/src/config/partitions/mod.rs:118] obtaining partition information from /dev/sdd1
thread '<unnamed>' panicked at 'not implemented', crates/external/src/block.rs:132:17
stack backtrace:
   0:     0x7f1baba003ad - <unknown>
   1:     0x7f1baba417af - <unknown>
   2:     0x7f1bab9ffe36 - <unknown>
   3:     0x7f1baba16b55 - <unknown>
   4:     0x7f1baba166f6 - <unknown>
   5:     0x7f1baba17183 - <unknown>
   6:     0x7f1baba00b77 - <unknown>
   7:     0x7f1baba0050c - <unknown>
   8:     0x7f1baba16d22 - <unknown>
   9:     0x7f1baba43bc1 - <unknown>
  10:     0x7f1baba43b0d - <unknown>
  11:     0x7f1bab9390ba - <unknown>
  12:     0x7f1bab90d897 - <unknown>
  13:     0x7f1bab8ff2b1 - <unknown>
  14:     0x7f1bab8e711e - <unknown>
  15:     0x7f1bab8f2861 - <unknown>
  16:     0x7f1bab7f94d3 - distinst_disks_probe
  17:     0x5583b1c61845 - install_options_get_options
  18:     0x5583b1c5dd33 - <unknown>
  19:     0x7f1bab68ba18 - <unknown>
  20:     0x7f1bab68d048 - g_object_new_valist
  21:     0x7f1bab68d57d - g_object_new
  22:     0x5583b1c58a19 - <unknown>
  23:     0x7f1bab69a724 - g_signal_emit_valist
  24:     0x7f1bab69a893 - g_signal_emit
  25:     0x7f1baa97a008 - <unknown>
  26:     0x7f1baa97a1e6 - g_application_run
  27:     0x5583b1c5a71b - _vala_main
  28:     0x7f1baa6cf565 - __libc_start_main
  29:     0x5583b1c5350e - _start
  30:                0x0 - <unknown>
fatal runtime error: failed to initiate panic, error 5
Aborted

Steps to reproduce (if you know):

I was trying to change my device from MBR to GPT and rebootet after i did it with gdisk.
After booting, click the installer didn't open anymore, so i tried opening terminal, when running as normal user, it would show as if there is no space to install, but if i run it with sudo it will give the error above without even opening the GUI.
Tried running: sudo io.elementary.installer

*Expected behavior:
Should open installer GUI when running as sudo on terminal, or when clicking the icon on panel.

Notes

pop-os@pop-os:~$ sudo fdisk -l
Disk /dev/loop0: 2.69 GiB, 2893729792 bytes, 5651816 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WDC WD10EZEX-00R
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 2AA791D3-0F91-41E0-918C-7ED13F3C60BA

Device         Start       End   Sectors   Size Type
/dev/sda1       2048   1026047   1024000   500M Microsoft basic data
/dev/sda2    1026048 621266405 620240358 295.8G Microsoft basic data
/dev/sda3  621266944 622323711   1056768   516M Windows recovery environment


Disk /dev/sdb: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: ST2000LM007-1R81
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 583C12B8-9DF4-46BD-8037-2E01136FA0C5

Device          Start        End    Sectors  Size Type
/dev/sdb1        2048 2473431039 2473428992  1.2T Microsoft basic data
/dev/sdb2  2473431040 2475067391    1636352  799M Microsoft basic data


Disk /dev/sdc: 14.46 GiB, 15525216256 bytes, 30322688 sectors
Disk model: USB DISK 2.0    
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x716d5aef

Device     Boot   Start      End  Sectors  Size Id Type
/dev/sdc1  *          0  5973119  5973120  2.8G  0 Empty
/dev/sdc2           484     8675     8192    4M ef EFI (FAT-12/16/32)
/dev/sdc3       5976064 30322687 24346624 11.6G 83 Linux
@mmstick
Copy link
Member

mmstick commented Nov 1, 2021

What is /dev/sdd1?

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

2 participants