Fails to create ext4 partition

Hey there. I’ve successfully installed EndeavourOS and Arch in general many times, but on this new computer I’m doing it on I’m repeatedly running into a problem that I just can’t figure out how to solve. I’m installing it onto the SSD, and it’s able to create the fat32 partition, but then completely fails once it gets to the ext4 partition. Here’s the relevant log:

13:28:35 [8]: [JOBQUEUE]: Progress Overall:  15.625 % (accumulated) +  3.125 % (this job) =  18.75 % (total) 
13:28:35 [6]: virtual void Calamares::JobThread::run()
    Skipping non-emergency job "Create new 17545MiB partition on /dev/md126 (md126) with file system linuxswap." 
13:28:35 [6]: virtual void Calamares::JobThread::run()
    Skipping non-emergency job "Set partition information" 
13:28:35 [6]: virtual void Calamares::JobThread::run()
    Skipping non-emergency job "mount" 
13:28:35 [6]: virtual void Calamares::JobThread::run()
    Skipping non-emergency job "pacstrap" 
13:28:35 [6]: virtual void Calamares::JobThread::run()
    Skipping non-emergency job "get_root_username" 
13:28:35 [6]: virtual void Calamares::JobThread::run()
    Skipping non-emergency job "Generate machine-id." 
13:28:35 [6]: virtual void Calamares::JobThread::run()
    Skipping non-emergency job "fstab" 
13:28:35 [6]: virtual void Calamares::JobThread::run()
    Skipping non-emergency job "Set timezone to America/New_York" 
13:28:35 [6]: virtual void Calamares::JobThread::run()
    Skipping non-emergency job "Set keyboard model to pc105, layout to us-" 
13:28:35 [6]: virtual void Calamares::JobThread::run()
    Skipping non-emergency job "localecfg" 
13:28:35 [6]: virtual void Calamares::JobThread::run()
    Skipping non-emergency job "networkcfg" 
13:28:35 [6]: virtual void Calamares::JobThread::run()
    Skipping non-emergency job "packages" 
13:28:35 [6]: virtual void Calamares::JobThread::run()
    Skipping non-emergency job "Configuring LUKS key file." 
13:28:35 [6]: virtual void Calamares::JobThread::run()
    Skipping non-emergency job "luksopenswaphookcfg" 
13:28:35 [6]: virtual void Calamares::JobThread::run()
    Skipping non-emergency job "initcpiocfg" 
13:28:35 [6]: virtual void Calamares::JobThread::run()
    Skipping non-emergency job "Creating initramfs with mkinitcpio." 
13:28:35 [6]: virtual void Calamares::JobThread::run()
    Skipping non-emergency job "Create user killbotvii" 
13:28:35 [6]: virtual void Calamares::JobThread::run()
    Skipping non-emergency job "Set password for user killbotvii" 
13:28:35 [6]: virtual void Calamares::JobThread::run()
    Skipping non-emergency job "Set password for user root" 
13:28:35 [6]: virtual void Calamares::JobThread::run()
    Skipping non-emergency job "Set hostname killbotvii-gaminglaptop" 
13:28:35 [6]: virtual void Calamares::JobThread::run()
    Skipping non-emergency job "hwclock" 
13:28:35 [6]: virtual void Calamares::JobThread::run()
    Skipping non-emergency job "displaymanager" 
13:28:35 [6]: virtual void Calamares::JobThread::run()
    Skipping non-emergency job "grubcfg" 
13:28:35 [6]: virtual void Calamares::JobThread::run()
    Skipping non-emergency job "bootloader" 
13:28:35 [6]: virtual void Calamares::JobThread::run()
    Skipping non-emergency job "Shell Processes Job" 
13:28:35 [6]: virtual void Calamares::JobThread::run()
    Skipping non-emergency job "umount" 
13:28:35 [1]: void Calamares::ViewManager::onInstallationFailed(const QString&, const QString&)
    ERROR:Installation failed: 
13:28:35 [6]: void Calamares::ViewManager::onInstallationFailed(const QString&, const QString&)
    - message: "The installer failed to create partition on disk 'md126'." 
13:28:35 [6]: void Calamares::ViewManager::onInstallationFailed(const QString&, const QString&)
    - details: "==========================================================================================\nCreate a new partition (221.05 GiB, ext4) on ‘/dev/md126’\n==========================================================================================\n==========================================================================================\nJob: Create new partition on device ‘/dev/md126’\n==========================================================================================\n==========================================================================================\nCommand: sfdisk --force --append /dev/md126\n==========================================================================================\nFailed to add partition ‘New Partition’ to device ‘/dev/md126’.\n\nFailed to add partition ‘New Partition’ to device ‘/dev/md126’.\n\n" 
13:28:35 [6]: void Calamares::ViewManager::onInstallationFailed(const QString&, const QString&)
    Calamares will quit when the dialog closes. 
13:28:35 [8]: QML Component (default slideshow) deactivated
13:28:35 [6]: void FinishedPage::setUpRestart()
    FinishedPage::setUpRestart(), Quit button setup= "never" command= "systemctl -i reboot"

I’ve tried everything I could think of, even changing the partition table to msdos and then having the installer set it back, and nothing has made a difference.

The first thing I wonder is what this refers to? Not a designator I’ve seen before.

Beyond that, I’m not the guy for what going on in Calamares, but I know I would just set up the partitions beforehand in GParted, and just use the manual install option to set mount points. While it doesn’t fix the problem, it gets you up and running! (probably :grin: )

1 Like

/dev/md126 is the designator for my SSD. I know it’s weird. It’s actually two SSDs that the system on a bios level sees as one.

Anyway, I did just try doing it manually and I got the exact same error.

Hi @killbotvii,

So you are trying to install onto a raid array? Can you return:

inxi -Fxxxza --no-host

lsblk

sudo parted -l

ComplicatedWildKitten-small

Thanks for the welcome!

[liveuser@eos-2020.07.15 ~]$ inxi -Fxxxza --no-host
bash: inxi: command not found
[liveuser@eos-2020.07.15 ~]$ lsblk
NAME    MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
loop0     7:0    0   1.7G  1 loop  /run/archiso/sfs/airootfs
sda       8:0    0 119.2G  0 disk  
└─md126   9:126  0 238.5G  0 raid0 
sdb       8:16   0 119.2G  0 disk  
└─md126   9:126  0 238.5G  0 raid0 
sdc       8:32   0 931.5G  0 disk  
└─sdc1    8:33   0 815.2G  0 part  
sdd       8:48   1  14.6G  0 disk  
├─sdd1    8:49   1   1.8G  0 part  /run/archiso/bootmnt
└─sdd2    8:50   1    64M  0 part  
[liveuser@eos-2020.07.15 ~]$ sudo parted -l
Error: Invalid argument during seek for read on /dev/sda
Retry/Ignore/Cancel? retry
Error: Invalid argument during seek for read on /dev/sda
Retry/Ignore/Cancel? ignore                                               
Error: The backup GPT table is corrupt, but the primary appears OK, so that will be used.
OK/Cancel? ok                                                             
Model: ATA LITEON CV1-8B128 (scsi)
Disk /dev/sda: 128GB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags: 

Error: /dev/sdb: unrecognised disk label
Model: ATA LITEON CV1-8B128 (scsi)                                        
Disk /dev/sdb: 128GB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags: 

Model: ATA HGST HTS721010A9 (scsi)
Disk /dev/sdc: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: 

Number  Start   End    Size   File system  Name                  Flags
 1      1049kB  875GB  875GB  ntfs         Basic data partition  msftdata


Model: General USB Flash Disk (scsi)
Disk /dev/sdd: 15.6GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 2      84.0kB  67.2MB  67.1MB  primary  fat16        esp


Model: Linux Software RAID Array (md)
Disk /dev/md126: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start  End  Size  File system  Name  Flags


Looks like you need to install inxi. It is in the repos.

Oh. Duh, sorry!

[liveuser@eos-2020.07.15 ~]$ inxi -Fxxxza --no-host
System:    Kernel: 5.7.8-arch1-1 x86_64 bits: 64 compiler: gcc v: 10.1.0 
           parameters: initrd=\EFI\archiso\intel_ucode.img initrd=\EFI\archiso\amd_ucode.img 
           initrd=\EFI\archiso\archiso.img archisobasedir=arch cow_spacesize=10G 
           archisolabel=ENDEAVOUROS earlymodules=loop modules-load=loop rd.modules-load=loop 
           nvidia nouveau.modeset=0 nouveau.blacklist=yes modprobe.blacklist=nouveau 
           i915.modeset=1 radeon.modeset=1 
           Desktop: Xfce 4.14.2 tk: Gtk 3.24.20 info: xfce4-panel wm: xfwm4 dm: LightDM 1.30.0 
           Distro: EndeavourOS 2020.07.15 
Machine:   Type: Laptop System: Acer product: Predator G9-793 v: V1.13 serial: <filter> Chassis: 
           type: 10 serial: <filter> 
           Mobo: Acer model: Challenger2_SKS v: V1.13 serial: <filter> UEFI: Insyde v: 1.13 
           date: 12/04/2017 
Battery:   ID-1: BAT0 charge: 90.0 Wh condition: 90.0/90.0 Wh (100%) volts: 16.7/14.8 
           model: AS15B3N type: Li-ion serial: N/A status: Full 
CPU:       Topology: Quad Core model: Intel Core i7-7700HQ bits: 64 type: MT MCP arch: Kaby Lake 
           family: 6 model-id: 9E (158) stepping: 9 microcode: D6 L2 cache: 6144 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 44817 
           Speed: 800 MHz min/max: 800/3800 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800 
           5: 800 6: 800 7: 800 8: 800 
           Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages 
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
           Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
           Type: meltdown mitigation: PTI 
           Type: spec_store_bypass 
           mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, 
           STIBP: conditional, RSB filling 
           Type: srbds mitigation: Microcode 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: NVIDIA GP104BM [GeForce GTX 1070 Mobile] vendor: Acer Incorporated ALI 
           driver: nvidia v: 450.57 bus ID: 01:00.0 chip ID: 10de:1be1 
           Device-2: Realtek HD WebCam type: USB driver: uvcvideo bus ID: 1-9:4 
           chip ID: 0bda:57f3 serial: <filter> 
           Display: server: X.Org 1.20.8 compositor: xcompmgr driver: nvidia 
           unloaded: fbdev,modesetting,vesa alternate: nouveau,nv display ID: :0.0 screens: 1 
           Screen-1: 0 s-res: 1920x1080 s-dpi: 128 s-size: 381x211mm (15.0x8.3") 
           s-diag: 436mm (17.1") 
           Monitor-1: DP-4 res: 1920x1080 hz: 75 dpi: 128 size: 382x215mm (15.0x8.5") 
           diag: 438mm (17.3") 
           Message: Unable to show advanced data. Required tool glxinfo missing. 
Audio:     Device-1: Intel CM238 HD Audio vendor: Acer Incorporated ALI driver: snd_hda_intel 
           v: kernel bus ID: 00:1f.3 chip ID: 8086:a171 
           Device-2: NVIDIA GP104 High Definition Audio vendor: Acer Incorporated ALI 
           driver: snd_hda_intel v: kernel bus ID: 01:00.1 chip ID: 10de:10f0 
           Sound Server: ALSA v: k5.7.8-arch1-1 
Network:   Device-1: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter 
           vendor: Bigfoot Networks driver: ath10k_pci v: kernel port: 4000 bus ID: 02:00.0 
           chip ID: 168c:003e 
           IF: wlan0 state: up mac: <filter> 
           Device-2: Qualcomm Atheros Killer E2400 Gigabit Ethernet 
           vendor: Acer Incorporated ALI driver: alx v: kernel port: 3000 bus ID: 03:00.0 
           chip ID: 1969:e0a1 
           IF: enp3s0 state: down mac: <filter> 
           Device-3: Qualcomm Atheros type: USB driver: btusb bus ID: 1-7:3 chip ID: 0cf3:e300 
Drives:    Local Storage: total: 1.16 TiB used: 83.7 MiB (0.0%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/sda vendor: LITE-ON model: CV1-8B128 size: 119.24 GiB block size: 
           physical: 512 B logical: 512 B speed: 6.0 Gb/s serial: <filter> rev: 201 
           ID-2: /dev/sdb vendor: LITE-ON model: CV1-8B128 size: 119.24 GiB block size: 
           physical: 512 B logical: 512 B speed: 6.0 Gb/s serial: <filter> rev: 201 
           ID-3: /dev/sdc vendor: HGST (Hitachi) model: HTS721010A9E630 size: 931.51 GiB 
           block size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s rotation: 7200 rpm 
           serial: <filter> rev: A3J0 scheme: GPT 
           ID-4: /dev/sdd type: USB model: General USB Flash Disk size: 14.55 GiB block size: 
           physical: 512 B logical: 512 B serial: <filter> rev: 1100 scheme: MBR 
           SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure? 
RAID:      Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci v: 3.0 
           port: 5020 bus ID: 00:17.0 chip ID: 8086.282a rev: 31 
           Supported md-raid types: raid0 
           Device-1: md126 type: mdraid status: active Components: online: sda~c1 sdb~c0 
           Info: raid: raid-0 blocks: 250064896 report: N/A chunk size: 128k 
           Device-2: md127 type: mdraid status: inactive Components: online: N/A spare: sda~c0 
           Info: raid: sdb[1](S) blocks: 4784 report: N/A chunk size: N/A 
Partition: ID-1: / raw size: N/A size: 10.00 GiB used: 83.7 MiB (0.8%) fs: overlay 
           source: ERR-102 
Swap:      Alert: No Swap data was found. 
Sensors:   System Temperatures: cpu: 51.0 C mobo: N/A gpu: nvidia temp: 45 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 252 Uptime: 22m Memory: 15.58 GiB used: 1.52 GiB (9.8%) Init: systemd 
           v: 245 target: multi-user.target Compilers: gcc: 10.1.0 Packages: pacman: 869 
           lib: 192 Shell: Bash v: 5.0.17 running in: xfce4-terminal inxi: 3.1.04 

So it appears you are trying to install to a raid0 array.

While it is possible to do this it is not easy. arch linux isn’t very fond of hardware raid. It would be easier to use three drives. A smaller drive for your /boot/efi, /, and swap partitions and then i could explain how to set up the two ssd’s in RAID0 using btrfs for a separate /home partition.

That sounds exciting! I’m always wanting to learn more stuff, so if you can teach me how to do that, I’d love to do it!

Sure have a read over here. Read the thread and the links therein it’s quite interesting. I should warn you using BTRFS raid requires a solid backup strategy.

3 Likes

Hey there, been a couple days. I’ve studied the guide linked as the answer in that thread a fair bit and it seems like it’s pretty easy to follow. One problem is that I’m unsure how to disable the hardware raid for my system for this to work. It also seems like the guide itself is using RAID 1 and not 0, so you’re saying that you

could explain how to set up the two ssd’s in RAID0 using btrfs for a separate /home partition.

Meaning that you will explain how to make it 0 instead of 1? I’m reading that correct, right? Sorry that I’m a little confused.

1 Like

Just change the 1 and replace with 0. You disable hardware raid in bios in accordance with your hardware manual.

1 Like

Unfortunately, it seems that I’ve hit a wall. Acer seems to make it next to impossible to disable it. All the scant forum posts I’ve seen that do reference RAID 0 seem to mention this Windows program from Intel that I can’t use because I’ve already got rid of Windows and probably isn’t even relevant anyway. I’m not sure what to do now.

I had a look in their forums and agree with you they don’t provide a way to remove the raid. The only thing I can think of is to try using gparted in the live iso to format the drives separately and see if the installer picks up 2 instead of one raided. If you really are stuck with hardware raid you will need someone that knows more than I unfortunately as it can be done but is really involved.

It seems that the drives are formatted as “ataraid” and gparted refuses to let me do anything to them individually.

EDIT: Is this useful in any way? https://daniel.perez.sh/blog/2013/archlinux-raid/

@killbotvii
May i ask what is the hardware? Acer model?

It’s on his inxi

Oh sorry i missed the post. :upside_down_face:

2 Likes

@killbotvii
These laptops are setup using IRST Intel Rapid Storage Technology for Windows. I see the drives are set up as Raid 0.

There is a software tool available from Acer that you can download to remove the raid array. I’m not sure if you have removed Windows whether you can boot up on a windows 10 installation ISO which you can put on a usb and use the tool? You would have to try it. I’m just not sure if linux will install even using fake raid without removing the raid array first?

Edit: Maybe this will work without having to remove the Raid Array? I would try.
https://daniel.perez.sh/blog/2013/archlinux-raid/

2 Likes

I linked to that very site if you scroll up to my previous post lol. I was asking if that would be useful. Is it relevant here?