Phùng Quang Phi
New member
How do I mount a root partition in Linux?
Answer
Please note that you can usually boot into RecoveryMode and run the passwd command directly.
Answer
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.