OS Chroot 101: covering btrfs subvolumes

OS chroot command allows you to mount and run another GnuLinux from within your current GnuLinux. It does this by mounting nested partitions within your system and it gives you a shell which allows access to this chrooted OS. This will allow you to manage or debug another GnuLinux from your running Fedora Linux.

When I say chroot I mean the command and chrootDir a folder. OSext is the external OS to work with. All the following commands are executed as superuser. For extra readability I removed the sudo at the beginning just dont forget to be superadmin when performing the tasks. means I cut some terminal output.

First Im going to review how to do a chroot on a classic filesystem ext4 xft fat etc and then well see how to do it on our brand new standard Btrfs and its subvolumes.

The process is similar to that used to change the root password or that we may use to repair a corrupted fstab it happens trust me. We can also use the chroot command to mount a GnuLinux in our Fedora Linux in order to perform operations updates file recovery debugging etc.


Read Full Post

News Link: https://fedoramagazine.org/os-chroot-101-covering-btrfs-subvolumes/.
RSS Link: https://fedoramagazine.org/feed/.

Linux Chatter is a news aggregator service that curates some of the best Linux, Cloud, Technical Guides, Hardware and Security news. We display just enough content from the original post to spark your interest. If you like the topic, then click on the 'read full post' button to visit the author's website. Use Linux Chatter to find content from amazing authors!

Note: The content provided has been modified and is not displayed as intended by the author. Any trademarks, copyrights and rights remain with the source.

Disclaimer: Linux Chatter sources content from RSS feeds and personal content submissions. The views and opinions expressed in these articles are those of the authors and do not necessarily reflect those of Linux Chatter.