Skip to content
This repository has been archived by the owner on Jan 1, 2021. It is now read-only.

Failed to boot from VirtualBox 4.3.6 #149

Closed
hoverruan opened this issue Feb 7, 2014 · 9 comments
Closed

Failed to boot from VirtualBox 4.3.6 #149

hoverruan opened this issue Feb 7, 2014 · 9 comments

Comments

@hoverruan
Copy link

Message from console:

Press <Enter> to begin or F2, F3, or F4 to view boot options.
boot:
Loading /boot/vmlinuz64.....
Loading /boot/initrd.img...............EDD: Error 0c00 reading sector 7680
.EDD: Error 0c00 reading sector 8014
.EDD: Error 0c00 reading sector 8553
.EDD: Error 0c00 reading sector 9065
.EDD: Error 0c00 reading sector 9577
.EDD: Error 0c00 reading sector 10089
.EDD: Error 0c00 reading sector 10601
.EDD: Error 0c00 reading sector 11113
<omitted>
.EDD: Error 0c00 reading sector 13161
ready.
early console in decompress_kernel

Decompressing Linux... Parsing ELF... done.
Booting the kernel.
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
@hoverruan
Copy link
Author

Only failed on v0.5.4, v0.5.3 is fine

@SvenDowideit
Copy link
Contributor

@hoverruan I presume you tried downloading .5.4 again to verify it wasn't something odd - we'll need to test ;/

I presume you're using OSX?

@hoverruan
Copy link
Author

@SvenDowideit I tried downloaded v0.5.4 iso manually again, everything goes fine ...

Yes, tested under OSX 10.9

@hoverruan
Copy link
Author

Also works fine without downloading iso manually.

$ boot2docker init
[2014-02-08 11:07:23] Creating VM boot2docker-vm
Virtual machine 'boot2docker-vm' is created and registered.
UUID: 4ef9472c-e582-4f56-bf82-4eb31572f3fa
Settings file: '/Users/hover/VirtualBox VMs/boot2docker-vm/boot2docker-vm.vbox'
[2014-02-08 11:07:23] Setting VM settings
[2014-02-08 11:07:23] Setting VM networking
[2014-02-08 11:07:23] boot2docker.iso not found.
[2014-02-08 11:07:25] Latest version is v0.5.4, downloading...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   344  100   344    0     0    459      0 --:--:-- --:--:-- --:--:--   460
100 27.0M  100 27.0M    0     0   462k      0  0:00:59  0:00:59 --:--:-- 1142k
[2014-02-08 11:08:24] Done
[2014-02-08 11:08:24] Setting VM disks
[2014-02-08 11:08:24] Creating 40000 Meg hard drive...
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Disk image created. UUID: afbbae5f-9f4e-4e1e-b482-ad336e3aac47
Converting from raw image file="format-flag.txt" to file="format-flag.vmdk"...
Creating dynamic image with size 5242880 bytes (5MB)...
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Clone hard disk created in format 'VMDK'. UUID: afbbae5f-9f4e-4e1e-b482-ad336e3aac47
[2014-02-08 11:08:25] Done.
[2014-02-08 11:08:25] You can now type boot2docker up and wait for the VM to start.
hover at HoverMac in ~/vms/b2d04
$ boot2docker up
[2014-02-08 11:08:32] Starting boot2docker-vm...
[2014-02-08 11:08:52] Started.
hover at HoverMac in ~/vms/b2d04
$ boot2docker ssh
Warning: Permanently added '[localhost]:2022' (RSA) to the list of known hosts.
docker@localhost's password:
                        ##        .
                  ## ## ##       ==
               ## ## ## ##      ===
           /""""""""""""""""\___/ ===
      ~~~ {~~ ~~~~ ~~~ ~~~~ ~~ ~ /  ===- ~~~
           \______ o          __/
             \    \        __/
              \____\______/
 _                 _   ____     _            _
| |__   ___   ___ | |_|___ \ __| | ___   ___| | _____ _ __
| '_ \ / _ \ / _ \| __| __) / _` |/ _ \ / __| |/ / _ \ '__|
| |_) | (_) | (_) | |_ / __/ (_| | (_) | (__|   <  __/ |
|_.__/ \___/ \___/ \__|_____\__,_|\___/ \___|_|\_\___|_|
boot2docker: 0.5.4
docker@boot2docker:~$

@mik3y
Copy link

mik3y commented Feb 21, 2014

Problem still exists, at least on OS X 10.9 + boot2docker 0.6.0 (as installed via homebrew).

Steps:

$ brew install boot2docker docker
[...]
$ boot2docker init
[2014-02-20 20:19:01] Creating VM boot2docker-vm
Virtual machine 'boot2docker-vm' is created and registered.
UUID: 6a25a0e7-a307-466a-9daa-6ccf3aed96ff
Settings file: '/Users/mikey/VirtualBox VMs/boot2docker-vm/boot2docker-vm.vbox'
[2014-02-20 20:19:01] Setting VM settings
[2014-02-20 20:19:01] Setting VM networking
[2014-02-20 20:19:01] boot2docker.iso not found.
[2014-02-20 20:19:01] Could not get lastest release name! Cannot download boot2docker.iso.
[2014-02-20 20:19:01] Setting VM disks
[2014-02-20 20:19:01] Creating 40000 Meg hard drive...
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Disk image created. UUID: 396e6782-f989-49d4-befb-1eb3f7744f24
Converting from raw image file="format-flag.txt" to file="format-flag.vmdk"...
Creating dynamic image with size 5242880 bytes (5MB)...
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Clone hard disk created in format 'VMDK'. UUID: 396e6782-f989-49d4-befb-1eb3f7744f24
VBoxManage: error: Could not find file for the medium '/Users/mikey/./boot2docker.iso' (VERR_FILE_NOT_FOUND)
VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component Medium, interface IMedium, callee nsISupports
VBoxManage: error: Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 178 of file VBoxManageDisk.cpp
VBoxManage: error: Invalid UUID or filename "./boot2docker.iso"
[2014-02-20 20:19:02] Done.
[2014-02-20 20:19:02] You can now type boot2docker up and wait for the VM to start.
$ boot2docker ssh
[command hangs]

Resolved problem by downloaded iso. At minimum, seems like the VBoxManage errors above should be fatal...?

@SvenDowideit
Copy link
Contributor

there is a ./boot2docker download - I thought init used it, :/

On 21/02/14 18:20, mike w wrote:

Problem still exists, at least on OS X 10.9 + boot2docker 0.6.0 (as
installed via homebrew).

Steps:

|$ brew install boot2docker docker
[...]
$ boot2docker init
[2014-02-20 20:19:01] Creating VM boot2docker-vm
Virtual machine 'boot2docker-vm' is created and registered.
UUID: 6a25a0e7-a307-466a-9daa-6ccf3aed96ff
Settings file: '/Users/mikey/VirtualBox VMs/boot2docker-vm/boot2docker-vm.vbox'
[2014-02-20 20:19:01] Setting VM settings
[2014-02-20 20:19:01] Setting VM networking
[2014-02-20 20:19:01] boot2docker.iso not found.
[2014-02-20 20:19:01] Could not get lastest release name! Cannot download boot2docker.iso.
[2014-02-20 20:19:01] Setting VM disks
[2014-02-20 20:19:01] Creating 40000 Meg hard drive...
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Disk image created. UUID: 396e6782-f989-49d4-befb-1eb3f7744f24
Converting from raw image file="format-flag.txt" to file="format-flag.vmdk"...
Creating dynamic image with size 5242880 bytes (5MB)...
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Clone hard disk created in format 'VMDK'. UUID: 396e6782-f989-49d4-befb-1eb3f7744f24
VBoxManage: error: Could not find file for the medium '/Users/mikey/./boot2docker.iso' (VERR_FILE_NOT_FOUND)
VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component Medium, interface IMedium, callee nsISupports
VBoxManage: error: Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 178 of file VBoxManageDisk.cpp
VBoxManage: error: Invalid UUID or filename "./boot2docker.iso"
[2014-02-20 20:19:02] Done.
[2014-02-20 20:19:02] You can now type boot2docker up and wait for the VM to start.
$ boot2docker ssh
[command hangs]
|

Resolved problem by downloaded iso. At minimum, seems like the
VBoxManage errors above should be fatal...?


Reply to this email directly or view it on GitHub
#149 (comment).

@mik3y
Copy link

mik3y commented Feb 21, 2014

Looks like this line in my [purportedly v0.6.0] boot2docker is the problem:

$ LRN=$(curl 'https://api.github.com/repos/steeve/boot2docker/releases' 2>/dev/null|grep -o -m 1 -e "\"tag_name\":[[:space:]]*\"[a-z0-9.]*\""|head -1|cut -d: -f2|tr -d ' "')
$ echo $LRN

$

Seems it was fixed in 68b5931

@aheissenberger
Copy link
Contributor

@SvenDowideit have been opening a issue #222 to easy reference cases based on the old release being served by homebrew

@steeve
Copy link
Contributor

steeve commented Feb 24, 2014

I saw that the brew formula has been updated. You might want to try it ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants