Changes

Jump to: navigation, search

OPS235 Lab 3 - CentOS7

30 bytes added, 13:26, 28 April 2015
no edit summary
[[Image:grub2_1.png|thumb|right|600px|Add the boot option '''single''' and then press '''ctrl-x''' to boot into single user mode]]
|}
#Boot-up your '''c7host'''. As soon as the Grub Boot menu appears, press the letter '''e''' (for "edit").
#Using your arrow keys, scroll to next screen to '''linux16''' command and type the word '''single''' as an argument after '''quiet''' (see diagram for reference) and then press '''ctrl-x''' to boot.
#The system should boot into text-based mode. Enter your '''root ''' 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!#You can use the '''passwd''' command to reset your '''regular user ''' password (eg. passwd yourusername).
#To restart in graphical mode, simply enter the command '''reboot'''.
:Unfortunately, this method does not work if you forgot your '''root ''' password (see procedure below).
13,420
edits

Navigation menu