| 113 | {{{ |
| 114 | Generating grub.cfg ... |
| 115 | Found linux image: /boot/vmlinuz-2.6.32-33-generic |
| 116 | Found initrd image: /boot/initrd.img-2.6.32-33-generic |
| 117 | Found linux image: /boot/vmlinuz-2.6.32-32-generic |
| 118 | Found initrd image: /boot/initrd.img-2.6.32-32-generic |
| 119 | Found linux image: /boot/vmlinuz-2.6.32-31-generic |
| 120 | Found initrd image: /boot/initrd.img-2.6.32-31-generic |
| 121 | Found memtest86+ image: /boot/memtest86+.bin |
| 122 | done |
| 123 | }}} |
| 124 | 1. GRUBメニュー修復完了 |
| 125 | * grep menuentry /boot/grub/grub.cfg | tr \" \' | cut -d\' -f2 |
| 126 | {{{ |
| 127 | Ubuntu, with Linux 2.6.32-33-generic |
| 128 | Ubuntu, with Linux 2.6.32-33-generic (recovery mode) |
| 129 | Ubuntu, with Linux 2.6.32-32-generic |
| 130 | Ubuntu, with Linux 2.6.32-32-generic (recovery mode) |
| 131 | Ubuntu, with Linux 2.6.32-31-generic |
| 132 | Ubuntu, with Linux 2.6.32-31-generic (recovery mode) |
| 133 | Memory test (memtest86+) |
| 134 | Memory test (memtest86+, serial console 115200) |
| 135 | }}} |
| 136 | 1. 適宜、Filesystemの伸張をする |
| 137 | * df -h / |
| 138 | Filesystem Size Used Avail Use% Mounted on |
| 139 | /dev/sda2 93G 33G 56G 37% / |
| 140 | }}} |
| 141 | * sudo resize2fs /dev/sda2 |
| 142 | {{{ |
| 143 | resize2fs 1.41.11 (14-Mar-2010) |
| 144 | Filesystem at /dev/sda2 is mounted on /; on-line resizing required |
| 145 | old desc_blocks = 6, new_desc_blocks = 7 |
| 146 | Performing an on-line resize of /dev/sda2 to 29239024 (4k) blocks. |
| 147 | The filesystem on /dev/sda2 is now 29239024 blocks long. |
| 148 | }}} |
| 149 | * df -h / |
| 150 | {{{ |
| 151 | Filesystem Size Used Avail Use% Mounted on |
| 152 | /dev/sda2 110G 33G 72G 32% / |
| 153 | }}} |