The Answer to the Ultimate Question of Life, the Universe, and Everything (H2G2 – Douglas Adams)

Requirements

Procedure

  1. Boot on Live CD
    • # prompt : you have root access on the live system
  2. Mount the / partition of your local system in a folder
    • mkdir /mnt/sda1 : Create folder to host partition
    • mount /dev/sda1 /mnt/sda1 : Mount device in the folder
  3. Enter your local system as root
    • chroot /mnt/sda1 : use the local / partition as your system root folder
  4. Change the root password
    • passwd : change the password of current user (root)
    • ******* : enter twice your new password
  5. Reboot
    • reboot : reboot system
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s