Changes

Jump to: navigation, search

OPS235 Lab 3 - CentOS7 - HD2

112 bytes added, 07:09, 21 September 2016
no edit summary
'''Perform the following steps:'''
#Launch your '''c7host ''' machine, and login as as a regular user.#Boot-up your '''c7hostcentos1''' VM. '''when the Grub Boot menu appears''', press the letter <b><code><span style="color:#3366CC;font-size:1.2em;">e</span></code></b> (for "edit").
#Using your arrow keys, scroll to next screen to '''linux''', or '''linux16''', or '''linux-efi''' command and type the word <b><code><span style="color:#3366CC;font-size:1.2em;">single</span></code></b> as an argument after '''quiet''' (see diagram for reference) and then press <b><code><span style="color:#3366CC;font-size:1.2em;">ctrl-x</span></code></b> to boot.
#The system should boot into text-based mode. Enter your '''root''' password.
'''Perform the following steps:'''
#The procedure to reset root's password is different than shown above. Press #Make certain that your centos1 VM that you used in Part2 has been shutdown.#Start your centos1 VM, but press <b><code><span style="color:#3366CC;font-size:1.2em;">e</span></code></b> at the Grub boot menu.
#Using your arrow keys, move to '''linux''' or '''linux-efi''' command and replace the argument '''ro''' with the argument <b><code><span style="color:#3366CC;font-size:1.2em;">rw init=/sysroot/bin/sh</span></code></b> (see diagram for reference) and then press <b><code><span style="color:#3366CC;font-size:1.2em;">ctrl-x</span></code></b> to boot.
#The system should boot into text-based mode without prompting for root's password.
13,420
edits

Navigation menu