Loading...
Showing posts with label Vine linux. Show all posts
Showing posts with label Vine linux. Show all posts

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-09-01

Image Writer for Windows

Windows 上で Linux の CD/DVD Image ( *.img 形式) を USB メモリや SDメモリに書き込むための
フリーソフトの覚え書き。 
Ubuntu をはじめ、Linux distribution に適応できるようだ。

Vine Linux 5.0/i386 DVD/USB ISO ハイブリッドイメージ を試してみる。
ダウンロードした ISO Image ( *.iso ) を *.img 形式にリネームして供する。
ソフトのダウンロード
win32diskimager-RELEASE-0.2-r23-win32.zip (md5) win32 binaries 

USBメモリ:ここでは microSD 2GB を USBメモリ・リーダ・ライター・アダプタに装着たものを使用した。
USBメモリのフォーマット: FAT32 で初期化する。

Fig-01: USBメモリのフォーマット



ダウンロードした *.zip ファイルを適当なアーカイバ(圧縮・解凍ソフト)でデスクトップに展開(解凍)する。
展開したフォルダの Win32DiskImager.exe を起動する。

Fig-02: 展開した win32diskimager フォルダの中身

書き込むイメージファイルと書き込み先のUSBメモリ・ドライブを指定したのちに、 Write ボタンをクリックして書き込みスタート。

Fig-03: Disk Image 書き込み中
 
書き込み済みのUSBドライブのファイル内容をWindows上で読み取ることができないので注意。

以下は、このソフトの詳細についての引用文である。
Image Writer for Windows
"This tool is used for writing images to USB sticks on Windows.
Wiki

This is a Windows program for saving and restoring images from removable drives (USB drives, SD Memory cards, etc). 
It can be used to write boot images (i.e. Ubuntu-9.04-netbook-remix.img) to a usb drive, making it bootable. This program can be downloaded from here and the source code is available here. "
Screenshots

About Image Writer 0.2 "maddog"
Project: Image Writer
Series: 0.2
Release version: 0.2
Release code name: maddog
Expected:
Released: 2009-04-28
Registrant: Michael Casadevall
When: 2009-04-28

Download files for this release
After you've downloaded a file, you can verify its authenticity using its MD5 sum or signature. (How do I verify a download?)

File Description Downloads
win32diskimager-RELEASE-0.2-r23-win32.zip (md5) win32 binaries
win32diskimager-RELEASE-0.2-r23-source.zip (md5) source

Release notes : This release does not have release notes.
Changelog : This release does not have a changelog.

There are no feature specifications or bug tasks targeted to this milestone. The project's maintainer, driver, or bug supervisor can target specifications and bug tasks to this milestone to track the things that are expected to be completed for the release.
Subscribe to bug mail

Related milestones and releases
All milestones for the Image Writer project
All releases for the Image Writer 0.2 series

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-08-25

Vine Linux 5 Released

Vine Linux 5 を公開

2009年8月24日、2年ぶりの新メジャーバージョン Vine Linux 5 の正式リリースを公開しました。
なお、ミラーサイトへの伝搬には時間がかかる見込みですが、特別な理由がない限りは 各ミラーサイトを御利用ください。
また、VinePlus/5 も同時に公開され apt や synaptic 等で入手可能になっています。

Vine Linux 5 の特徴
  • 軽量・高速
  • 収録ソフトウエアの大幅な刷新
  • x86_64 アーキテクチャ対応
  • ルック&フィールの改善
  • ユーザフレンドリなツール群
  • USB/DVD 用インストールイメージの提供
その他、詳しくは リリースノートを参照してください。
Distribution Release: Vine Linux 5.0 released
"Daisuke Suzuki has announced release community distribution for desktops, vine linux version 5 since this is a commercial free applications and fonts are not included on the cd instead of proprietary atox japanese ....."

2007-04-22

Vine Linux で Internet Radio

インターネットラジオを聞く時に、便利なソフトがこの streamtuner です. streamtuner はストリームディレクトリブラウザ(インターネット オーディオ ストリーム ブラウザ)です. プラグインシステムを使って様々なストリーミングディレクトリ向けの直感的で統一したインターフェースを提供します.


1.パッケージのダウンロード・インストール
    Vine Linux の HTTP や FTP サイトから、apt や Synaptic を使って必要なバイナリパッケージをダウンロード・インストールします.
  streamtuner 関連のバイナリパッケージは以下のとおりです.
  streamtuner-devel はstreamtuner の開発向けのファイルで、streamtuner のヘッダファイルやスタティックなライブラリを提供します.
   streamtuner-plugins は streamtuner 用のプラグインファイルで、Xiph.org ステーションやLive365 や Shoutcast などです。

2.streamripper
  また、オーディオ・ストリームレコーダ streamripper をインストールすると、選択した番組を聞きながら、Air-Check 録音することができます。 streamripper を起動すると、お望みのストリーム・楽曲をあらかじめ設定したフォルダに自動的にリッピングながら、mp3 形式で格納してくれます。
  streamripper のバイナリパッケージは以下のとおりです.
  streamripper は shoutcast 互換ストリームや live365 ストリームを録音します。
 shoutcast スタイルのストリーム用に"メタデータ"やトラック毎に分かれ たデータを検索して、トラックがどこで分離できるかを知るマーカーとして使えます。
 live365 ストリーム用にはウェブサイトを探し、トラックがいつ切 り替わるかを調べます。いずれの場合もMP3データはデコードされ、トラックが作成される silent ポイントを探します.

3.ソフトの各設定:
  streamtuner の起動画面です.インストールが完了すると、プログラムメニュー/マルチメディアに streantuner アイコン付きで項目設定されます.
  Vine Linux 4.1 の場合、ツールバーの各種メニューは日本語表示されていて、操作し易くなっています。
Image-02: streamtuner の設定画面

Image-03: streamtuner 設定画面  アプリケーションの選択・設定

Fig-04: streamtuner 設定画面  起動時に読み込むプラグインの選択

Fig-05: お気に入りのストリームを選択して、BeepMediaPlayer で聴く
Fig-06: お気に入りのストリームを録音中.streamripper が起動している.

Fig-07: Streamtuner 設定画面 起動時に読み込むプラグイン -
SHOUTcast サイトを選択表示させた.

2007-04-05

Vine Linux で JW_Cad

かねてより試してみたかった、Wine で JWCad(ver.5.11e) の導入・試用感のメモです.

Image: JWCad ver.5.11e with Wine on Vine Linux 4.1
Wine は、よく知られているように Microsoft Windows のプログラムを unix系 (Linux,FreeBSD, Solaris など) のプラットフォームで動かすことができるようにするソフトウエアです。
その仕組みは、簡単に言ってしまえば Microsoft Windowsのプログラムをロードし、 Windows APIをunix 系の OS (のX上)で、エミュートする、というものです。
Wine の最新版は、WineHQ からダウンロードできます.Wineは、GNU LGPL の元に配布されているフリーソフトウエアです.

1. 動作環境
  プラットフォーム: DynaBook Satellite1800 PIII-800MHz (256MB),HDD40GB
                       Trident CyberBlade 8MB VRAM LCD: 14.1inch 1024×768 (16bit)
   Operating System:Dual-Boot System ( WindowXP-pro.+ Vine Linux 4.1 )
               Vine Linux 4.1 (Kernel-2.5.16-0vl73) 用に 20MBを領域確保.
               Desktop Manager: GNOME-2.14
2. Wineのダウンロード・インストール
  ソースアーカイブをここから ダウンロードします.最新バージョンは 0.9.34 ( 2007-03-30 07:52 )ですが、ここでは wine-0.9.22 (2006-09-28 11:12) released. をダウンロード・インストールしています.

この理由については後述(※)します.
・ 旧バージョンwine-0.9.22のダウンロード
  $ cd [ Downloaded direcory ]
  $ wget http://downloads.sourceforge.net/wine/wine-.9.22.tar.bz2?modtime=1159474738&big_mirror=1 (1行で入力する)

 ・ 展開
   $ ls wine-0.9.22.tar.bz2
      $ tar jxvf wine-0.9.22.tar.bz2
      $ cd wine-0.9.22
 
 ・ コンパイル
     $ ./configure --prefix=/usr/local/wine # インストールディレクトリを指定するオプション
     $ make depend
     $ make
     $ su -

  ・ インストール
    # make intall
   
  ※ READMEの記述によると、 $ ./tools/wineinstall がおすすめのようです.
  上記コマンドを実行すると、途中で root passwd の入力を求められます. 終了するまでゆっくり待ちましょう.

    マシンパワーによります.

 ・ インストール後の Wine の設定
    $ winecfg で wineを設定.

 
 ・ アプリケーションの起動テスト
     $ wine notepad でメモ帳が起動します。

 
 ・ リンカ(ld) がインストールした Wineライブラリを認識しない場合の対処法
   # vi /etc/ld.so.conf して、 /usr/local/lib を追加します。
   # /sbin/ldconfig を実行します。


3. JWCad のインストール
Jw_cadのページ (jwcad.net) にアクセスして、最新版 jww511e.exe をダウンロードします。
 $ wine jww511e.exe  で解凍・インストールが始まります。 インストール場所は、デフォルト C:\jww とします。
途中、スタートメニューに登録するかを聞かれたら、いいえと答えてインストールを完了します。

4. Jw_win を起動
  $ cd /home/username/.wine/drive_c/jww
  $ wine Jw_win.exe
 または、
  $ wine "c:\jww\Jw_win.exe"

 
 ・ wineのバージョンを確認するには、 コマンドラインで 
$ wine --version とするか、 $ winecfg で表示されるダイアログのタブ 「wineについて」 を開きます。
 
(※) wine-0.9.23以降の不具合 (Fedora Core 6
    日本語(英語以外?)環境で不都合があるらしい。
   wine-0.9.23 以降の場合に、SCIM を使用している状態で、起動した Windows アプリが固まるそうです。




参考・引用
     jok's page