Loading...

2009-09-12

Installation of Vine Linux 5.0 on My Notebook computer

Vine Linux 5.0 正式版ががリリースされた。
My Notebook PC / Dell Latitude D410 にインストールしたので、忘備録としてのメモ。

 
Fig-01: Vine Linux 5.0 with Compiz on My Dell Latitude D410
Platform: Dell Latitude D410; Intel Pentium M730 (1.6GHz), Intel 916GM-exp (128MB shared memory), SODIMM PC2-4200 (533MHz) 2048MB, Hard Drive; 45GB/160GB U-ATA,
Environment: Triple boot system, OpenSolaris 2009.06, Windows XP professional +SP3, Vine Linux 5.0 ( Clean installed instead of Ultimate Edition 2.2)

1. Download the ISO-Image on the Windows XP
   Windows XP上のあらかじめ決めておいたダウンロードフォルダに、ここから 適当な Mirror site を選んで、Vine Linux 5.0/i386 DVD/USB ISO ハイブリッドイメージ をダウンロードする。
ダウンロードに際して、 " Wget for Windows -ver.1.11.4" を使ってみた。 Unix 系ではおなじみの GNU wget の Windows 版だ。
Note: "Wget for windows" is available to download form here.    % cd  D:\Downloads\DVD_CD_Image\Vine50  ; 格納先フォルダ
    % wget http://ftp.kddilabs.jp/pub/Linux/packages/Vine/Vine-5.0/IMAGES/Vine50-i386-DVD.iso

2. Create a installation USB stick for Vine Linux 5.0 from Windows XP.
    Windows XP 上でダウンロードした *.iso イメージファイルを利用して、インストール用USBメモリ・スティックを作成する。 インストール用USBディスク は前述の投稿記事の手順で作成した。
    About how-to create a USB memory stick Installer with the downloaded Vine 5.0-x86-DVD.iso image file, refer to my previous posted issue.

3. Reboot the Windows system, still remain to plug-in the USB-Installer-stick.
このUSBインストール用ディスクを挿したまま、システムを再起動する。

4. Install a Vine Linux 5.0 release on My Notebook computer
    Vine Linux 5.0 のインストール: インストーラの起動。
    Step-01. Acordinging to Boot message, push down the "F12" key, then show the boot drive selection menu to apply " boot from USB storage drive".
POST後に F12 キーを押下して、表示されるブートデバイス選択メニューから、USB storage drive を
選んで、 Vine Linux 5.0 インストーラを起動する。 ・・・ Dell D410 の場合。
  Step-02. A grub boot menu for installation of the Vine Linux 5.0 is shown.
    インストーラの Grub boot menu が表示される。
   Step-03. Select the top line in this menu, then boot-up with a slpash screen.
インストーラの Grub ブートメニューの先頭行を選んで、"Enter" するとスプラッシュ・スクリーンが表示されてインストーラが立ち上がる。

Fig-02: Vine Linux 5.0 Installer Grub Menu
上述のとおり、三種類のオペレーティングシステムをインストールした My Note PC のハードディスクのパーティションニングは以下のとおり。
$ sudo fdisk -l
ディスク /dev/sda: 160.0 GB, 160041885696 バイト
ヘッド 255, セクタ 63, シリンダ 19457
Units = シリンダ数 of 16065 * 512 = 8225280 バイト
Disk identifier: 0xde27ca4f

デバイス        ブート     始点      終点    ブロック   Id システム
/dev/sda1               1        5222    41945683+   7  HPFS/NTFS     # /windows/drv_C
/dev/sda2            5223        7833    20972857+   7  HPFS/NTFS   # /windows/drv_D
/dev/sda3   *        7834       13054    41937682+  bf  Solaris      # opensolaris installed
/dev/sda4           13056       19457    51424065    5  拡張領域
/dev/sda5           13056       13071      128488+  83  Linux        # /boot : format ext3
/dev/sda6           13072       16183    24997108+  83  Linux     # /       : format ext3
/dev/sda7           16184       16370     1502046   82  Linux スワップ  # swap
/dev/sda8           16371       19457    24796296   83  Linux     # /home : never format

/dev/sda8 は Ultimate Edition で使っていた格納データを利用したいので フォーマットせず、
マウントポイント /home のみ指定する。
$HOME/dot.file はバックアップしたのちに削除する。
Grub bootloader は OpenSolaris から起動させるので、Vine Linux 5.0 の Grub loader は /dev/sda5 の先頭にインストールする。
もしも、/dev/sda の先頭 MBR にインストールすると、すでにインストールされている OpenSolaris の Grub menu が Vine Linux の Grub に置き替えられてしまうので注意する。

インストールの手順については、"【インストール完全ガイド】Vine Linux 5: ITpro オープンソース / Linux " が詳しい。

5. Edit the Grub Boot menu on the OpenSolaris 2009.06:

Boot-up OpenSolaris 2009.06, then copy the Vine Linux 5.0 grub boot menu lines to the Grub boot menu on the OpenSolaris 2009.06.
Vine Linux 5.0 のインストールが完了したら、OpenSolaris 2009.06 を起動して、OpenSolaris 2009.06 の grub boot menu list に Vine Linux のブートメニューの該当行を追加・編集する。OpenSolaris 2009.06 をインストールしたディスク・パーティションにブートフラグを立てているので、
インストール後のVine Linux 5.0を直接起動させるには、起動ディスクを作成するなど、ひと工夫がいる。

ここでは、 Windows XP から "Explore2fs" を起動して、 /boot/grub/menu.lst を Windows の デスクトップに 抽出しておいた。
これを、外付けの USB ドライブ(FAT32) に転送して、OpenSolaris が起動した後に Text Editor で開いて、 grub mernu (/rpool/boot/grub/menu.lst) に 必要な箇所をコピー・編集する。
便宜上、
# ln -s /rpool/boot/grub/menu.lst /boot/grub/menu.lst 
としておく。

上述の編集を終えた OpenSolaris 上の Gub boot menu のエントリーをリストアップすると、
 # bootadm list-menu
----------------------------------------------------------------------------------------
the location for the active GRUB menu is: /rpool/boot/grub/menu.lst
default 0
timeout 10
0 OpenSolaris 2009.06 based on snv_111b (verbose mode)
1 OpenSolaris preview 2010.02 Development based on snv_122 (verbose mode)
2 Solaris xVM Xen
3 Vine Linux 5.0 (Current kernel)
4 Vine Linux 5.0 (Previous kernel)
5 Memtest86+ , on Vine Linux 5.0
6 Windows XP Professional +SP3
-----------------------------------------------------------------------------------------

GRUB を再インストールしておく (OpenSolaris 2009.06) 。
# /sbin/installgrub -m /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c9d0s0

(-m オプション):
ハードディスクのマスターブートセクター (MBR) 上に GRUB をインストールする と、マシン上に現在インストールされているブートマネージャーが上書きされる。
どの fdisk パーティションがアクティブ に なっているかにかかわらず、 システムは常に Solaris パーティション内の GRUB をブートするようになる。

6. Reboot the System  : システムの再起動
7. Vine Linux 5.0 の GUI 起動 
再起動後に表示される Grub boot menu 上で、 Vine Linux 5.0 (Current kernel) を選択して、
Vine Linux 5.0 が正常に GUI で起動することを確認する。
起動後に GNOME Desktop, Network, Terminal, Fonts-set, Compiz などの設定をおこなう。

 
Fig-03: Vine Linux 5.0 with Compiz on My Dell Latitude D410
  
Fig-04: Vine Linux 5.0 with Compiz on My Dell Latitude D410

0 Comments::