0

I'm trying to install Ubuntu Desktop 25.04, but it consistently throws an error. I've attached a screenshot showing the stage it reaches before freezing.

enter image description here

I've tried a few things:

  • Verified the ISO (multiple times, on multiple downloads)
  • Run chckdsk on both the USB drive and the SSD I'm trying to install to - no errors.
  • Tried installing from different USB drives.
  • Tried various partition settings, from erasing the disk and letting the installer choose what to do, to manually setting boot/swap/root/home partions. No change in the error.
  • Installed Ubuntu Desktop 24.04 from the same USB onto the same SSD. Installed without any issues.

Anybody got any ideas what might be causing the errors?

EDIT: Fair point about some of this information - I should have put it in the post in the first place:

  • This is installing to hardware, not a VM.
  • I've downloaded the latest version of the 25.04 ISO multiple times, and the SHA256 hash has matched every time.
  • I've used both Rufus 4.7 and Ventoy 1.1.05 to burn the ISO to both USB drives at various attempts. Running in Windows 11 24H2.

Second EDIT: Memtest has found a load of errors, which is surprising since nothing else has been complaining or crashing, only the Ubuntu 25.04 installer. Luckily, it's a weekend and there's bound to be a sale on. I'll buy some new RAM tomorrow and see if it makes a difference.

Final EDIT: New RAM bought and 25.04 now installs without an issue. Thanks for the pointers, everyone.

Just in case it's useful, this is the last couple of hundred or so lines of dmesg after the installer freezes:

    [   29.180014] logitech-hidpp-device 0003:046D:4074.0009: HID++ 4.2 device connected.
[   29.861509] ZFS: Loaded module v2.3.1-1ubuntu1, ZFS pool version 5000, ZFS filesystem version 5
[   29.861511] ZFS: Using ZFS with kernel 6.14.0-15-generic is EXPERIMENTAL and SERIOUS DATA LOSS may occur!
[   29.861512] ZFS: Please report your results at: https://github.com/openzfs/zfs/issues/new
[   29.907828] loop3: detected capacity change from 0 to 135624
[   29.908020] loop4: detected capacity change from 0 to 24064
[   29.908162] loop5: detected capacity change from 0 to 151320
[   29.908293] loop6: detected capacity change from 0 to 8
[   29.908555] loop7: detected capacity change from 0 to 495608
[   29.926156] loop8: detected capacity change from 0 to 430400
[   29.926293] loop9: detected capacity change from 0 to 1056784
[   29.926391] loop10: detected capacity change from 0 to 22800
[   29.930766] loop11: detected capacity change from 0 to 224440
[   29.931127] loop13: detected capacity change from 0 to 1136
[   29.931362] loop12: detected capacity change from 0 to 29528
[   29.931429] loop16: detected capacity change from 0 to 187776
[   29.931468] loop14: detected capacity change from 0 to 91024
[   29.931517] loop15: detected capacity change from 0 to 22176
[   31.060535] audit: type=1400 audit(1748749727.604:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="snap-update-ns.ubuntu-desktop-bootstrap" pid=2203 comm="apparmor_parser"
[   31.131303] audit: type=1400 audit(1748749727.675:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/snap/snapd/23771/usr/lib/snapd/snap-confine" pid=2195 comm="apparmor_parser"
[   31.131840] audit: type=1400 audit(1748749727.675:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/snap/snapd/23771/usr/lib/snapd/snap-confine//mount-namespace-capture-helper" pid=2195 comm="apparmor_parser"
[   31.207872] audit: type=1400 audit(1748749727.751:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="snap.firefox.hook.post-refresh" pid=2211 comm="apparmor_parser"
[   31.231300] audit: type=1400 audit(1748749727.775:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="snap.firefox.hook.install" pid=2210 comm="apparmor_parser"
[   31.232995] audit: type=1400 audit(1748749727.777:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="snap.firefox.hook.disconnect-plug-host-hunspell" pid=2209 comm="apparmor_parser"
[   31.321517] audit: type=1400 audit(1748749727.865:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="snap.firmware-updater.hook.configure" pid=2215 comm="apparmor_parser"
[   31.329238] audit: type=1400 audit(1748749727.873:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="snap.firefox.hook.configure" pid=2208 comm="apparmor_parser"
[   31.361338] audit: type=1400 audit(1748749727.905:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="snap.desktop-security-center.hook.configure" pid=2205 comm="apparmor_parser"
[   31.539238] audit: type=1400 audit(1748749728.083:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="snap.prompting-client.hook.configure" pid=2218 comm="apparmor_parser"
[   34.872463] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   34.872465] Bluetooth: BNEP filters: protocol multicast
[   34.872468] Bluetooth: BNEP socket layer initialized
[   34.904027] Bluetooth: MGMT ver 1.23
[   34.971604] NET: Registered PF_ALG protocol family
[   35.182363] Bluetooth: RFCOMM TTY layer initialized
[   35.182369] Bluetooth: RFCOMM socket layer initialized
[   35.182372] Bluetooth: RFCOMM ver 1.11
[   35.232489] nvme nvme0: using unchecked data buffer
[   35.708228] NET: Registered PF_QIPCRTR protocol family
[   35.772671] loop17: detected capacity change from 0 to 8
[   35.917872] Realtek Internal NBASE-T PHY r8169-0-600:00: attached PHY driver (mii_bus:phy_addr=r8169-0-600:00, irq=MAC)
[   36.077033] r8169 0000:06:00.0 enp6s0: Link is Down
[   36.138919] kauditd_printk_skb: 34 callbacks suppressed
[   36.138921] audit: type=1400 audit(1748749732.683:46): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/snap/snapd/23771/usr/lib/snapd/snap-confine" pid=2646 comm="apparmor_parser"
[   36.148150] audit: type=1400 audit(1748749732.692:47): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="/snap/snapd/23771/usr/lib/snapd/snap-confine//mount-namespace-capture-helper" pid=2646 comm="apparmor_parser"
[   36.334683] audit: type=1400 audit(1748749732.878:48): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.thunderbird.hook.install" pid=2670 comm="apparmor_parser"
[   36.388272] audit: type=1400 audit(1748749732.932:49): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.thunderbird.hook.configure" pid=2669 comm="apparmor_parser"
[   36.416047] audit: type=1400 audit(1748749732.960:50): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.snap-store.hook.configure" pid=2659 comm="apparmor_parser"
[   36.426666] audit: type=1400 audit(1748749732.970:51): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.prompting-client.hook.configure" pid=2665 comm="apparmor_parser"
[   36.428239] audit: type=1400 audit(1748749732.972:52): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap-update-ns.ubuntu-desktop-bootstrap" pid=2674 comm="apparmor_parser"
[   36.430376] audit: type=1400 audit(1748749732.974:53): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.firmware-updater.hook.configure" pid=2657 comm="apparmor_parser"
[   36.500694] audit: type=1400 audit(1748749733.044:54): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.thunderbird.hook.post-refresh" pid=2671 comm="apparmor_parser"
[   36.545060] audit: type=1400 audit(1748749733.089:55): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.prompting-client.daemon" pid=2663 comm="apparmor_parser"
[   39.650552] r8169 0000:06:00.0 enp6s0: Link is Up - 1Gbps/Full - flow control rx/tx
[   43.431666] kauditd_printk_skb: 31 callbacks suppressed
[   43.431668] audit: type=1400 audit(1748749739.975:87): apparmor="DENIED" operation="open" class="file" profile="snap-update-ns.firefox" name="/usr/local/share/" pid=2814 comm="snap-update-ns" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[   43.498664] audit: type=1400 audit(1748749740.042:88): apparmor="DENIED" operation="open" class="file" profile="snap.firefox.hook.install" name="/var/lib/snapd/hostfs/usr/share/hunspell/" pid=2828 comm="find" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[   49.738326] rfkill: input handler disabled
[   49.985661] audit: type=1400 audit(1748749746.529:89): apparmor="DENIED" operation="capable" class="cap" profile="/usr/lib/snapd/snap-confine" pid=3368 comm="snap-confine" capability=12  capname="net_admin"
[   49.985671] audit: type=1400 audit(1748749746.529:90): apparmor="DENIED" operation="capable" class="cap" profile="/usr/lib/snapd/snap-confine" pid=3368 comm="snap-confine" capability=38  capname="perfmon"
[   49.987853] audit: type=1400 audit(1748749746.531:91): apparmor="DENIED" operation="open" class="file" profile="snap-update-ns.prompting-client" name="/proc/3489/maps" pid=3489 comm="snap-update-ns" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[   56.087625] audit: type=1400 audit(1748749752.631:92): apparmor="DENIED" operation="capable" class="cap" profile="/usr/lib/snapd/snap-confine" pid=4003 comm="snap-confine" capability=12  capname="net_admin"
[   56.087636] audit: type=1400 audit(1748749752.631:93): apparmor="DENIED" operation="capable" class="cap" profile="/usr/lib/snapd/snap-confine" pid=4003 comm="snap-confine" capability=38  capname="perfmon"
[   56.088559] audit: type=1400 audit(1748749752.632:94): apparmor="DENIED" operation="capable" class="cap" profile="/usr/lib/snapd/snap-confine" pid=4003 comm="snap-confine" capability=4  capname="fsetid"
[   56.134927] audit: type=1400 audit(1748749752.679:95): apparmor="DENIED" operation="open" class="file" profile="snap-update-ns.snapd-desktop-integration" name="/proc/4048/maps" pid=4048 comm="snap-update-ns" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[   58.890662] audit: type=1400 audit(1748749755.434:96): apparmor="DENIED" operation="open" class="file" profile="snap.thunderbird.hook.install" name="/var/lib/snapd/hostfs/usr/share/hunspell/" pid=4246 comm="find" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[   67.245867] block nvme0n1: the capability attribute has been deprecated.
[   67.567739] SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled
[   67.609527] JFS: nTxBlock = 8192, nTxLock = 65536
[   67.653195] QNX4 filesystem 0.2.3 registered.
[   67.744075] Btrfs loaded, zoned=yes, fsverity=yes
[  120.531483] audit: type=1400 audit(1748749817.489:97): apparmor="DENIED" operation="change_onexec" class="file" info="label not found" error=-2 profile="unconfined" name="ubuntu_pro_apt_news" pid=5652 comm="(python3)"
[  120.535233] audit: type=1400 audit(1748749817.493:98): apparmor="DENIED" operation="change_onexec" class="file" info="label not found" error=-2 profile="unconfined" name="ubuntu_pro_esm_cache" pid=5653 comm="(python3)"
[  185.266010] audit: type=1400 audit(1748749882.225:99): apparmor="STATUS" operation="profile_load" profile="unconfined" name="ubuntu_pro_apt_news" pid=6518 comm="apparmor_parser"
[  185.397261] audit: type=1400 audit(1748749882.356:100): apparmor="STATUS" operation="profile_load" profile="unconfined" name="ubuntu_pro_esm_cache" pid=6521 comm="apparmor_parser"
[  185.397795] audit: type=1400 audit(1748749882.357:101): apparmor="STATUS" operation="profile_load" profile="unconfined" name="ubuntu_pro_esm_cache//apt_methods" pid=6521 comm="apparmor_parser"
[  185.398392] audit: type=1400 audit(1748749882.357:102): apparmor="STATUS" operation="profile_load" profile="unconfined" name="ubuntu_pro_esm_cache//apt_methods_gpgv" pid=6521 comm="apparmor_parser"
[  185.399089] audit: type=1400 audit(1748749882.358:103): apparmor="STATUS" operation="profile_load" profile="unconfined" name="ubuntu_pro_esm_cache//cloud_id" pid=6521 comm="apparmor_parser"
[  185.399322] audit: type=1400 audit(1748749882.358:104): apparmor="STATUS" operation="profile_load" profile="unconfined" name="ubuntu_pro_esm_cache//dpkg" pid=6521 comm="apparmor_parser"
[  185.399779] audit: type=1400 audit(1748749882.358:105): apparmor="STATUS" operation="profile_load" profile="unconfined" name="ubuntu_pro_esm_cache//ps" pid=6521 comm="apparmor_parser"
[  185.400111] audit: type=1400 audit(1748749882.359:106): apparmor="STATUS" operation="profile_load" profile="unconfined" name="ubuntu_pro_esm_cache//ubuntu_distro_info" pid=6521 comm="apparmor_parser"
[  185.400368] audit: type=1400 audit(1748749882.359:107): apparmor="STATUS" operation="profile_load" profile="unconfined" name="ubuntu_pro_esm_cache_systemctl" pid=6521 comm="apparmor_parser"
[  185.400646] audit: type=1400 audit(1748749882.359:108): apparmor="STATUS" operation="profile_load" profile="unconfined" name="ubuntu_pro_esm_cache_systemd_detect_virt" pid=6521 comm="apparmor_parser"
[  244.616326] audit: type=1400 audit(1748749941.576:109): apparmor="DENIED" operation="capable" class="cap" profile="/usr/lib/snapd/snap-confine" pid=7502 comm="snap-confine" capability=12  capname="net_admin"
[  244.616334] audit: type=1400 audit(1748749941.576:110): apparmor="DENIED" operation="capable" class="cap" profile="/usr/lib/snapd/snap-confine" pid=7502 comm="snap-confine" capability=38  capname="perfmon"
[  244.619054] audit: type=1400 audit(1748749941.579:111): apparmor="DENIED" operation="open" class="file" profile="snap-update-ns.firefox" name="/proc/7523/maps" pid=7523 comm="snap-update-ns" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[  248.452668] audit: type=1107 audit(1748749945.412:112): pid=2244 uid=995 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/timedate1" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.103" pid=7502 label="snap.firefox.firefox" peer_pid=7701 peer_label="unconfined"
                exe="/usr/bin/dbus-daemon" sauid=995 hostname=? addr=? terminal=?'
[  248.452896] audit: type=1107 audit(1748749945.413:113): pid=2244 uid=995 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/timedate1" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.103" pid=7502 label="snap.firefox.firefox" peer_pid=7701 peer_label="unconfined"
                exe="/usr/bin/dbus-daemon" sauid=995 hostname=? addr=? terminal=?'
[  574.768254] loop17: detected capacity change from 0 to 895080
[  574.771283] loop18: detected capacity change from 0 to 4176
[  574.773300] overlayfs: "xino" feature enabled using 3 upper inode bits.
[  624.160923] loop17: detected capacity change from 0 to 30368
[  624.164267] overlayfs: "xino" feature enabled using 3 upper inode bits.
[  624.186478] overlayfs: fs on '/tmp/tmpenu28jir/root.dir' does not support file handles, falling back to xino=off.
[  626.530763] overlayfs: "xino" feature enabled using 3 upper inode bits.
[  626.551506] overlayfs: fs on '/tmp/tmpokqnfjcc/root.dir' does not support file handles, falling back to xino=off.
[  627.162162] overlayfs: fs on '/tmp/tmpokqnfjcc/root.dir' does not support file handles, falling back to xino=off.
[  627.162165] overlayfs: lowerdir is in-use as upperdir/workdir of another mount, accessing files from both mounts will result in undefined behavior.
[  634.617231] overlayfs: fs on '/tmp/tmpokqnfjcc/root.dir' does not support file handles, falling back to xino=off.
[  634.617235] overlayfs: lowerdir is in-use as upperdir/workdir of another mount, accessing files from both mounts will result in undefined behavior.
[  634.617237] overlayfs: lowerdir is in-use as upperdir/workdir of another mount, accessing files from both mounts will result in undefined behavior.
[  634.617540] overlayfs: fs on '/tmp/tmpokqnfjcc/root.dir' does not support file handles, falling back to xino=off.
[  634.617545] overlayfs: lowerdir is in-use as upperdir/workdir of another mount, accessing files from both mounts will result in undefined behavior.
[  634.617549] overlayfs: lowerdir is in-use as upperdir/workdir of another mount, accessing files from both mounts will result in undefined behavior.
[  636.197178]  nvme1n1: p1 p2
[  636.244142]  nvme1n1: p1 p2
[  636.286276]  nvme1n1: p1 p2
[  636.330799]  nvme1n1: p1 p2
[  636.371227]  nvme1n1: p1 p2
[  636.781361]  nvme1n1: p1 p2
[  636.800833]  nvme1n1: p1 p2
[  636.859560]  nvme1n1: p1 p2
[  636.896612]  nvme1n1: p1 p2
[  636.942498]  nvme1n1: p1 p2
[  636.975404]  nvme1n1: p1 p2
[  637.029434]  nvme1n1: p1 p2
[  637.080551]  nvme1n1: p1 p2
[  637.118482]  nvme1n1: p1 p2
[  637.153798]  nvme1n1: p1 p2
[  637.259873]  nvme1n1: p1 p2
[  637.295440]  nvme1n1: p1 p2
[  637.339369]  nvme1n1: p1 p2
[  637.371775]  nvme1n1: p1 p2
[  638.255043]  nvme1n1: p1 p2
[  638.297174]  nvme1n1: p1 p2
[  638.337851] EXT4-fs (nvme1n1p2): mounted filesystem 8385d0f5-60bc-40bf-aefb-8f45507509da r/w with ordered data mode. Quota mode: none.
[  698.160328] SQUASHFS error: xz decompression failed, data probably corrupt
[  698.160334] SQUASHFS error: Failed to read block 0x8fdca450: -5
[  698.208953] SQUASHFS error: xz decompression failed, data probably corrupt
[  698.208961] SQUASHFS error: Failed to read block 0x8fdca450: -5
[  699.046137] SQUASHFS error: xz decompression failed, data probably corrupt
[  699.046143] SQUASHFS error: Failed to read block 0x90fd5478: -5
[  699.081445] SQUASHFS error: xz decompression failed, data probably corrupt
[  699.081450] SQUASHFS error: Failed to read block 0x90fd5478: -5
[ 1033.235955] ntfs3: Enabled Linux POSIX ACLs support
[ 1033.235957] ntfs3: Read-only LZX/Xpress compression included

ubuntu@ubuntu:~$

Patch
  • 1
  • 1

0 Answers0