9
9

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

MEMO: Veertu の boot2docker で HDD のセットアップをする

Last updated at Posted at 2016-01-14

IP アドレスを調べて SSH でログインする。

root@boot2docker:~# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 76:6D:78:96:A3:20
          inet addr:192.168.64.10  Bcast:192.168.64.255  Mask:255.255.255.0
          inet6 addr: fe80::746d:78ff:fe96:a320/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:101 errors:0 dropped:0 overruns:0 frame:0
          TX packets:103 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:12069 (11.7 KiB)  TX bytes:14451 (14.1 KiB)
$ ssh docker@192.168.64.10 -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no
docker@192.168.64.10's password:
                        ##         .
                  ## ## ##        ==
               ## ## ## ## ##    ===
           /"""""""""""""""""\___/ ===
      ~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ /  ===- ~~~
           \______ o           __/
             \    \         __/
              \____\_______/
 _                 _   ____     _            _
| |__   ___   ___ | |_|___ \ __| | ___   ___| | _____ _ __
| '_ \ / _ \ / _ \| __| __) / _` |/ _ \ / __| |/ / _ \ '__|
| |_) | (_) | (_) | |_ / __/ (_| | (_) | (__|   <  __/ |
|_.__/ \___/ \___/ \__|_____\__,_|\___/ \___|_|\_\___|_|
Boot2Docker version 1.9.1, build master : cef800b - Fri Nov 20 19:33:59 UTC 2015
Docker version 1.9.1, build a34a1d5
docker@boot2docker:~$ 

HDD をセットアップをする

docker@boot2docker:~$ curl -OL https://raw.githubusercontent.com/ailispaw/boot2docker-xhyve/master/contrib/makehdd/makehdd.sh
docker@boot2docker:~$ chmod +x makehdd.sh
docker@boot2docker:~$ sed -i 's/vda/sda/g' makehdd.sh
docker@boot2docker:~$ sudo ./makehdd.sh
docker@boot2docker:~$ sudo shutdown -h now

起動ディスクを DVD-ROM にする

Screenshot_1_14_16__7_11_PM.png

起動する

Screenshot_1_14_16__7_13_PM.png

9
9
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
9

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?