Page 1 of 2

Lost harddirve after adding 2nd harddrive

Posted: 18. Dec 2014, 18:14
by kw
I am running Centos 6.5 on my Win 7 PC.
Today, I went to "settings" to add a 2nd harddrive, after adding the 2nd one, the 1st harddrive disappeared. All my work is lost.
I like know if there is a way to put it back? Is this a bug from VirualBox?
Thanks.

Re: Lost harddirve after adding 2nd harddrive

Posted: 18. Dec 2014, 18:36
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.

Re: Lost harddirve after adding 2nd harddrive

Posted: 18. Dec 2014, 18:41
by kw
Hi Perryg;
Thanks for the quick reply.
Do you want me to run this command from my win 7 command window?
I tried, "not recognized as as internal.... command"
kw

Re: Lost harddirve after adding 2nd harddrive

Posted: 18. Dec 2014, 18:45
by Perryg
Yes. Read the last line closely.

Re: Lost harddirve after adding 2nd harddrive

Posted: 18. Dec 2014, 18:47
by kw
BTW, from the virtualbox, "file"->"virtual media manager", I still see my "1st-harddrive.vdi" listed under "hard drives".

Re: Lost harddirve after adding 2nd harddrive

Posted: 18. Dec 2014, 18:56
by kw
Name: my-centos65

Code: Select all

Groups:          /New group
Guest OS:        Red Hat (64 bit)
UUID:            56ea0b6d-1320-412d-9cb0-940226b9619f
Config file:     C:\Users\kw\VirtualBox VMs\New group\my-centos65\my-centos65.v
box
Snapshot folder: C:\Users\kw\VirtualBox VMs\New group\my-centos65\Snapshots
Log folder:      C:\Users\kw\VirtualBox VMs\New group\my-centos65\Logs
Hardware UUID:   56ea0b6d-1320-412d-9cb0-940226b9619f
Memory size:     24461MB
Page Fusion:     off
VRAM size:       128MB
CPU exec cap:    100%
HPET:            off
Chipset:         piix3
Firmware:        BIOS
Number of CPUs:  4
PAE:             on
Long Mode:       on
Synthetic CPU:   off
CPUID overrides: None
Boot menu mode:  message and menu
Boot Device (1): DVD
Boot Device (2): HardDisk
Boot Device (3): Not Assigned
Boot Device (4): Not Assigned
ACPI:            on
IOAPIC:          on
Time offset:     0ms
RTC:             UTC
Hardw. virt.ext: on
Nested Paging:   on
Large Pages:     on
VT-x VPID:       on
VT-x unr. exec.: on
State:           powered off (since 2014-12-18T15:55:10.954000000)
Monitor count:   1
3D Acceleration: on
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):      1
Storage Controller Bootable (1):        on
IDE (1, 0): C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso (UUID: 591
12c29-60a5-42fe-8e78-60a9d930b5f1)
NIC 1:           MAC: 080027B94016, Attachment: NAT, Cable connected: on, Trace:
 off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Prom
isc Policy: deny, Bandwidth group: none
NIC 1 Settings:  MTU: 0, Socket (send: 64, receive: 64), TCP Window (send:64, re
ceive: 64)
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
LPT 1:           disabled
LPT 2:           disabled
Audio:           enabled (Driver: DSOUND, Controller: AC97)
Clipboard Mode:  Bidirectional
Drag'n'drop Mode: Bidirectional
VRDE:            disabled
USB:             enabled
EHCI:            enabled

USB Device Filters:

<none>

Available remote USB devices:

<none>

Currently Attached USB Devices:

<none>

Bandwidth groups:  <none>

Shared folders:

Name: 'temp', Host path: 'C:\temp' (machine mapping), writable

VRDE Connection:    not active
Clients so far:     0

Video capturing:    not active
Capture screens:    0
Capture file:       C:\Users\kw\VirtualBox VMs\New group\my-centos65\my-centos65
e.webm
Capture dimensions: 1024x768
Capture rate:       512 kbps
Capture FPS:        25

Guest:

Configured memory balloon size:      0 MB



C:\Program Files\Oracle\VirtualBox>

Re: Lost harddirve after adding 2nd harddrive

Posted: 18. Dec 2014, 19:09
by Perryg
If you look in C:\Users\kw\VirtualBox VMs\New group\my-centos65\ do you see any *.vdi files?

Code: Select all

IDE (1, 0): C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso (UUID: 591
12c29-60a5-42fe-8e78-60a9d930b5f1)
According to this you do not have any hard drives mounted to the guest. It also shows a "New group" which is unusual for a single guest install.

How long have you been using this guest and did you ever really install it or run from live boot?

Re: Lost harddirve after adding 2nd harddrive

Posted: 18. Dec 2014, 20:02
by kw
1. I do see:
C:\Users\kw\VirtualBox VMs\New group\my-centos65\my-centos65.vdi files
2. The VBoxGuestAdditions.iso was used to get Linux full screen in the VirtualBox.
3. I have used VBoxGuestAdditions.iso for several month now. And did run it from after Linux is booted.
Thanks.

Re: Lost harddirve after adding 2nd harddrive

Posted: 18. Dec 2014, 20:15
by kw
More info about my box.
Before adding the 2nd hard drive. I did see "VBoxGuestAdditions.iso" and "my-centos65 hard drive".

Re: Lost harddirve after adding 2nd harddrive

Posted: 18. Dec 2014, 20:30
by Perryg
The guest additions are the only thing that is mounted in your guest and since it is not bootable then you can see why you are getting the error you are seeing.

I would open the guest settings and add the drive back like it should be. Then the guest should boot.

You can post an image of the settings area where it shows drives and also it would help to have a screen shot of the media manager showing your drives.

Re: Lost harddirve after adding 2nd harddrive

Posted: 18. Dec 2014, 20:53
by kw
Please see attached 2 photos. (I erased company and personal info in the pictures)

Re: Lost harddirve after adding 2nd harddrive

Posted: 18. Dec 2014, 21:03
by Perryg
Open the storage section so I can see what it says in the guest settings.

Re: Lost harddirve after adding 2nd harddrive

Posted: 18. Dec 2014, 21:15
by kw
Thanks.

Re: Lost harddirve after adding 2nd harddrive

Posted: 18. Dec 2014, 21:21
by Perryg
Tell me what you see. I see only the guest additions and not hard drives.

Add them back and it will work.

Re: Lost harddirve after adding 2nd harddrive

Posted: 18. Dec 2014, 21:27
by kw
Could you let me know how to "add" it back?