Contents
How do I start chroot?
Creating a chroot
- Install the schroot and debootstrap packages.
- As an administrator (i.e. using sudo), create a new directory for the chroot. …
- As an administrator, open /etc/schroot/schroot. …
- Add the following lines into schroot. …
- A basic chroot should now have been created.
10 сент. 2015 г.
How do I chroot from Live USB?
Please note that you can usually boot into RecoveryMode and run the passwd command directly.
- Boot the Ubuntu Live CD.
- Press Ctrl-Alt-F1.
- sudo mount /dev/sda1 /mnt.
- If you created a custom partition layout when installing Ubuntu you have to find your root partition using the fdisk utility. …
- sudo chroot /mnt.
22 мар. 2016 г.