Open main menu

CDOT Wiki β

Changes

OPS235 Lab 3 - CentOS7

1,123 bytes added, 12:33, 3 April 2015
no edit summary
[[Image:grub1.png|thumb|right|100px|Press '''e''' at the Grub Boot Menu.]]
|
[[Image:grub2.png|thumb|right|400px|Select Linux Kernel and press '''e''' to edit Linux Kernel Image boot optons ]]
|- valign="top"
|
#Boot-up your c7host. As soon as the Grub Boot menu appears, press the letter '''e''' (for "edit").
#Press the down arrow key to highlight: and press e to edit the Linux Kernel boot options.#At the end of the command line, add a space (after the word quiet) and type single (i.e. for single user mode).#Press ENTER to save editing changes to the Linux Kernel Image boot command.#Press '''b''' to boot from that modified Linux Kernel Image.#The system should boot up in text-based mode, and when completed be in the root's home directory (without prompting for root's password!)#One thing to look at is partition space usage. Issue the command: '''df -h'''#If you notice 0% free space in the / partition, then there is a problem. This most likely is caused by not following steps to create a <u>compressed</u> copy of the VM image. If that is the case, locate the large image backup and remove it. Do NOT remove the image in ''/var/lib/libvirt/images'' directory!#Then simply type the command '''reboot''' to restart the machine (hopefully in graphical mode).
When you access the system in single-user mode, you can reset passwords for root or other users by using the '''passwd''' command.
For example:
 
*'''passwd root'''
 
*'''passwd username'''
13,420
edits