Loading...
Showing posts with label Installation. Show all posts
Showing posts with label Installation. Show all posts

2010-05-16

Linux Tips: How to add the Repository of VirtualBox 3.1.8 for Ubuntu 10.04 Lucid Lynx

引用・抜粋しまくりのパッチワークで、おそれいりヤス。後にまとめるための覚え書きノート・・・デス (Orz).

最新ニュースを追記しました。 by Baian on Fri May/21/2010,
New "May 18, 2010 VirtualBox 3.2.0 released!"

About VirtualBox: Oracle VM VirtualBox is a general-purpose full virtualizer for x86 hardware that originally created by German software company innotek GmbH, purchased by Sun Microsystems, and now developed by Oracle as part of its family of virtualization products.
It is installed on an existing host operating system; within this application, additional guest operating systems, each known as a Guest OS, can be loaded and run, each with its own virtual environment.
Targeted at server, desktop and embedded use, it is now the only professional-quality virtualization solution that is also Open Source Software.

1-1. Features of VirtualBox:

  • Modularity. VirtualBox has an extremely modular design with well-defined internal programming interfaces and a client/server design. This makes it easy to control it from several interfaces at once: for example, you can start a virtual machine in a typical virtual machine GUI and then control that machine from the command line, or possibly remotely. VirtualBox also comes with a full Software Development Kit: even though it is Open Source Software, you don't have to hack the source to write a new interface for VirtualBox.

  • Virtual machine descriptions in XML. The configuration settings of virtual machines are stored entirely in XML and are independent of the local machines. Virtual machine definitions can therefore easily be ported to other computers.

  • Guest Additions for Windows, Linux and Solaris. VirtualBox has special software that can be installed inside Windows, Linux and Solaris virtual machines to improve performance and make integration much more seamless. Among the features provided by these Guest Additions are mouse pointer integration and arbitrary screen solutions (e.g. by resizing the guest window). There are also guest additions for OS/2 with somewhat reduced functionality.

  • Shared folders. Like many other virtualization solutions, for easy data exchange between hosts and guests, VirtualBox allows for declaring certain host directories as "shared folders", which can then be accessed from within virtual machines.
A number of extra features are available with the full VirtualBox release only (see the "Editions" page for details):
  • Virtual USB Controllers. VirtualBox implements a virtual USB controller and allows you to connect arbitrary USB devices to your virtual machines without having to install device specific drivers on the host.

  • Remote Desktop Protocol. Unlike any other virtualization software, VirtualBox fully supports the standard Remote Desktop Protocol (RDP). A virtual machine can act as an RDP server, allowing you to "run" the virtual machine remotely on some thin client that merely displays the RDP data.

  • USB over RDP. With this unique feature, a virtual machine that acts as an RDP server can still access arbitrary USB devices that are connected on the RDP client. This way, a powerful server machine can virtualize a lot of thin clients that merely need to display RDP data and have USB devices plugged in.

1-2. Hardware Requirements:

  In order to run VirtualBox on your machine, you need the following:
  • Reasonably powerful x86 hardware. Any recent Intel or AMD processor should do.

  • Memory. Depending on what guest operating systems you want to run, you will need at least 512 MB of RAM (but probably more, and the more the better).
    Basically, you will need whatever your host operating system needs to run comfortably, plus the amount that the guest operating system needs.
    So, if you want to run Windows XP on Windows XP, you probably won't enjoy the experience much with less than 1 GB of RAM.
    If you want to try out Windows Vista in a guest, it will refuse to install if it is given less than 512 MB RAM, so you'll need that for the guest alone, plus the memory your operating system normally needs.

  • Hard disk space. While VirtualBox itself is very lean (a typical installation will only need about 30 MB of hard disk space), the virtual machines will require fairly huge files on disk to represent their own hard disk storage.
    So, to install Windows XP, for example, you will need a file that will easily grow to several GB in size.

  • A supported host operating system. Presently, we support Windows (primarily XP) and many Linux distributions on 32-bit hosts and on 64-bit hosts. Support for Mac OS X and Solaris and OpenSolaris appeared in 1.6.

  • A supported guest operating system. Besides the "user manual", up-to-date information is available at "Status: Guest OSes".
ScreenShot: "Status: Guest OSes"


2. Download and Install VirtualBox for Linux Hosts


Ubuntu 10.04 LTS (Lucid Lynx) Virtualbox
novelldesktop - 2009年12月28日

2-1. VirtualBox package for Ubuntu 10.04

VirtualBox には以下のように2種類のバージョンがあります。

VirtualBox(Non Free版)

個人や教育あるいは評価目的の製品の利用において無料です。

サードパーティのレポジトリや手動でダウンロードしたパッケージを利用した場合、アップグレード時に特別な操作が必要となる場合があります。

To run VirtualBox 3.1.8, you will need to install the VirtualBox package from the repository. Please choose the appropriate package for Ubuntu 10.04 Lucid Lynx.
Note: The package architecture has to match the Linux kernel architecture, that is, if you are running a 64-bit kernel, install the appropriate AMD64 package (it does not matter if you have an Intel or an AMD CPU). Mixed installations (e.g. Debian/Lenny ships an AMD64 kernel with 32-bit packages) are not supported. To install VirtualBox anyway you need to setup a 64-bit chroot environment.

VirtualBox Open Source Edition(OSE)

オープンソース版です。virtualbox-ose パッケージをインストールしてください。

After several years of intensive development, VirtualBox was released as Open Source in January 2007. innotek has chosen to release its VirtualBox source code under the GNU General Public License (GPL).
  • The VirtualBox Open Source Edition (OSE) is the one that has been released under the GPL and comes with complete source code. It is functionally equivalent to the full VirtualBox package, except for a few features that primarily target enterprise customers. This gives us a chance to generate revenue to fund further development of VirtualBox.
  VirtualBox OSE is also available from the Downloads page.

※ オープンソース版では、次の機能が利用できません。
  • Remote Desktop Protocol(RDP)サーバ機能
  • USBサポート
  • USB over RDP

2-2. How to add the repository for Ubuntu 10.04 "Lucid Lynx"

Add one of the following lines to your /etc/apt/sources.list:

 deb http://download.virtualbox.org/virtualbox/debian lucid non-free


The Sun public key for apt-secure can be downloaded here.
You can add this key with:


 $ sudo apt-key add sun_vbox.asc


or combine downloading and registering:


$ sudo add-apt-repository 'deb http://download.virtualbox.org/virtualbox/debian lucid non-free'
$ wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -


The key fingerprint is:

AF45 1228 01DA D613 29EF 9570 DCF9 F87B 6DFB CBAE
Sun Microsystems, Inc. (xVM VirtualBox archive signing key)<info@virtualbox.org>

Then to install VirtualBox, open your terminal and input the following command :


 $ sudo apt-get update
 $ sudo apt-get install virtualbox-3.1


You might want to compare the MD5 SUMS to verify the integrity of downloaded packages.

Note: Ubuntu users might want to install the dkms package (not available on Debian) to ensure that the VirtualBox host kernel modules (vboxdrv, vboxnetflt and vboxnetadp) are properly updated if the linux kernel version changes during the next apt-get upgrade.
The dkms package can be installed through the Synaptic Package manager or through the following command:


 $ sudo apt-get install dkms


Note: about VirtualBox 3.2.0 Beta2:

VirtualBox 3.2 beta 2 is not available in this repository so if you want to download Beta 2, you can do it manually from HERE.
VirtualBox 3.2 Beta 2 comes with support for MacOS X, meaning you can install the original MacOS X in your Linux or Windows VirtualBox.

What's New: May 18, 2010 VirtualBox 3.2.0 released!


"May 18, 2010. The VirtualBox team today released a significant new version of Oracle VM VirtualBox(TM), its high performance, cross-platform virtualization software.
VirtualBox 3.2, the first Oracle branded release since the acquisition of Sun Microsystems, Inc by Oracle Corp. earlier this year, contains many innovative new features which deliver further significant improvements in performance, power and supported guest operating system platforms." Read more ... →  追記:by Baian, on Fri May/21/2010
References

Download and Installation:
Documentation:

2009-09-25

Installation of "Linux Mint 7 XFCE Community Edition" on My Notebook Computer

My Notebook, Dell Latitude D410 に Linux Mint 7 XFCE Community Edition をインストールしたときの覚え書き・メモ


Linux Mint 7 XFCE on Dell Latitude D410 with Compiz

# 動作環境;
Platform: Dell Latitude D410; Intel Pentium M730, SODIMM 2048MB (533MHz),
                  Hard Drive; Seagate Momentus 5400.3 ST9160821A, 160GB
Multi-boot System: 三種類のオペレーティングシステムを適宜切り換えて運用する。
OpenSolaris 2009.06 (*), Linux Mint 7 XFCE, Windows XP Professional +SP3
(*): ブートパーティション: ブートローダ Grub をインストールして、ブートする。 ここで Grub boot menu を編集する。

1. LiveUSB の作成: CD-R/RW を作らないので。
Create a 'LiveUSB stick for Linux Mint 7 XFCE edition' from the downloaded LiveCD ISO-Image file with "Win32DiskImager" or my previous posted issues (*) on the Windows XP.
Windows XP 上で、前述の方法(*): (1) または (2) を用いてダウンロードした LiveCD ISO.Image から  Linux Mint 7 XFCE edition の "LiveUSB" を作成する。

2. Partitioning for Linux Mint 7
パーティションの準備: Linux Mint 7 XFCE をインストールするため、Linux 用領域を確保する。
既にインストール済みの Vine Linux 5.0 を置き換えることにして、同じパーティションニングとする。
すでにインストールされている Vine Linux 5.0 を削除して Linux Mint 7 XFCE をクリーン・インストールすることになる。
ここで、 /home ディレクトリ・パーティションは format せずに、$HOME/user 設定ファイルやデータファイルを Mint 7 XFCE で利用する。
$HOME/dot File(隠しファイル・ディレクトリ)の内、 .mozilla, .thunderbird, .vimrc は再利用する。
$HOME/.config/user-dirs.dirs は再利用する。・・・ $HOME/ディレクトリ・フォルダの日本語表示は避けるため。
ここで、$HOME= /home/login-user ディレクトリ。

# fdisk -l   ; (command on Linux)
ディスク /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 XP C: drive *don't format
/dev/sda2            5223        7833    20972857+   7  HPFS/NTFS  # Windows XP D: drive *don't format
/dev/sda3   *        7834       13054    41937682+  bf  Solaris    # OpenSolaris 用 (*) boot from here.
/dev/sda4           13056       19457    51424065    5  拡張領域      
/dev/sda5           13056       13071      128488+  83  Linux  # Linux /boot *format
/dev/sda6           13072       16183    24997108+  83  Linux    # Linux /  *format
/dev/sda7           16184       16370     1502046   82  Linux スワップ
/dev/sda8           16371       19457    24796296   83  Linux    # Linux /home *reuse, don't format
注記 (*): Solaris が Linux  swap にアクセスしないためのオマジナイ として 13055 を空けておく。

3. Start-up Linux Mint 7 XFCE from the Live-USB.
先に作成しておいた "Live-USB" Stick を My Notebook の USB2.0 ポートの一つに挿して、電源投入。
POST 直後に "F12" キーを押下、D410 の Boot menu を表示させる。


 Fig-01: Device Boot menu on Dell D410, after pressed F12 key 

二番目のライン: USB Storage Device を選択して、 [Enter] キー押下、LiveUSB をブートさせる。
  Then selecting the second line " USB Storage Device", press [Enter] key to boot Live-USB system.
  
Step-1-a. Automaticaly booting up a LiveUSB/CD in 10 seconds.[Fig-02-a]
          However, press [ESC] key within 10 seconds, it is available for
          switching over to the grub boot menu. [Fig-02-b]
まずはじめに [Fig-02-a] の画面が立ち上がる。10秒間経過後に自動的に LiveUSB/CD がブートする。このとき、10秒以内に [ESC] キーを押下すると、Welcome メッセージが付いた Grub ブートメニューに切り換えることができる。[Fig-02-b]


Fig-02-a:Automatic boot on Linux Mint 7 XFCE LiveUSB/CD

Step-1-b. On the Live Grub boot menu select the top line, then press [Enter] key.
           It will be able to start the Linux Mint 7 XFCE on a LiveUSB/CD. 
  ブートメニューの先頭行を選択して、[Enter] キーを押下げるとブートする。
  あるいはここで、インストールモード、LiveCD の完全性のチェック、メモリテストの実行、または、ローカルなハードドライブからの起動を選択できる。


Fig-02-b: GRUB boot menu on Linux Mint 7 XFCE LiveUSB/CD 

Step-2. A Boot Splash Screen appears ・・・from freedom came elegance.


Fig-03: Boot Splash Screen on LiveUSB/CD 

Step-3. automatic login ・・・ Start-up / Xfce Desktop appears.


Fig-04: Mint 7 Xfce Desktop on Mint 7 XFCE LiveUSB/CD

Step-4. Installation to the hard drive
         Desktop 上の "Install" アイコンをクリックして、インストールを開始する。
         Click "Install" icon on the Desktop, then the Installer is executed.


 Fig-05: Welcome to install dialogue on Mint 7 XFCE LveUSB/CD

以降、"進む(F)" ボタンをクリックして、画面の指示に従ってインストール作業をすすめる。
 
Step-5. According to the installation dialogues, go ahead to install to the hard
         drive.
        Location-date-time settings - keyboard layout settings - partitioning -
Login user account settings - ----- all done, succeeded the installation.

# Linux Mint 7 XFCE 用のパーティションは、上述の 2項で準備したとおりに設定した。
なお、Windows XP の C-drive, D-drive ともに、起動時にNTFS でマウントされるように、
それぞれ  /windows/C-drv, および /windows/D-drv として設定した。
        

注意: パーティションニング・システムインストールの際には、 Mint 7 の Grub は /dev/sda5 の先頭にインストールしておく。
/dev/sda の MBR にインストールすると、既存の OpenSolaris のブートメニューを置き換えてしまい、後始末が面倒となる。

4. Reboot the system, plugged out USB-stick.  システム再起動。
5. Boot from the hard drive. インストールしたハードディスクから起動する。
Edit the Grub Boot menu on the OpenSolaris 2009.06:
Boot-up OpenSolaris 2009.06, then copy the Linux Mint 7 XFCE grub boot menu lines to the Grub boot menu on the OpenSolaris 2009.06.


Linux Mint 7 XFCE のインストールが完了したら、OpenSolaris 2009.06 を起動して、OpenSolaris 2009.06 の grub boot menu list に Vine Linux のブートメニューの該当行を追加・編集する。

OpenSolaris 2009.06 をインストールしたディスク・パーティションにブートフラグを立てているので、インストール後の Linux Mint 7 XFCE を直接起動させるには、起動ディスクを作成するなど、ひと工夫がいる。・・・ Multi - Triple boot sysytem の面倒くさいところだ。

ここでは、 Windows XP から "Explore2fs" を起動して、/boot/grub/menu.lst を Windows のデスクトップに抽出しておいた。

これを、外付けの USB ドライブ(FAT32) に転送して、OpenSolaris が起動した後に Text Editor で grub mernu (/rpool/boot/grub/menu.lst) を開いて、 Linux Mint 7 XFCE のブートメニューをコピーし、編集する。

便宜上、
# ln -s /rpool/boot/grub/menu.lst /boot/grub/menu.lst 
としておく。

※ GRUB の起動は OpenSolaris 2009.06 上でおこなって、 起動時に Linux Mint 7 XFCE edition を選択・ブートさせる。
上述の編集を終えた OpenSolaris 上の Gub boot menu のエントリーをリストアップすると、
 # bootadm list-menu   : ( command on the OpenSolaris )
---------------------------------------------------------------------------
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 Linux Mint 7 Gloria XFCE, Current kernel (verbose mode)
4 Linux Mint 7 Gloria XFCE, Current kernel (recovery mode)
5 Memtest86+ , on Linux Mint 7 'Gloria' XFCE community edition
6 Windows XP Professional +SP3

--------------------------------------------------------------------------

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

6. # reboot ( or # init 6) : 再起動する。
起動した Grub boot menu で、 Linix Mint 7 XFCE を起動する。
3 Linux Mint 7 'Gloria' XFCE, Current kernel)  を選択する。

verbose mode で Linux Mint 7 XFCE が立ち上がり、GDM ログイン画面が表示される。

7. Login with the added user account. 設定したユーザ・アカウントでログインする。


Fig-06: Desktop - Global-Dimension on Linux Mint 7 XFCE

インストール後のシステム環境設定・整備:
1. パッケージのリポジトリを更新し、必要に応じてパッケージをアップデートする。
2. Ubuntu Japanese Team のリポジトリを追加して日本語環境を整える。
3. $HOME 以下のディレクトリ、ファイルの整理、Shell、端末の環境整備。
4. ネットワークの設定・調整、ブラウザ、メールクライアントの設定。
5. 各種サーバの適宜導入・設定。
6. Desktop の環境整備。外観、
7. アプリケーションの追加インストール:mintinstall, synaptic, apt-get で。
8. その他


ぼちぼち進めませう。・・・ to be continued.

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

2009-08-26

How to install Vine Linux 5,0 release on an USB stick From Vine Linux 5.0 DVD

How to Install Vine Linux 5.0 DVD Image on an USB stick from Windows XP, issued as follows.
USB-stick へのインストール作業をWindows XP上で行なうときの手順のメモ。

Step-01: Find the device drive letter
Windows XP を立ち上げて、USB メモリ・スティックを挿したときに、エクスプローラで表示されるドライブレター(ここでは E: ) を覚えておく。
You have to plug your USB stick while Windows XP is running. In the explorer, a new drive letter will appear, and you can access the file of this USB stick. In this howto's, we will suppose your USB stick letter is E:. Don't forget to change this letter in the commands if required.

Step-02: Format the USB stick as FAT (FAT32)
USBメモリを FAT32 でフォーマットする。NTFS では動作しない。
First, format the device. You can just right-click on the USB-device in the Explorer, and then select "Format...", and choose a FAT (FAT32) filesystem (it won't work with NTFS).
フォーマットが完了したら、Step-03 の手順で Vine Linux 5.0 の全ファイルをUSBメモリのルートにコピーする。

Step-03: Download the ISO image file and Copy files from the DVDrom
ここから ISOファイル をダウンロードして DVD-Rメディアを作成する。
ほかにこのメディアを使用する予定がないのであれば、仮想CD-ROMドライブソフトウェアの DAEMON Tools で ISOファイルをドライブとしてマウントする方法もある(注)。
注:DAEMON Toolsの4.xxにはアドウェアが同梱されている。気になる方は、3.xxを使用することをお勧めする。
Now, you have to copy the most important files from the DVDom. If you don't want to burn the DVDom, you can read the files from the ISO by mounting the disc with a tool such as Daemon-tools.

ここでは、Daemon Tools を起動して、ダウンロードした Vine Linux 5.0/i386 DVD/USB ISO ハイブリッドイメージ: Vine50-i386-DVD.iso を 仮想ドライブにマウントする。
ここで、仮想 DVDドライブレターは H: とした。
Vine Linux 5.0 の全ファイルをUSBメモリのルートにコピーする。次に、USBメモリのルートにコピーされた isiolinux ディレクトリの中の、isolinux.cfg ファイルを syslinux.cfg というファイル名に変更する。
次いで、 isiolinux ディレクトリの名前を syslinux に変更する。

With a Daemon Tools, mount the Vine Linux 5.0 x86 DVD ISO image to the virtual DVD drive (H:).   1. Copy all files of the DVDrom release of Vine Linux 5.0 to the root of the USB device
   2. Rename the file in isolinux which is called isolinux.cfg to syslinux.cfg
   3. Rename the directory called isolinux to syslinux

Step-04: Make the disk bootable
まず、SYSLINUX というブートローダを http://syslinux.zytor.com/ からダウンロードする。SYSLINUX は、フロッピーメディア用として開発されたブートローダだが、USBメモリにもインストール可能だ。今回は、Windows 用の SYSLINUX をダウンロードする。

What is SYSLINUX?
SYSLINUX is a boot loader for the Linux operating system which operates off an MS-DOS/Windows FAT filesystem. It is intended to simplify first-time installation of Linux, and for creation of rescue- and other special-purpose boot disks.

SYSLINUX can be used, when properly set up, to completely eliminate the need for distribution of raw diskette images for boot floppies. A SYSLINUX floppy can be manipulated using standard MS-DOS (or any other OS that can access an MS-DOS filesystem) tools once it has been created.

Windows 用の SYSLINUX は、ZIP 形式の圧縮ファイルとなっている。最新版は、syslinux-3.82.zip だ。ダウンロードしたら、このファイルを展開する。

Please, check you have syslinux version 3.52 or newer (Latest version is 3.82).
The Windows version is provided as a ZIP archive. You just need syslinux.exe from the archive.
  • 2009-06-09 : SYSLINUX 3.82 released. This is a bug fix release. 
最後に、Windows XPのコマンドプロンプトを開いて、SYSLINUX を展開したフォルダ内の win32フォルダ(ここでは syslinux-3.82\win32)を移動し、「-ma」オプションを付加してsyslinux.exe を実行する。書式は以下のとおりだ。
Now, you have to make your stick bootable with syslinux. You will have to run this program from a prompt console (cmd.exe). Don't forget to change this letter in the commands if required.
% syslinux -ma USBメモリのドライブレター

例えば、USBメモリが E:に割り当てられている場合は、以下のようになる。
% syslinux -ma E: (USB-stick drive letter)

Users have reported that the option ma may be necessary with syslinux to get it to work. That's why we provides these options in that handbook. It works only on Windows:
    * -m means write mbr
    * -a means make drive partition active (aka bootable).

Step-05: Reboot your system with still remain plug-in your USB stick.

以上で作業は完了だ。BIOSの設定を変更して、起動用デバイスの設定でUSBメモリの優先順位を上げ、システムを起動する。

 参考: 1CD LinuxをUSBメモリから起動するには

2009-07-24

Installation of OpenSolaris 2009.06 release on My dynabook Satellite J50


Platform:
Toshiba dynabook Satellite J50 173L/5X
          CPU: Intel Pentium M740(1.73GHz) with Intel Speedstep Technology,
          Graphics Controller: Intel Mobile 915GM Express (128MB: shared memory),
          Extended memory: 2GB(1GB x 2Slots, max), DDR2-PC4200 SDRAM (533MHz),
          Hard Drive: 40GB-osol/80GB Fujitsu SATA (Internal),
          Optical Drive: Matshita UJ-850S DVD-RAM Super Multi Slim Drive (Internal),
          Floppy Drive: 3.5 inch 2 Mode (Internal),
          Ethernet Controller: Marvel 88E8053 PCI-E Gigabit Ethernet (internal),
          PCMCIA 2-slots 32bit (cardbus),
Install media: opensolaris 2009.06 Live USB stick (2GB) with USB Creator by Chyonan-san.
                osol-0906-x86.usb downloaded from GENUNIX site,
Procedure:
1. Start-up OpenSolaris 2009.06 with Live USB
   Insert Live USB stick to one of USB2.0 ports on my notebook computer.
   Power on, then push down F12 key, select to "start a USB storage drive" form the boot menu.

2. Starting from GRUB menu, select top line on it. Then the Live USB boot up successfuly.
3. login automaticaly, start up OpenSolaris 2009.06, Gnome Desktop is appeared fairly.

4. Execute DDU(Device Driver Utility).
   Marvel 88E8053 PCI-E Gigabit Ethernet driver is missing, then search this driver from the Mavel site or third party vendors.
   This dirver has been available to download from here.
   After installation to the solaris partition on my hard drive, download this binary source tar-ball from here.

5. Install OpenSolaris 2009.06 to the solaris partition on my hard drive.
   Click the icon "install here", Installation is started.
   For a while, about 30 minutes, installation has done successfully.

6. Reboot the system and eject the Live USB stick.
   Starting from GRUB menu, select top line on it.
   Then the system boot up successfuly.

7. GDM login with the configured account user and password.
   After a while, starting-up OpenSolaris 2009.06 Gnome desktop is appeared.  

8. Installation for Marvel myk ethernet driver
    Using with the another computer, pluged in a USB stick for storing some files.
8-1. Download tar-ball driver file to the stored directory on my USB stick drive.
       % cd <my downloaded file stored directory>
       % wget http://homepage2.nifty.com/mrym3/taiyodo/myk-2.6.8.tar.gz  
    
      Unmount and eject the USB stick from the another computer.

8-2. Plugin the USB stick stored the downloaded tar-ball binary myk-driver file on my dynabook satellite J50.
      % cd <my downloaded file stored directory>

8-3. Extract the downloaded tar-ball driver file. 
      % gunzip -cd myk-2.6.8.tar.gz | tar xf -

8-4. Add hostname for the NIC card into /etc/hosts file

8-5. Make links to correct binary directory and Makefile according to your configuration.
       i386 and gcc are default.

        % cd /.../myk-2.6.8
        % rm obj Makefile
        % ln -s Makefile.${KARCH}_${COMPILER} Makefile
        % ln -s ${KARCH} obj
   where ${KARCH} is the result of `isainfo -n`, and ${COMPILER} is "gcc" or "suncc" which you want to use to make the driver.
   On my dynabook J50, ${KARCH} is "i386" and ${COMPILER} is "gcc".


8-6. Making binaries only for OpenSolaris users.
      The driver likely work with GLD v3 in OpenSolaris, known as Nemo.
       You can enjoy the new functions by recompiling the source code.

        % rm Makefile.config
        % ln -s Makefile.config_gld3 Makefile.config
        % /usr/ccs/bin/make

8-7. Testing myk driver
       Testing before installation is strongly recommended.

        # cd /.../myk-2.6.8
        # /usr/ccs/bin/make install
        # ./adddrv.sh
        # /usr/ccs/bin/make uninstall  (for solaris7, don't remove the file )
        # modload obj/myk
        # devfsadm -i my0 (for solaris7, use drvconfig and reboot with -r )
        # ifconfig myk0 plumb ( where N is an instance number, typcally 0 for first card)
        # ifconfig -a        ( you will see an entry for mykN)
        # ifconfig myk0 satellite
        # ifconfig myk0      ( ensure IP address is correct)
        # ifconfig myk0 up   ( and then you can test with ping, telnet, ftp ...)

8-8. Installation myk driver
       After you ensure that the myk driver is fully functional, install it.

  (1) install the myk driver into the kernel directory
        # cd /.../myk-2.6.8
        # /usr/ccs/bin/make install

    If you do not test the myk driver yet, execute the following commands:
        # ./adddrv.sh
        # devfsadm -i myk (for solaris7, use drvconfig and reboot with -r)

  (2) Configure the network interface. Create and/or modify the following file:
        /etc/hostname.myk0

  (3) Reboot the system.
        # init 6

Reference: Free NIC drivers for Solaris
03/25/2009 myk-2.6.8 was released
---------------------------------------------------------------------------
21. myk driver for marvell PCI-E GbE controller yukon2

This was ported from FreeBSD msk driver, and an open source alternative for solaris skge driver.

Tested OS version: Solaris Expesss nv90 x86

Tested chips: marvell 88E8053, marvell 88E8058

Source file with x86/amd64 binaries: myk-2.6.8.tar.gz


NOTE: This driver doesn't support marvel yukon PCI GbE controllers.

********************************************************************
CAUTION: There is NO WARRANTY for this software.
As this software is loaded into the kernel, it might cause the kernel to
panic or hang.
                                                Masayuki Murayama
                                                KHF04453@nifty.ne.jp
********************************************************************
# Introduction
This is the Marvell yukon2 PCI express giga bit ethernt NIC driver for
Solaris.  It is distributed under the BSD license.

# Specification of the driver
File name of the driver: /kernel/drv/myk
Special file name: /dev/mykN (Where N is a unit number, typcally 0 for first card)
        For example
                % ifconfig myk0
RTL8169/8110 chipset dosn't support 1Gbpis half duplex mode.
Currently myk driver isn't stable on sparc platforms.

Tested OS version: Solaris nv 83a (Athlon 2800+ w/ SiS760GX)

Tested cards:  88E8053 -- Kurotoshiko GBE-PCIe
********************************************************************