Ask Your Question

Is it possible to install Fedora from a chroot in a way analogous to Arch Linux?

asked 2017-12-25 13:19:41 +0000

BH2017 gravatar image

I would like to build a Fedora system from the ground up and I'm wondering if there's a lesser known chroot method for installing Fedora. If it is possible I think the most interesting part of it would be how to install a base system into which one can chroot. The only way I can come up with is getting the base file system from a Fedora netinstall ISO image.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2017-12-25 22:08:07 +0000

Rabin gravatar image

I never tried this but teoreticly you should be able to use dnf --installroot= to install fedora base system to a different location. you can create a new LVM to use existing partition and mount it to a new folder and use the command above to install fedora into it, and then use systemd-nspawn to access it.

see here for a example using yum instead dnf

edit flag offensive delete link more


I tried this and gave up because it was a lot of work, but I think this is a possible way (not sure though).

Give it a try.

hello ( 2017-12-25 22:53:20 +0000 )edit

answered 2017-12-27 04:56:46 +0000

updated 2017-12-27 05:01:20 +0000

mmm you can to use mock... "mock" makes chroots... example running "mock shell" you can install packages, remove; edit the chroot... Other alternative is Docker...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question Tools

1 follower


Asked: 2017-12-25 13:19:41 +0000

Seen: 170 times

Last updated: Dec 27 '17