CentOS 7 Guest OS not starts after adding 2 vdi

Discussions about using Linux guests in VirtualBox.
RENTech
Posts: 8
Joined: 20. Apr 2017, 13:12

CentOS 7 Guest OS not starts after adding 2 vdi

Post by RENTech »

CentOS 7 Guest OS was installed on MS Windows 10 Host OS (with VirtualBox 5.1.20, RedHat 64-bit type of OS, minimal install, text mode only).
It starts fine after the installation but when I stop it and add the 2nd vdi (from the other CentOS7 installed and configured earlier) in VirtualBox it stopped work.
It shows the full boot progress bar below and that's all. Nothing happens after it.

What to see or to correct?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: CentOS 7 Guest OS not starts after adding 2 vdi

Post by mpack »

Is it VirtualBox failing, or is it the guest OS? Were the two VMs independantly installed, or is one derived from a clone of the other? I assume that both disks are marked as bootable.
RENTech
Posts: 8
Joined: 20. Apr 2017, 13:12

Re: CentOS 7 Guest OS not starts after adding 2 vdi

Post by RENTech »

It is the fail (black screen with full finished progress bar) of Guest CentOS 7 boot with 2nd vdi of other CentOS 7.
There was other CentOS 7 taken from the other computer with MS Windows 8 and VirtualBox 5.1.14 installed before. It does not boot on the current MS Win 10 & VB 5.1.20.

The current CentOS 7 was installed locally on MS Windows 10 independently.

Yes, all disks are marked as bootable. The 2nd disk was taken from the other same installation of the CentOS7. I tried to change the 2nd vdi with the other vdi and that's OK. But how to boot with the 2nd vdi that was the bootable in the other CentOS 7 installation?
Last edited by socratis on 20. Apr 2017, 16:05, edited 1 time in total.
Reason: Removed unnecessary verbatim quote of the whole previous message.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: CentOS 7 Guest OS not starts after adding 2 vdi

Post by Perryg »

I would like to see the log file of the guest that does not boot. Just the vbox.log with no numbers please. Compressed would be nice as well.
RENTech
Posts: 8
Joined: 20. Apr 2017, 13:12

Re: CentOS 7 Guest OS not starts after adding 2 vdi

Post by RENTech »

VBox logs attached below
Attachments
VBox.zip
VirtualBox Logs
(16.07 KiB) Downloaded 10 times
Last edited by socratis on 20. Apr 2017, 16:06, edited 1 time in total.
Reason: Removed unnecessary verbatim quote of the whole previous message.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: CentOS 7 Guest OS not starts after adding 2 vdi

Post by mpack »

The log is truncated. Please make sure that the VM is not still running when you grab a log.

I see that one of the disks is located on drive F. What is drive F? Is this a USB drive? If it is a USB drive, are you attempting to grab ownership of this USB device for the VM, i.e. do you have a USB filter set?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: CentOS 7 Guest OS not starts after adding 2 vdi

Post by Perryg »

Did you by chance edit this log file before you sent it?
RENTech
Posts: 8
Joined: 20. Apr 2017, 13:12

Re: CentOS 7 Guest OS not starts after adding 2 vdi

Post by RENTech »

Now I powered off the CentOS 7 and zipped the VBox.log and attached below.

F disk is the Seagate HDD 500GB disk.
Attachments
VBox.zip
Virtual Box Log
(22.41 KiB) Downloaded 10 times
Last edited by socratis on 20. Apr 2017, 16:06, edited 1 time in total.
Reason: Removed unnecessary verbatim quote of the whole previous message.
RENTech
Posts: 8
Joined: 20. Apr 2017, 13:12

Re: CentOS 7 Guest OS not starts after adding 2 vdi

Post by RENTech »

Perryg wrote:Did you by chance edit this log file before you sent it?
No I didn't do anything with this log file. I zipped it and attach only.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: CentOS 7 Guest OS not starts after adding 2 vdi

Post by mpack »

mpack wrote:What is drive F? Is this a USB drive?
mpack wrote:If it is a USB drive, are you attempting to grab ownership of this USB device for the VM, i.e. do you have a USB filter set?
RENTech
Posts: 8
Joined: 20. Apr 2017, 13:12

Re: CentOS 7 Guest OS not starts after adding 2 vdi

Post by RENTech »

No, it's SATA.
Last edited by socratis on 20. Apr 2017, 22:49, edited 1 time in total.
Reason: Removed unnecessary verbatim quote of the whole previous message.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: CentOS 7 Guest OS not starts after adding 2 vdi

Post by Perryg »

From the hosts terminal/command window type VBoxManage showvminfo <VM Name> --details and post here. Replace <VM Name> with the actual name of the VM. Use " " if the name has a space in it.

Note if the host is Windows you need to be in the directory that has VBoxManage.exe for the command to work.

Also verify that removing the second drive the guest will boot or not and report here.
RENTech
Posts: 8
Joined: 20. Apr 2017, 13:12

Re: CentOS 7 Guest OS not starts after adding 2 vdi

Post by RENTech »

If I remove the second drive then the Guest boots fine.

The output of VBoxManage:

Code: Select all

Name:            CentOS7R
Groups:          /
Guest OS:        Red Hat (64-bit)
UUID:            e9b87c38-4238-4ef2-be2e-4e689b28a256
Config file:     C:\Users\i.retich\VirtualBox VMs\CentOS7R\CentOS7R.vbox
Snapshot folder: C:\Users\i.retich\VirtualBox VMs\CentOS7R\Snapshots
Log folder:      C:\Users\i.retich\VirtualBox VMs\CentOS7R\Logs
Hardware UUID:   e9b87c38-4238-4ef2-be2e-4e689b28a256
Memory size:     1024MB
Page Fusion:     off
VRAM size:       16MB
CPU exec cap:    100%
HPET:            off
Chipset:         piix3
Firmware:        BIOS
Number of CPUs:  1
PAE:             on
Long Mode:       on
Triple Fault Reset: off
APIC:            on
X2APIC:          on
CPUID Portability Level: 0
CPUID overrides: None
Boot menu mode:  message and menu
Boot Device (1): HardDisk
Boot Device (2): Not Assigned
Boot Device (3): Not Assigned
Boot Device (4): Not Assigned
ACPI:            on
IOAPIC:          on
BIOS APIC mode:  APIC
Time offset:     0ms
RTC:             UTC
Hardw. virt.ext: on
Nested Paging:   on
Large Pages:     on
VT-x VPID:       on
VT-x unr. exec.: on
Paravirt. Provider: Default
Effective Paravirt. Provider: KVM
State:           powered off (since 2017-04-20T13:15:31.399000000)
Monitor count:   1
3D Acceleration: off
2D Video Acceleration: off
Teleporter Enabled: off
Teleporter Port: 0
Teleporter Address: 
Teleporter Password: 
Tracing Enabled: off
Allow Tracing to Access VM: off
Tracing Configuration: 
Autostart Enabled: off
Autostart Delay: 0
Default Frontend: 
Storage Controller Name (0):            IDE
Storage Controller Type (0):            PIIX4
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0):  2
Storage Controller Port Count (0):      2
Storage Controller Bootable (0):        on
Storage Controller Name (1):            SATA
Storage Controller Type (1):            IntelAhci
Storage Controller Instance Number (1): 0
Storage Controller Max Port Count (1):  30
Storage Controller Port Count (1):      2
Storage Controller Bootable (1):        on
IDE (0, 0): C:\Work\VD\CentOS-7-x86_64-Minimal-1611.iso (UUID: a1e041a1-21f8-4d47-98ba-18ed7cddb105)
IDE (0, 1): Empty
SATA (0, 0): C:\Users\i.retich\VirtualBox VMs\CentOS7R\CentOS7R.vdi (UUID: e547a6b1-7a4b-4e4b-9053-938fcaf79f8e)
SATA (1, 0): F:\VDisks\CentOS7.vdi (UUID: fef9a914-bcbc-407c-a447-ee8509b88a05)
NIC 1:           MAC: 080027BD690D, Attachment: Bridged Interface 'Intel(R) Ethernet Connection (2) I218-V', Cable connected: on, Trace: off (file: none), Type: 82543GC, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 2:           disabled
NIC 3:           disabled
NIC 4:           disabled
NIC 5:           disabled
NIC 6:           disabled
NIC 7:           disabled
NIC 8:           disabled
Pointing Device: PS/2 Mouse
Keyboard Device: PS/2 Keyboard
UART 1:          disabled
UART 2:          disabled
UART 3:          disabled
UART 4:          disabled
LPT 1:           disabled
LPT 2:           disabled
Audio:           enabled (Driver: DSOUND, Controller: AC97, Codec: AD1980)
Clipboard Mode:  disabled
Drag and drop Mode: disabled
VRDE:            disabled
USB:             enabled
EHCI:            enabled
XHCI:            disabled

USB Device Filters:

<none>

Bandwidth groups:  <none>

Shared folders:  <none>

Video capturing:    not active
Capture screens:    0
Capture file:       C:\Users\i.retich\VirtualBox VMs\CentOS7R\CentOS7R.webm
Capture dimensions: 1024x768
Capture rate:       512 kbps
Capture FPS:        25

Guest:

Configured memory balloon size:      0 MB
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: CentOS 7 Guest OS not starts after adding 2 vdi

Post by Perryg »

For some reason the centos boot loader is getting confused about the bootable drives. I would try to add the second drive to the second IDE chain on that controller instead of the SATA controller and see if the guest will finally recognise the proper bootable drive.
RENTech
Posts: 8
Joined: 20. Apr 2017, 13:12

Re: CentOS 7 Guest OS not starts after adding 2 vdi

Post by RENTech »

I moved the second drive from sata to 2 IDE master. Additional two boot lines appeared for choosing the boot. I tried all 4 lines but it gave nothing.
Last edited by socratis on 20. Apr 2017, 22:49, edited 3 times in total.
Reason: Removed unnecessary verbatim quote of the whole previous message.
Post Reply