Manjaro Live installation cannot reach partition

Hello !

I have experienced a really weird issue with Manjaro Linux installation from external HDD
Whenever I try to install Manjaro - it freezes when is should reach disk setup, gparted just freezes as well as fdisk -l

sudo fdisk -l                                                            
Disk /dev/loop0: 66.5 MiB, 69259264 bytes, 135272 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/loop1: 637.8 MiB, 668758016 bytes, 1306168 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/loop2: 1.35 GiB, 1444450304 bytes, 2821192 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/loop3: 584.11 MiB, 612483072 bytes, 1196256 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

Initially I thought it was a Kernel issue - but turned out it wasn't the case - debian-based distros, fedora they all worked fine
Initial thread is here -> Changing Kernel in Manjaro Live

So, thanks to michaldybczak
I might actually be on to something

live-USB can in fact read whole filesystem perfectly but it cannot write anything to any disk

~ »> lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 66.1M 1 loop /run/miso/sfs/livefs
loop1 7:1 0 637.8M 1 loop /run/miso/sfs/mhwdfs
loop2 7:2 0 1.4G 1 loop /run/miso/sfs/desktopfs
loop3 7:3 0 584.1M 1 loop /run/miso/sfs/rootfs
sda 8:0 0 298.1G 0 disk
└─sda1 8:1 0 298.1G 0 part
sdb 8:16 0 931.5G 0 disk
├─sdb1 8:17 0 233.5G 0 part
├─sdb2 8:18 0 232.4G 0 part
├─sdb3 8:19 0 242.9G 0 part
└─sdb4 8:20 0 222.8G 0 part
sdg 8:96 0 465.8G 0 disk /run/miso/bootmnt
├─sdg1 8:97 0 2.7G 0 part
└─sdg2 8:98 0 4M 0 part
sr0 11:0 1 1024M 0 rom 

And

~ »> hwinfo —disk
47: SCSI 800.3: 10600 Disk
[Created at block.256]
Unique ID: FKGF.U_Jt4BKDVLA
Parent ID: 5YuN.7fGVoNxh7p9
SysFS ID: /class/block/sdf
SysFS BusID: 8:0:0:3
SysFS Device Link: /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host8/target8:0:0/8:0:0:3
Hardware Class: disk
Model: "Generic USB MS Reader"
Vendor: usb 0x058f "Generic"
Device: usb 0x6362 "USB MS Reader"
Revision: "1.03"
Serial ID: "058F312D81B"
Driver: "usb-storage", "sd"
Driver Modules: "usb_storage"
Device File: /dev/sdf (/dev/sg6)
Device Files: /dev/sdf, /dev/disk/by-path/pci-0000:00:1d.7-usb-0:1:1.0-scsi-0:0:0:3, /dev/disk/by-id/usb-Generic_USB_MS_Reader_058F312D81B-0:3
Device Number: block 8:80-8:95 (char 21:6)
Speed: 480 Mbps
Module Alias: "usb:v058Fp6362d0129dc00dsc00dp00ic08isc06ip50in00"
Driver Info #0:
Driver Status: uas is active
Driver Activation Cmd: "modprobe uas"
Driver Info #1:
Driver Status: usb_storage is active
Driver Activation Cmd: "modprobe usb_storage"
Drive status: no medium
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #44 (USB Controller)

48: SCSI 800.1: 10600 Disk
[Created at block.256]
Unique ID: ofUZ.ESrhO6fmky3
Parent ID: 5YuN.7fGVoNxh7p9
SysFS ID: /class/block/sdd
SysFS BusID: 8:0:0:1
SysFS Device Link: /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host8/target8:0:0/8:0:0:1
Hardware Class: disk
Model: "Generic USB CF Reader"
Vendor: usb 0x058f "Generic"
Device: usb 0x6362 "USB CF Reader"
Revision: "1.01"
Driver: "usb-storage", "sd"
Driver Modules: "usb_storage"
Device File: /dev/sdd (/dev/sg4)
Device Files: /dev/sdd, /dev/disk/by-id/usb-Generic_USB_CF_Reader_058F312D81B-0:1, /dev/disk/by-path/pci-0000:00:1d.7-usb-0:1:1.0-scsi-0:0:0:1
Device Number: block 8:48-8:63 (char 21:4)
Drive status: no medium
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #44 (USB Controller)

49: IDE 700.0: 10600 Disk
[Created at block.245]
Unique ID: WZeP.joBV+y0U0g1
Parent ID: W60f.j28U1_5PIZC
SysFS ID: /class/block/sdb
SysFS BusID: 7:0:0:0
SysFS Device Link: /devices/pci0000:00/0000:00:1f.5/ata8/host7/target7:0:0/7:0:0:0
Hardware Class: disk
Model: "ST31000528AS"
Device: "ST31000528AS"
Revision: "CC46"
Driver: "ata_piix", "sd"
Driver Modules: "ata_piix"
Device File: /dev/sdb
Device Files: /dev/sdb, /dev/disk/by-id/wwn-0x5000c5003277cfba, /dev/disk/by-id/ata-ST31000528AS_6VPB3CVE, /dev/disk/by-path/pci-0000:00:1f.5-ata-2
Device Number: block 8:16-8:31
Drive status: no medium
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #20 (IDE interface)

51: SCSI 900.0: 10600 Disk
[Created at block.245]
Unique ID: 2UT6.1xH864Gryb7
Parent ID: sClz.FzpUetDZLSB
SysFS ID: /class/block/sdg
SysFS BusID: 9:0:0:0
SysFS Device Link: /devices/pci0000:00/0000:00:1a.7/usb1/1-3/1-3:1.0/host9/target9:0:0/9:0:0:0
Hardware Class: disk
Model: "SAMSUNG HM500JI"
Vendor: usb 0x18a5 "SAMSUNG"
Device: usb 0x0214 "HM500JI"
Serial ID: "101A108A00462"
Driver: "usb-storage", "sd"
Driver Modules: "usb_storage"
Device File: /dev/sdg (/dev/sg7)
Device Files: /dev/sdg, /dev/disk/by-path/pci-0000:00:1a.7-usb-0:3:1.0-scsi-0:0:0:0, /dev/disk/by-id/usb-SAMSUNG_HM500JI_101A108A00462-0:0
Device Number: block 8:96-8:111 (char 21:7)
Speed: 480 Mbps
Module Alias: "usb:v18A5p0214d0103dc00dsc00dp00ic08isc06ip50in00"
Driver Info #0:
Driver Status: uas is active
Driver Activation Cmd: "modprobe uas"
Driver Info #1:
Driver Status: usb_storage is active
Driver Activation Cmd:
"modprobe usb_storage"
Drive status: no medium
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #41 (USB Controller)

52: SCSI 800.2: 10600 Disk
[Created at block.256]
Unique ID: Frkd.ESrhO6fmky3
Parent ID: 5YuN.7fGVoNxh7p9
SysFS ID: /class/block/sde
SysFS BusID: 8:0:0:2
SysFS Device Link: /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host8/target8:0:0/8:0:0:2
Hardware Class: disk
Model: "Generic USB SM Reader"
Vendor: usb 0x058f "Generic"
Device: usb 0x6362 "USB SM Reader"
Revision: "1.02"
Driver: "usb-storage", "sd"
Driver Modules: "usb_storage"
Device File: /dev/sde (/dev/sg5)
Device Files: /dev/sde, /dev/disk/by-id/usb-Generic_USB_SM_Reader_058F312D81B-0:2, /dev/disk/by-path/pci-0000:00:1d.7-usb-0:1:1.0-scsi-0:0:0:2
Device Number: block 8:64-8:79 (char 21:5)
Drive status: no medium
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #44 (USB Controller)

53: SCSI 800.0: 10600 Disk
[Created at block.256]
Unique ID: LUEV.ESrhO6fmky3
Parent ID: 5YuN.7fGVoNxh7p9
SysFS ID: /class/block/sdc
SysFS BusID: 8:0:0:0
SysFS Device Link: /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host8/target8:0:0/8:0:0:0
Hardware Class: disk
Model: "Generic USB SD Reader"
Vendor: usb 0x058f "Generic"
Device: usb 0x6362 "USB SD Reader"
Revision: "1.00"
Driver: "usb-storage", "sd"
Driver Modules: "usb_storage"
Device File: /dev/sdc (/dev/sg3)
Device Files: /dev/sdc, /dev/disk/by-path/pci-0000:00:1d.7-usb-0:1:1.0-scsi-0:0:0:0, /dev/disk/by-id/usb-Generic_USB_SD_Reader_058F312D81B-0:0
Device Number: block 8:32-8:47 (char 21:3)
Drive status: no medium
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #44 (USB Controller)

54: IDE 401.0: 10600 Disk
[Created at block.245]
Unique ID: 3OOL.H66XZODYM81
Parent ID: w7Y8.nR5gkHXAaR1
SysFS ID: /class/block/sda
SysFS BusID: 4:0:1:0
SysFS Device Link: /devices/pci0000:00/0000:00:1f.2/ata5/host4/target4:0:1/4:0:1:0
Hardware Class: disk
Model: "WDC WD3200AAJS-0"
Vendor: "WDC"
Device: "WD3200AAJS-0"
Revision: "0A01"
Driver: "ata_piix", "sd"
Driver Modules: "ata_piix"
Device File: /dev/sda
Device Files: /dev/sda, /dev/disk/by-id/wwn-0x50014ee204c86c0b, /dev/disk/by-id/ata-WDC_WD3200AAJS-00YZCA0_WD-WCAYU3281917, /dev/disk/by-path/pci-0000:00:1f.2-ata-1
Device Number: block 8:0-8:15
Drive status: no medium
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #3 (IDE interface)

Sudo parted shows this

~ »> sudo parted -l
Warning: Error fsyncing/closing /dev/sda1: Input/output error

fdisk -l is stuck on loop

and df shows this

~ >>> df /dev/sda                                                              
Filesystem      Size  Used Avail Use% Mounted on
dev             7.8G     0  7.8G   0% /dev
~ >>> df                                                                       
Filesystem      Size  Used Avail Use% Mounted on
dev             7.8G     0  7.8G   0% /dev
run             7.9G  108M  7.8G   2% /run
/dev/sdg        2.7G  2.7G     0 100% /run/miso/bootmnt
cowspace        256M     0  256M   0% /run/miso/cowspace
overlay_root     12G  375M   12G   4% /run/miso/overlay_root
/dev/loop0       67M   67M     0 100% /run/miso/sfs/livefs
/dev/loop1      638M  638M     0 100% /run/miso/sfs/mhwdfs
/dev/loop2      1.4G  1.4G     0 100% /run/miso/sfs/desktopfs
/dev/loop3      585M  585M     0 100% /run/miso/sfs/rootfs
overlay          12G  375M   12G   4% /
tmpfs           7.9G   65M  7.8G   1% /dev/shm
tmpfs           7.9G     0  7.9G   0% /sys/fs/cgroup
tmpfs           7.9G  8.8M  7.9G   1% /tmp
tmpfs           7.9G  2.2M  7.9G   1% /etc/pacman.d/gnupg
tmpfs           1.6G   84K  1.6G   1% /run/user/1000
/dev/sdb1       234G  177G   57G  76% /run/media/manjaro/F43A25F33A25B390
~ >>> df /dev/sdb                                                              
Filesystem      Size  Used Avail Use% Mounted on
dev             7.8G     0  7.8G   0% /dev
~ >>> df /dev/sdg                                                              
Filesystem      Size  Used Avail Use% Mounted on
/dev/sdg        2.7G  2.7G     0 100% /run/miso/bootmnt

This is the most important part. So, my external HDD, from which I've made all my previous linux installations is usually listed as sdg
sda is 290G - it is misc. disk
sdb is 931G - this is where my main system at
sdg is 465G - it is the external hdd from which I make an installation

But in Manjaro for some reason the listing of disks is somewhat messed up
It is as if the system thinks that sda sdb are part of the external HDD
But there cannot be 2 sda 2 sdb, especially on one HDD

For some reason df shows that
sda, sdb are the same size as /dev folder on live usb - 7.8 G

So this creates conflict in system
Here is my system specs:

inxi -Fxxx0
System:
  Host: manjaro-gnome Kernel: 5.6.3-2-MANJARO x86_64 bits: 64 compiler: gcc 
  v: 9.3.0 Desktop: Gnome 3.36.1 wm: gnome-shell dm: GDM 3.34.1 
  Distro: Manjaro Linux 
Machine:
  Type: Desktop Mobo: Gigabyte model: P55-UD3 serial: <root required> 
  BIOS: Award v: F9 date: 06/23/2010 
CPU:
  Topology: Quad Core model: Intel Core i5 760 bits: 64 type: MCP 
  arch: Nehalem rev: 5 L2 cache: 8192 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 22393 
  Speed: 1199 MHz min/max: 1197/2794 MHz boost: enabled Core speeds (MHz): 
  1: 1199 2: 1319 3: 1250 4: 1391 
Graphics:
  Device-1: NVIDIA GF114 [GeForce GTX 560 Ti] vendor: Micro-Star MSI 
  driver: nvidia v: 390.132 bus ID: 01:00.0 chip ID: 10de:1200 
  Display: x11 server: X.org 1.20.8 driver: nvidia compositor: gnome-shell 
  resolution: <xdpyinfo missing> 
  OpenGL: renderer: GeForce GTX 560 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 390.132 
  direct render: Yes 
Audio:
  Device-1: Intel 5 Series/3400 Series High Definition Audio 
  vendor: Gigabyte driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
  chip ID: 8086:3b56 
  Device-2: NVIDIA GF114 HDMI Audio vendor: Micro-Star MSI 
  driver: snd_hda_intel v: kernel bus ID: 01:00.1 chip ID: 10de:0e0c 
  Device-3: BEHRINGER UMC202HD 192k type: USB driver: snd-usb-audio 
  bus ID: 1-2:3 chip ID: 1397:0507 
  Device-4: Alesis VMini type: USB driver: snd-usb-audio bus ID: 5-2:3 
  chip ID: 13b2:00a2 serial: Ver00.10 
  Sound Server: ALSA v: k5.6.3-2-MANJARO 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Gigabyte driver: r8169 v: kernel port: de00 bus ID: 03:00.0 
  chip ID: 10ec:8168 
  IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: 00:24:1d:d3:4d:f4 
Drives:
  Local Storage: total: 1.66 TiB used: 347.1 MiB (0.0%) 
  ID-1: /dev/sda vendor: Western Digital model: WD3200AAJS-00YZCA0 
  size: 298.09 GiB speed: <unknown> serial: WD-WCAYU3281917 rev: 0A01 
  scheme: MBR 
  ID-2: /dev/sdb vendor: Seagate model: ST31000528AS size: 931.51 GiB 
  speed: 3.0 Gb/s rotation: 7200 rpm serial: 6VPB3CVE rev: CC46 scheme: MBR 
  ID-3: /dev/sdg type: USB vendor: Samsung model: HM500JI size: 465.76 GiB 
  serial: 101A108A00462 scheme: MBR 
Partition:
  ID-1: / size: 11.72 GiB used: 347.1 MiB (2.9%) fs: overlay source: ERR-102 
Sensors:
  System Temperatures: cpu: 41.0 C mobo: N/A gpu: nvidia temp: 45 C 
  Fan Speeds (RPM): N/A gpu: nvidia fan: 45% 
Info:
  Processes: 219 Uptime: 11m Memory: 15.63 GiB used: 1.56 GiB (10.0%) 
  Init: systemd v: 244 Compilers: gcc: N/A Shell: zsh v: 5.8 
  running in: gnome-terminal inxi: 3.0.37 

The latest version of Manjaro that did work was Manjaro 18.10

Man, and I thought it would be an ordinary installation :smiley:
This turned out to be a detective case

I hope I have provided useful info for resolving this issue

I had an experiment - I booted from arcolinux - an Arch-based distro, to see if the issue is actually Arch-based. Kernel 5.5.7-arch1-1
And everything worked just fine
So I've run some commands, to see what's different

Under Arcolinux (an Arch-based distro)
sudo fdisk -l

Summary
sudo fdisk -l
Disk /dev/sda: 298.9 GiB, 320072934400 bytes, 625142450 sectors
Disk model: WDC WD3200AAJS-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: 0xb3f6b00c

Device     Boot Start       End   Sectors   Size Id Type
/dev/sda1  *     2048 625139711 625137664 298.1G  7 HPFS/NTFS/exFAT


Disk /dev/sdb: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: ST31000528AS    
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: 0x1dae9b05

Device     Boot      Start        End   Sectors   Size Id Type
/dev/sdb1  *          2048  489601023 489598976 233.5G  7 HPFS/NTFS/exFAT
/dev/sdb2        489601024  976891903 487290880 232.4G  7 HPFS/NTFS/exFAT
/dev/sdb3        976891904 1486342143 509450240 242.9G  7 HPFS/NTFS/exFAT
/dev/sdb4       1486342144 1953523711 467181568 222.8G 83 Linux




Disk /dev/sdg: 465.78 GiB, 500107862016 bytes, 976773168 sectors
Disk model: HM500JI         
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: 0x4d4f6841

Device     Boot Start     End Sectors  Size Id Type
/dev/sdg1  *        0 4393439 4393440  2.1G  0 Empty
/dev/sdg2         164  131235  131072   64M ef EFI (FAT-12/16/32)


Disk /dev/loop0: 1.102 GiB, 2140626944 bytes, 4180912 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

lsblk looks like this

Summary
[liveuser@ArcoLinux ~]$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
loop0    7:0    0     2G  1 loop /run/archiso/sfs/airootfs
sda      8:0    0 298.1G  0 disk 
`-sda1   8:1    0 298.1G  0 part 
sdb      8:16   0 931.5G  0 disk 
|-sdb1   8:17   0 233.5G  0 part 
|-sdb2   8:18   0 232.4G  0 part 
|-sdb3   8:19   0 242.9G  0 part 
`-sdb4   8:20   0 222.8G  0 part 
sdg      8:96   0 465.8G  0 disk 
|-sdg1   8:97   0   2.1G  0 part /run/archiso/bootmnt
`-sdg2   8:98   0    64M  0 part 
sr0     11:0    1  1024M  0 rom

sudo parted worked fine and showed this (so it worked just fine)

Summary
GNU Parted 3.3
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.

And finally, df

Summary
[liveuser@ArcoLinux ~]$ sudo df
Filesystem     1K-blocks      Used Available Use% Mounted on
dev              8177276         0   8177276   0% /dev
run              8195348     62208   8133140   1% /run
/dev/sdg1        2196720   2196720         0 100% /run/archiso/bootmnt
cowspace         4194304    159076   4035228   4% /run/archiso/cowspace
/dev/loop0       2090496   2090496         0 100% /run/archiso/sfs/airootfs
airootfs         4194304    159076   4035228   4% /
tmpfs            8195348     88312   8107036   2% /dev/shm
tmpfs            8195348         0   8195348   0% /sys/fs/cgroup
tmpfs            8195348     41220   8154128   1% /tmp
tmpfs            1639068        44   1639024   1% /run/user/500
/dev/sdb1      244799484 187493136  57306348  77% /run/media/liveuser/F43A25F33A25B390
/dev/sdb2      243645436 161587872  82057564  67% /run/media/liveuser/User
/dev/sdb3      254725116  19986380 234738736   8% /run/media/liveuser/Data
/dev/sdb4      218936516         8 207240588   1% /run/media/liveuser/365f29d9-0710-d601-305b-29d90710d601

So guys, it's an exclusive Manjaro problem over here :smile:

I'm struggling to understand what the issue is here.

You're installing from an external HDD?

That seems like an odd setup.

How do you know it can't write to disk? Also, which disk?

For example, you're not going to be able to write to the installer medium as that's iso9660 format and so read-only.

I am using external hdd as live usb

After 17 days, I've randomly stumbled upon possible cause of this problem
I learned that Manjaro 18 (which worked perfectly fine) used kpmcore 3.0
But in version 19 - it was updated to kpmcore 4.1.0

Today I will grab my hands on regular thumbdrive (I've used external hdd for installation before) to see if it works correctly

1 Like

So... Nothing is different, even with installing properly from USB Flash Drive with Etcher
Definitely problem on Manjaro's side
And I suspect kpmcore is in fact the cause
@jonathon, I am no expert here, so, I guess it is your department :smiley:

Interesting.

Could you try with one of the 20.* installer images to see if it has been fixed already?

Already tried it. Still the same

If you can reliably replicate this then then it's worth filing a bug on the Calamares issue tracker:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by