Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make /boot configurable to allow different live iso to work with driver #146

Closed
praveenkumar opened this issue Nov 3, 2016 · 1 comment
Closed

Comments

@praveenkumar
Copy link
Collaborator

@praveenkumar praveenkumar commented Nov 3, 2016

Currently boot is hardcoded where it search for vmlinuz and initrd which make little hard if iso image structure is bit different and kernel and initrd files are in in different directory. It would be great to make it as argument which default value will be boot.

Current structure of a boot2docker image after mount

[root@dhcp35-203 boot2docker]# tree ./
./
├── boot
│   ├── initrd.img
│   ├── isolinux
│   │   ├── boot.cat
│   │   ├── boot.msg
│   │   ├── f2
│   │   ├── f3
│   │   ├── f4
│   │   ├── isolinux.bin
│   │   └── isolinux.cfg
│   └── vmlinuz64
└── version

And current structure of a centos live image.

$ tree /Volumes/live-centos/
/Volumes/live-centos/
├── EFI
│   └── BOOT
│       ├── BOOTX64.EFI
│       ├── fonts
│       │   └── unicode.pf2
│       ├── grub.cfg
│       └── grubx64.efi
├── LiveOS
│   ├── osmin.img
│   └── squashfs.img
└── isolinux
    ├── boot.cat
    ├── efiboot.img
    ├── initrd0.img
    ├── isolinux.bin
    ├── isolinux.cfg
    ├── macboot.img
    ├── vesamenu.c32
    └── vmlinuz0
praveenkumar added a commit to praveenkumar/docker-machine-driver-xhyve that referenced this issue Nov 3, 2016
@zchee

This comment has been minimized.

Copy link
Member

@zchee zchee commented Nov 3, 2016

This issue is under discussion in #147

praveenkumar added a commit to praveenkumar/docker-machine-driver-xhyve that referenced this issue Nov 4, 2016
@zchee zchee closed this in db9f7dd Nov 6, 2016
zchee added a commit that referenced this issue Nov 6, 2016
Fix #146 Make /boot configurable to allow different live iso to work with driver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.