Changes between Version 5 and Version 6 of TipAndDoc/boot


Ignore:
Timestamp:
Jul 21, 2011 11:54:52 PM (13 years ago)
Author:
mitty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TipAndDoc/boot

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