Open main menu

CDOT Wiki β

Changes

OPS235 Lab 3 - CentOS7

193 bytes removed, 13:44, 3 April 2015
no edit summary
#Boot-up your c7host. As soon as the Grub Boot menu appears, press the letter '''e''' (for "edit").
#Press the down Using your arrow key keys, move to highlight: '''linux16''' command and press e to edit the Linux Kernel boot options.#At the end of the replace command line, add a space arugment '''ro''' with '''rw init=sysroot/bin/sh''' (after the word quietsee diagram for reference) and type single (i.e. for single user mode).#Press ENTER to save editing changes to the Linux Kernel Image boot command.#Press then press '''bctrl-x''' to boot from that modified Linux Kernel Image.#The system should boot up in text-based mode, and when completed be in take you to a command prompt. At the rootcommand prompt enter: '''chroot /sysroot''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!
13,420
edits