さくらVPSで借りてたサーバのubuntuがGRUBが壊れて起動しなくなった
参考にしたのは以下
- レスキューモードでGrubリカバリ — sakura VPS Note 0.1 documentation
- 別のPCから外したディスクのLVM ボリュームをマウントする方法
- GRUBブートローダの再インストール | Nibelungen Code
ISOカスタムイメージでrescue modeを起動
さくらVPSで借りてたサーバのubuntuがGRUBが壊れて起動しなくなった
参考にしたのは以下
ISOカスタムイメージでrescue modeを起動
convert -fill black -draw 'rectangle 113,2 270,23' ~/Dropbox/艦これ/`ls -t1 ~/Dropbox/艦これ | head -1` ~/Dropbox/艦これ/out.png; open $_ |
#!/usr/bin/env ruby | |
# coding: utf-8 | |
# for http://kancolle.sanaechan.net/ | |
require 'date' | |
require 'optparse' | |
# parse options | |
option_hash = {} |
<?php | |
echo 1000; |
<?php | |
class Hoge { | |
private $data = array(); | |
public function __get($key) { | |
return array_key_exists($key, $this->data) ? $this->data[$key] : null; | |
} | |
public function __set($key, $value) { | |
return $this->data[$key] = $value; | |
} | |
} |
<?php | |
class Hoge | |
{ | |
function __construct() | |
{ | |
} | |
} | |
class Fuga extends Hoge | |
{ | |
function __construct($foo) |