According to this post I can:

Start the livedisk again, remount your drives archroot into your root partition and then install the packages you need and everything should work.

However, I cannot find any information on how to do it.

Could you please explain me what I should do to remount the installation CD and be able to download packages I want?


2 Answers 2


Thanks to other answers I was able to find this thread: What's the proper way to prepare chroot to recover a broken Linux installation?.

As every step is extensively explained in the provided thread on SuperUser I will only provide a very simple solution to what I was trying to achieve.

This approach is a great way to recover or change certain files from your Arch if for example:

  • the system is automatically turning off a few seconds after logging in and you want to remove those bad packages and config files.
  • you want to run sudo pacman -S iw wireless_tools network-tools dialog to get your wifi working after installing Arch.

Here are the steps:

  1. Use a LiveCD which has the same architecture as the system you want to chroot into.

  2. If you need a network connection its time to set it up. You can use the wifi-menu for example.

  3. Now you'll have to enter these commands:

    cd /
    # I had to change ext3 to ext4. 
    # Depends on the filesystem one used during installation.
    mount -t ext4 /dev/sda1 /mnt 
    mount -t proc proc /mnt/proc
    mount -t sysfs sys /mnt/sys
    mount -o bind /dev /mnt/dev
    mount -t ext2 /dev/sda2 /mnt/boot
    chroot /mnt /bin/bash
  4. Now you are are in a shell and you can do what you want to do.

  5. Cleaning up.

    umount /mnt/boot # if you mounted this or any other separate partitions
    umount /mnt/{proc,sys,dev}
    umount /mnt
  6. The end.


I strongly advise you to look at the original answer at SuperUser and at this thread which might be handy as well.

  • 1
    Perfect, thank you very much! Now, if you also happen to remember to come back and accept this answer as soon as the waiting period is over, you'll get the Most Conscientious User award ;P
    – terdon
    Nov 28, 2015 at 16:11
  • @terdon I can't wait to get my award :) Nov 29, 2015 at 22:56
  • 1
    We can reboot without manually umounting what was mounted, can't we? A shutdown automatically umounts everything, doesn't it?
    – Al.G.
    Dec 27, 2016 at 11:10
  • @Al.G. I don't know so I am super careful. Dec 27, 2016 at 11:12
  • According to tldp.org/LDP/sag/html/shutdown.html : When the real shutting down starts after any delays, all filesystems (except the root one) are unmounted
    – Al.G.
    Dec 27, 2016 at 11:18

In my interpretation it means you should use umount to unmount the partition and mount to mount it again since some LiveCDs mount partitions in readonly mode by default.

A manual with more a detailed explanation of the commands of the linked answer can be found here: https://wiki.archlinux.org/index.php/Change_root

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .