Failure to boot Centos 7 VM

Discussions related to using VirtualBox on Windows hosts.
Post Reply
HandyDandyAndy
Posts: 2
Joined: 30. Oct 2020, 03:23

Failure to boot Centos 7 VM

Post 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
Attachments
VBox.zip
log with startup and shutdown
(27.68 KiB) Downloaded 7 times
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Failure to boot Centos 7 VM

Post 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.
HandyDandyAndy
Posts: 2
Joined: 30. Oct 2020, 03:23

Re: Failure to boot Centos 7 VM

Post 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
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Failure to boot Centos 7 VM

Post 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.
Post Reply