Page 1 of 1

Failure to boot Centos 7 VM

Posted: 30. Oct 2020, 03:59
by HandyDandyAndy
Hello,

My CentOS 7 VM has been working without issue, I made a few file changes to ~/.bash_profile and /lib/systemd/system/getty@.service today, however these same changes were successful on a few VM's. I then made them on 2 more by copy pasting the same set of instructions, and now the VMs never gets to the login prompt, just hangs on boot.

I was getting an audio driver error, so I disabled audio. No change in boot outcome. Here is the latest log - I was not able to spot anything obvious and googled several of the suspects and could not find much related.

Thank you for your time!

-Andrew

Re: Failure to boot Centos 7 VM

Posted: 30. Oct 2020, 14:42
by scottgus1
I didn't see anything glaringly wrong in the log. The Virtualbox environment appears to continue working properly.

If this guest worked before the bash and lib edits, and stopped working after the edits, then it was the edits that bunged the guest. Maybe you copy/pasted one character off or something?

What happens in the guest stays in the guest. You'll have to troubleshoot and fix inside the guest OS.

Re: Failure to boot Centos 7 VM

Posted: 5. Nov 2020, 18:30
by HandyDandyAndy
Hi @scottgus1! Thank you for your assessment!
I tried and tried to mount the VM so I could edit the files, but was unsuccessful. I learned that it was indeed due to a botched copy paste operation (fragmented chunks slipped into my notepad)
I ended up destroying and recreating the VM's I destoryed, and lesson learned was to take snapshots before major operations :)

-Andrew

Re: Failure to boot Centos 7 VM

Posted: 7. Nov 2020, 05:42
by scottgus1
Hope the next ones turn out better!

BTW, snapshots make a guest more delicate. Don't rely on them as backups, they most definitely are not backups.