Y_hagurin’s diary

パソコンの奴隷

Windows7ノートPCにデュアルブートでLinuxMint17.1をインストール

環境


USBインストールイメージ作成

  • Linux Live USB Creator(win7)を使う
    • STEP1: 自分が使うUSBメモリを選択
    • STEP2: ダウンロードしてきた上記ISOファイルを選択
    • STEP3: 保存領域は0MBにした
    • STEP4: オプション3つはすべてチェックなしにした(FAT32フォーマット済み)
    • STEP5: 作成開始をクリック(数分~十数分かかった)

Windows7パーティション縮小

  • スタートボタンから"disk management"と検索して"ハードディスクパーティションの作成とフォーマット"を開く
  • C:ドライブを右クリックして"ボリュームの縮小"を選択
  • 空き容量が計算された後、縮小サイズを縮小可能サイズと同じ大きさに設定
  • LinuxMintのための領域が200GBくらい確保できた

インストール手順

  1. USBメモリを差し込み再起動
    • USB内LinuxMintから起動しなければ、再起動直後(ロゴ表示中)にF2キーを押してBIOS設定
    • Boot > Boot Configuration > External Device Boot [Enabled]に設定
    • Boot > Boot Priority > External Deviceが一番上にくるようにF5、F6キーで操作
  2. edit optionsが出てくる(?)
    • "Live Mode"、"Install"、"File Intergrity Check"、"Memory Test"の4つ出てくる
    • "Install"を選んでも、"Live Mode"からインストールしても一緒な気がする
    • ここでは"Live Mode"を選択する(USBメモリに入ったイメージファイルから起動)
  3. Live ModeでLinux Mintが起動したらDesktop上にある"Install Linux Mint"をダブルクリック
  4. 言語選択(ここではEnglishを選択)
  5. Installation typeではSomething elseを選択
    • Something else: You can create or resize partitions yourself, or choose multiple partitions for Linux Mint.
  6. "free space"を選択し、"+"(Add)をクリックしてパーティションを作成
    • Root Partitionを作成する(パッケージとかが入る領域)
      • "Size:"は50GBにした。(データベースをrootに突っ込みまくる人は大きめがいい。ネットサーフするだけなら20~30GBで問題ない。)
      • "Type for the new partition:"はLogical
      • "Location for the new partition:"は"Beginning of this space"
      • "Use as:"は"Ext4 journaling file system"
      • "Mount point:"は"/"でOK
    • Swap Partitionを作成する(仮想メモリ、なくてもよい)
      • "Size:"は物理メモリの2倍、16GB
      • "Type for the new partition:"はLogical
      • "Location for the new partition:"は"End of this space"
      • "Use as:"は"swap area"
    • Home Partitionを作成する(データ領域)
      • "Size:"は残り全部約150GB
      • "Type for the new partition:"はLogical
      • "Location for the new partition:"は"Beginning of this space"
      • "Use as:"は"Ext4 journaling file system"
      • "Mount point:"は"/home"でOK
    • 人によってはバックアップ領域、Boot領域とかを作成するが、ここでは作成しない
  7. 作成したパーティションを選択してInstall Nowをクリック
  8. 場所とかキーボードとかアカウント情報とかを設定
  9. インストール完了後、再起動
  10. USBメモリを抜いて起動して、"Linux Mint 17.1 MATE 64-bit, 3.13.0-37-generic(/dev/sda5)"を選択&確認
Partition: Size Type Location Use as Mount
Root: 50GB Logical Beginning Ext4 /
Home: 約150GB Logical Beginning Ext4 /home
swap: 16GB Logical End Ext4 -

f:id:Y_hagurin:20150122225027p:plain