# Problems with chrooting

**URL:** <https://forum.endeavouros.com/t/problems-with-chrooting/49698>\
**Category:** Newbie\
**Created:** [January 5, 2024, 10:23am UTC](https://forum.endeavouros.com/t/problems-with-chrooting/49698 "2024-01-05T10:23:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![chief\_henry223](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/c/e8c25b/32.png) [@chief\_henry223](https://forum.endeavouros.com/u/chief_henry223)\
**Post date:** [January 5, 2024, 10:23am UTC](https://forum.endeavouros.com/t/problems-with-chrooting/49698/1 "2024-01-05T10:23:40Z")

</div>

Yesterday my laptop ran out of battery while I was working, and I can’t remember if I was doing an update or not (most probably yes).  
Now I can’t boot into my system so I’m trying to follow [this post](https://forum.endeavouros.com/t/error-file-boot-initramfs-linux-img-not-found/7280) and I have logged into my root partition. I did not mount any efi or boot partition 'cause they weren’t indicated by the `lsblk` command, it just listed the partitions without telling me what they where. I know the root partition because is the largest in my system.  
Now the other problems:  
`pacman -Syyu` outputs

```auto
failed to synchonize all databases (invalid url for server)

```

and `failed retrieving file xyz.db from mirrorlist.xyz.de: could not resolve host mirrorlist.xyz.de`

I tried reinstalling the keyrings, but did not work. Then I tried using directly `mkinitcpio -p linux`, but `command not found`.

Any help on how to solve these problems?

UPDATE: updating solved by simply logging in and out

---

<div class="post-metadata">

**Author:** ![thefrog](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/thefrog/32/114250_2.png) [@thefrog](https://forum.endeavouros.com/u/thefrog)\
**Post date:** [January 5, 2024, 10:40am UTC](https://forum.endeavouros.com/t/problems-with-chrooting/49698/2 "2024-01-05T10:40:08Z")

</div>

try  
`lsblk -f`  
this should show more information about each device as to mount properly

---

<div class="post-metadata">

**Author:** ![chief\_henry223](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/c/e8c25b/32.png) [@chief\_henry223](https://forum.endeavouros.com/u/chief_henry223)\
**Post date:** [January 5, 2024, 10:52am UTC](https://forum.endeavouros.com/t/problems-with-chrooting/49698/3 "2024-01-05T10:52:40Z")

</div>

It doesn’t really give me any more info, just the filesystems. I have the ntfs partition(s), a fat32, an unlabelled one, and the ext4 (root).  
The problem with updates is solved by simply logging in and out.

---

<div class="post-metadata">

**Author:** ![chief\_henry223](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/c/e8c25b/32.png) [@chief\_henry223](https://forum.endeavouros.com/u/chief_henry223)\
**Post date:** [January 5, 2024, 11:10am UTC](https://forum.endeavouros.com/t/problems-with-chrooting/49698/4 "2024-01-05T11:10:33Z")

</div>

Managed to solve my problems.

1. if you have problems with `could not resolve host` and you _already_ verified you are connected and able to ping something from your PC, just log out and log in to chroot. It might just solve it.
2. Endeavour now uses `dracut`, so you don’t have the command `mkinitcpio`, you have to use `dracut-rebuild`

The guide in the post I linked in my question is still completely valid though if you have `mkinitcpio`.

---

<div class="post-metadata">

**Author:** ![system](https://forum.endeavouros.com/uploads/default/original/2X/9/9ea52f9fd5ef8e609e593c362d61a36295f48be8.png) [@system](https://forum.endeavouros.com/u/system)\
**Post date:** [January 7, 2024, 11:10am UTC](https://forum.endeavouros.com/t/problems-with-chrooting/49698/5 "2024-01-07T11:10:36Z")

</div>

Closed on January 7, 2024, 11:10am UTC

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