-
Steps 2 - 5 below are from the above question.
Hold Shift after your BIOS has passed, then choose:
"Advanced options → something ending with '(recovery mode)'"
- Choose the "Drop to root shell prompt" option
Remount the root partition as R/W with this command:
mount -o remount,rw /
If you have separate partitions, execute this command to mount them:
mount -a
Edit the /etc/hosts file with this command :
nano /etc/hosts # Replace `nano` with your favourite command line editor
- Make the changes you want.
Press these keys to save and exit it: Ctrl+X; Y; Enter
Note: If there's a + between two keys, press those at the same time. If there's a ; between two key sequences, press the first sequence, then release it, then press the second.
Reboot:
reboot
Comments
Post a Comment