# pacman-Syu killed my OS

**URL:** <https://forum.endeavouros.com/t/pacman-syu-killed-my-os/47605>\
**Category:** Newbie\
**Created:** [November 7, 2023, 3:51pm UTC](https://forum.endeavouros.com/t/pacman-syu-killed-my-os/47605 "2023-11-07T15:51:26Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adominious](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/ea5d25/32.png) [@Adominious](https://forum.endeavouros.com/u/Adominious)\
**Post date:** [November 7, 2023, 3:51pm UTC](https://forum.endeavouros.com/t/pacman-syu-killed-my-os/47605/1 "2023-11-07T15:51:26Z")

</div>

Hi everyone, I recently ran the command

pacman -Syu

and now I have the following pop up after I rebooted. Please help.

 ![image](https://forum.endeavouros.com/uploads/default/original/3X/0/f/0fba2d6ce7f3502a232f13d30761d2a14930758a.jpeg)

---

<div class="post-metadata">

**Author:** ![vlkon](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/v/35a633/32.png) [@vlkon](https://forum.endeavouros.com/u/vlkon)\
**Post date:** [November 7, 2023, 5:58pm UTC](https://forum.endeavouros.com/t/pacman-syu-killed-my-os/47605/2 "2023-11-07T17:58:34Z")

</div>

Perhaps try to switch to a differnet tty Alt+F3 (or Ctrl+Alt+F3), log in and try to find last pacman log `/var/log/pacman.log`. It is a large file but somewhere at the end should be output of the last update. Maybe there is some error that could explain what happened during the update.

---

<div class="post-metadata">

**Author:** ![drunkenvicar](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/drunkenvicar/32/112222_2.png) [@drunkenvicar](https://forum.endeavouros.com/u/drunkenvicar)\
**Post date:** [November 7, 2023, 9:00pm UTC](https://forum.endeavouros.com/t/pacman-syu-killed-my-os/47605/3 "2023-11-07T21:00:25Z")

</div>

if you have two display managers then this would make sense that something borked (the red output at the end).  
if network manager is borked then you should be able to boot so that’s a head-scratcher.

your fine print is saying but it wants you to go into `systemctl` and turn all this stuff back on (restart, enable, whatever) implying something disabled these services. that’s how I see it. have a bunch of `systemctl` commands in a text doc somewhere.

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [November 7, 2023, 9:05pm UTC](https://forum.endeavouros.com/t/pacman-syu-killed-my-os/47605/4 "2023-11-07T21:05:53Z")

</div>

I just found a similar “error message” reported by another user on the forum.

Not saying that this may be the issue in your case but leave the link here anyway as a FYI/FWIW:

> [@System wont boot, stuck at "Notify about reboot on special conditions"](https://forum.endeavouros.com/t/system-wont-boot-stuck-at-notify-about-reboot-on-special-conditions/45569):
>
> Before going to sleep i runned bleachbit(overwrite empty space) and also updated my system. Now today when i awaked up my system is stuck at the boot screen in the “notify about reboot on special conditions” check. What should i do?

---

<div class="post-metadata">

**Author:** ![Adominious](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/ea5d25/32.png) [@Adominious](https://forum.endeavouros.com/u/Adominious)\
**Post date:** [November 10, 2023, 12:26pm UTC](https://forum.endeavouros.com/t/pacman-syu-killed-my-os/47605/5 "2023-11-10T12:26:17Z")

</div>

I have found the pacman.log, last few lines are shown below:

 ![image](https://forum.endeavouros.com/uploads/default/original/3X/b/2/b25d04a0a7e7933c72b40ff6ff0a829c156dc26b.jpeg)

---

<div class="post-metadata">

**Author:** ![Adominious](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/ea5d25/32.png) [@Adominious](https://forum.endeavouros.com/u/Adominious)\
**Post date:** [November 10, 2023, 12:35pm UTC](https://forum.endeavouros.com/t/pacman-syu-killed-my-os/47605/6 "2023-11-10T12:35:09Z")

</div>

As a follow up, I tried running

systemctl start NetworkManager.service

and received the following

 ![image](https://forum.endeavouros.com/uploads/default/original/3X/8/6/86e85c6074e50ea667cff8325de1c5082bf6e8c1.jpeg)

All other systemctl commands give a similar output.

Looking into the file that has the invalid ELF header, I have the following. I don’t fully understand this, but it’s a lot of @ and ^, and occasional A, D, P, E and small black boxes:

 ![image](https://forum.endeavouros.com/uploads/default/original/3X/b/9/b9784917577c5a4d54b83f076416be55a5eae8d9.jpeg)

---

<div class="post-metadata">

**Author:** ![BendTheKnee](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/bendtheknee/32/116966_2.png) [@BendTheKnee](https://forum.endeavouros.com/u/BendTheKnee)\
**Post date:** [November 10, 2023, 1:02pm UTC](https://forum.endeavouros.com/t/pacman-syu-killed-my-os/47605/7 "2023-11-10T13:02:18Z")

</div>

I see an error there is no space left on device. What’s the output of `df -h`

---

<div class="post-metadata">

**Author:** ![spsf64](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/spsf64/32/58346_2.png) [@spsf64](https://forum.endeavouros.com/u/spsf64)\
**Post date:** [November 10, 2023, 1:16pm UTC](https://forum.endeavouros.com/t/pacman-syu-killed-my-os/47605/8 "2023-11-10T13:16:54Z")

</div>

Agreed, disk full

---

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/77608_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [November 10, 2023, 1:27pm UTC](https://forum.endeavouros.com/t/pacman-syu-killed-my-os/47605/9 "2023-11-10T13:27:42Z")

</div>

![2023-11-10_14-25](https://forum.endeavouros.com/uploads/default/original/3X/d/d/dd41805b56ef8683f3a0059f559c256835499a1e.png)  
ESP (fat32 efi/uefi partition) is full will leave you with unfinished intitramfs images.  
i would go booting ISO (installer) and arch-chroot to solve space issue and rerun initram generation…

---

<div class="post-metadata">

**Author:** ![Adominious](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/ea5d25/32.png) [@Adominious](https://forum.endeavouros.com/u/Adominious)\
**Post date:** [November 10, 2023, 2:58pm UTC](https://forum.endeavouros.com/t/pacman-syu-killed-my-os/47605/10 "2023-11-10T14:58:42Z")

</div>

Apologies that I am very new to all this.

I am trying adjust the size of my root directory, but every time I try adjust the size it reverts. How do I bypass this?

 ![image](https://forum.endeavouros.com/uploads/default/original/3X/c/2/c2aba4e440551164bbe5bd0802e227e34650c9eb.jpeg)

Update: deleting my home directory lets me increase the size of my root. But I don’t want to delete my home directory.

---

<div class="post-metadata">

**Author:** ![BendTheKnee](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/bendtheknee/32/116966_2.png) [@BendTheKnee](https://forum.endeavouros.com/u/BendTheKnee)\
**Post date:** [November 10, 2023, 5:21pm UTC](https://forum.endeavouros.com/t/pacman-syu-killed-my-os/47605/11 "2023-11-10T17:21:36Z")

</div>

Dude you are running the installer. If you don’t want to do a fresh install just run gparted from the live ISO.

[https://gparted.org/display-doc.php?name=moving-space-between-partitions](https://gparted.org/display-doc.php?name=moving-space-between-partitions)

---

<div class="post-metadata">

**Author:** ![toxinger](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/toxinger/32/84635_2.png) [@toxinger](https://forum.endeavouros.com/u/toxinger)\
**Post date:** [November 14, 2023, 12:02pm UTC](https://forum.endeavouros.com/t/pacman-syu-killed-my-os/47605/12 "2023-11-14T12:02:48Z")

</div>

I would say that 20GB is rather small for /root, don’t forget that most of your apps will get installed there, /home is mostly for all your documents, downloads, photos and videos

---

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/77608_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [November 16, 2023, 12:49am UTC](https://forum.endeavouros.com/t/pacman-syu-killed-my-os/47605/13 "2023-11-16T00:49:16Z")

</div>

indeed do not use system installer to change partitions… it will only apply the changes when installing the OS… use gparted from the menu or welcome…

---

<div class="post-metadata">

**Author:** ![BenjB83](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/b/3ec8ea/32.png) [@BenjB83](https://forum.endeavouros.com/u/BenjB83)\
**Post date:** [November 16, 2023, 1:36am UTC](https://forum.endeavouros.com/t/pacman-syu-killed-my-os/47605/14 "2023-11-16T01:36:54Z")

</div>

Run gparted from the welcome menu… Increase your root to 80 or even 100 GB.

You can either use the unallocated space at the end, after home, or you can shrink your home partition at the beginning about 60 GB and then extend it at the end for the size of the unallocated space.

For the future, you might want to consider install timeshift and timeshift-autosnap. The latter will create a backup before installing software or updates. Will make it take longer, because the backup has to be created and takes some extra space because the backup has to be stored somewhere, but this way you can always roll back if something goes wrong.
