Changes

Jump to: navigation, search

OPS235 Lab 3 - CentOS7

191 bytes added, 14:08, 3 April 2015
no edit summary
= INVESTIGATION 1: TROUBLESHOOTING AFTER VM INSTALLS & BACKUPS =
{| width="40%" align="right" cellpadding="10"|- valign="top"|[[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"|[[Image:grub3.png|thumb|right|400px|Add word '''single''' at the end of boot options, '''ENTER''' and press '''b''' to boot ]]|[[Image:grub4.png|thumb|right|400px|System boots into text-based mode in root (without prompting for root password!) ]]|}
There are a few "classic problems" that students can encounter with their virtual machines and their host machine after performing lab2. Although all OPS235 students may not encounter these problems, it is good to be aware of them and know how to troubleshoot a problem in order to solve the problem.
'''Troubleshooting consists of 3 basic elements:'''
{| width="40%" align="right" cellpadding="10"|- valign="top"|[[Image:grub1.png|thumb|right|100px|Press '''e''' at the Grub Boot Menu.]]|}
*'''Asking Questions''' (eg. what was done recently prior to problem?)
*'''Eliminating what the problem isn't'''
'''Steps to Boot into "Single-User Mode":'''
{| width="40%" align="right" cellpadding="10"
|- valign="top"
|
[[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 ]]
|}
#Boot-up your c7host. As soon as the Grub Boot menu appears, press the letter '''e''' (for "edit").
#Using your arrow keys, move to '''linux16''' command and type the word '''single''' as an argument after '''quiet''' (see diagram for reference) and then press '''ctrl-x''' to boot.
'''Steps to Reset Root's Password":'''
{| width="40%" align="right" cellpadding="10"
|- valign="top"
|
[[Image:grub3.png|thumb|right|400px|Add word '''single''' at the end of boot options, '''ENTER''' and press '''b''' to boot ]]
|
[[Image:grub4.png|thumb|right|400px|System boots into text-based mode in root (without prompting for root password!) ]]
|}
#The procedure to reset root's password is different than shown above. Press '''e''' at the Grub boot menu.
#Using your arrow keys, move to '''linux16''' command and replace the argument '''ro''' with the argument '''rw init=/sysroot/bin/sh''' (see diagram for reference) and then press '''ctrl-x''' to boot.
13,420
edits

Navigation menu