HP Compaq Presario SR5023WM Setup and Install

SCSI Hard Drive Installation
HP Workstation xw Series
This document describes how to install a SCSI hard drive into an HP Workstation xw series.

Installing the New Hard Drive

WARNING: To reduce the risk of personal injury from hot surfaces, allow the internal system
Å
components to cool before touching.
Ä
CAUTION: Be sure that the power to the workstation is off. Disconnect the AC power cord to avoid electrical damage to the workstation. Electrostatic discharge (ESD) can damage electronic components. Be sure you are properly grounded before beginning this procedure. For more information, refer to the Service and Technical Reference Guide for your HP workstation at http://www.hp.com/support/workstation_manuals.
NOTE: For product-specific information, refer to the Service and Technical Reference Guide for your HP workstation at http://www.hp.com/support/workstation_manuals.
NOTE: HP strongly recommends that only an HP authorized dealer, reseller, or service provider replace your primary hard drive.
NOTE: HP accessories are for use in HP workstation products. They have been extensively tested for reliability and are manufactured to high quality standards. HP, therefore, warrants only those accessories that are manufactured or sold by HP.

Setting the SCSI ID

Before installing a SCSI hard drive in your system, you must give the hard drive a unique SCSI ID.
All SCSI controllers require a unique SCSI ID (0-15) for each SCSI device that is installed. The reserved and available SCSI ID numbers for SCSI devices are:
0 is reserved for the primary hard drive (not reserved for the primary hard drive on Linux).
7 is reserved for the SCSI controller.
1 through 6 and 8 through 15 are available for all other SCSI devices.
When 0 is used for the primary hard drive, set the second hard drive to 1, the third to 2, and so on.
To set the SCSI ID on a drive, see the instructions on top/back of the hard drive for the correct jumper settings. The drive probably displays a diagram of the jumper block. This diagram shows you what blocks to cover with your jumper to get the desired ID.
For example, if the drive needs to be set to 3, the drive might show that the 4 ID bits are at the far left of the connector (ID0, ID1, ID2, and ID3), then using the jumpers provided, cover each block to set the SCSI ID.

Installing the Hard Drive

After you have given the hard drive a unique SCSI ID, you can install the hard drive into your system.
NOTE: For product-specific information, refer to the Service and Technical Reference Guide for your HP workstation at http://www.hp.com/support/workstation_manuals.
1. Disconnect power from the system and remove the access panel.
2. Select a drive bay in which to install the drive. If installing more than one hard drive, install drives in the order as shown in the following illustrations.
NOTE: If you workstation does not have drive rails or you are installing the hard drive into bay 5, skip to step 5.
4 3 2
1
5
2
1
2
1
3. Squeeze the green tabs inward and slide the rails out of the empty bay.
4. Attach the rails to the hard drive by first inserting the hard drive rail assembly pins into one side of the hard drive screw holes. Next, gently flex open the opposite side of the hard drive rail assembly and insert the remaining pins into the holes in the hard drive.
2
5. Push the drive into the selected bay until it snaps into place. Then attach the power and data cable to the drive.
NOTE: For an HP Workstation xw4200, install two 6-32 screws into each side of the hard drive before sliding the hard drive into the bay.
NOTE: If installing a hard drive into bay 5, lay the workstation on its side and remove the three drive screws that are located near bay 5. Insert the drive into bay 5 and align the holes in the bottom of the hard drive with the screw holes at the base of the chassis. Insert the screws through the base and tighten the hard drive to the chassis.
The following image shows the xw8200 loaded with SCSI hard drives.
6. Connect the data cable to the SCSI1 connector on the system board (find it near the base of the workstation or see the previous illustration).
If your workstation does not include a SCSI connector on the system board, you need to install a SCSI controller card. Refer to the next section for additional instructions.
7. Replace the front bezel, access panel, reconnect any peripheral devices, and reconnect power.
3
SCSI Controller Card
1. If you have not already done so, follow the applicable instructions for “Installing the Hard Drive.’’
2. Insert the SCSI controller card into an available PCI expansion slot.
3. Connect the SCSI cable to the SCSI controller card.
4. Connect the hard drive LED cable to the SCSI card and to the system board. The LED header location is available on the system board image on the access panel.
The following image shows the xw6200 loaded with SCSI hard drives. The hard drive cable might have extra connectors for other hard drives, but those connectors have been omitted in the following image for clarity.
5. Replace the front bezel, access panel, reconnect any peripheral devices, and reconnect power.
WARNING: This equipment is designed for connection to a grounded (earthed) outlet. The ground type plug is an important safety feature. To avoid the risk of electric shock or damage to your equipment, do not disable this feature.

Configuring the Workstation

System configuration is the process of specifying the devices and programs that make up a workstation system. When you add or remove a hard drive, reconfigure the workstation to recognize these changes.
Turn your workstation on and read the messages that appear during startup.
If the system recognizes the new drive, information about the drive displays on the screen and you are
prompted to press F1 to save and continue.
If you are not prompted to press F1, there is a problem with the installation of the drive, and you need
to diagnose the problem. Start by reviewing the steps in this guide.
4

Creating a Partition Using Windows XP

To create a partition for the new drive using Microsoft® Windows® XP:
1. From the desktop click Start, then click Control Panel.
2. Click Administrative Tools. If in Category view, click Performance and Maintenance, then click Administrative Tools.
3. Click Computer Management.
4. Click Storage.
5. Click Disk Management. This starts the Write Signature and Upgrade Disk Wizard. Click Cancel to stop the wizard.
6. Right-click Disk 1 Unallocated area. If adding a third disk, click Disk 2 Unallocated area; if adding a fourth disk, click Disk 3 Unallocated area; and so on.
7. Click Initialize Disk.
8. Click OK.
9. Right-click the black bar above the Unallocated Disk area.
10. Click New Partition to run the New Partition Wizard.
11. Click Next.
12. Select the partition needed or use the defaults.
13. Click Next.
14. Specify the partition size or use the defaults.
15. Click Next.
16. Specify the drive letter of the partition or use the default.
17. Click Next.
18. Select Choose Partition File System and other Partition Parameters or use the defaults.
19. Click Next.
20. Verify that the information in the Settings box is correct before finalizing the partition information.
21. Click Finish to create the partition and begin the format process.

Creating a Partition Using Windows 2000

To create a partition for the new drive using Windows 2000:
1. From the desktop click Start, point to Settings and click Control Panel.
2. Click Administrative Tools.
3. Click Computer Management.
4. Click Storage.
5. Click Disk Management. This action starts the Write Signature and Upgrade Disk Wizard. Click Cancel to stop the wizard.
6. Right-click the Disk 1 Unallocated area. If adding a third disk, click Disk 2 Unallocated area; if adding a fourth disk, click Disk 3 Unallocated area; and so on.
7. Select Create Partition and run the wizard.
8. Click Next.
5
9. Select the partition needed or use the defaults.
10. Click Next.
11. Specify the partition size or use the defaults.
12. Click Next.
13. Specify the drive letter of the partition or use the default.
14. Click Next.
15. Select Choose Partition File System and other Partition Parameters or use the defaults.
16. Click Next.
17. Verify that the information in the Settings box is correct before finalizing the partition information.
18. Click Finish to create the partition.

Creating a Partition Using Linux

Creating an ext3 File System on a New or Existing Hard Drive
If you are adding a new hard disk drive to a Linux system and want to utilize the ext3 file system, you must first partition the hard disk with a program such as fdisk and then format the file system.
Partitioning with Fdisk
The fdisk command requires you to specify the device you are partitioning as an argument to the command. In the following examples, the device will be /dev/hdb, which corresponds to the second device on the primary IDE channel. If you are working with a SCSI or SATA HDD, then the first device would be /dev/sda, second would be /dev/sdb, and so on.
To begin using fdisk using this example, enter:
1. Open a shell prompt and log in as the root user.
2. Enter /sbin/fdisk /dev/hdb
NOTE: If you need to exit the program at any time without altering your disk, enter q.
3. Now that you are in the fdisk program, enter n to create a new partition. The program asks you to choose a partition type, choose e for an extended partition and p for a primary partition.
Before choosing the partition type, be aware that Red Hat Linux (which is most likely installed on your HP system) only allows up to four primary partitions per disk. If you wish to create more than that, one (and only one) of the four primary partitions may be an extended partition, which acts as a container for one or more logical partitions. Since it acts as a container, the extended partition must be at least as large as the total size of all the logical partitions it is to contain. For more information on disk partitions, see the “An Introduction to Disk Partitions” appendix in the Official Red Hat Linux Installation Guide at
4. After choosing the partition type and the number for that partition, choose which cylinder head you would like the partition to start on. You can press the Enter key to accept the default value.
5. Next, specify the size. The easiest way to do this is to enter +sizeM, where size is the size of the partition in megabytes. If you press the Enter key without entering a value, fdisk will use the remainder of the disk.
http://www.redhat.com/docs/manuals/linux.
6
6. Repeat this process until you have created your desired partitioning scheme.
NOTE: By entering w, you are permanently destroying any data that currently exists on the device. If you need to preserve any data, enter q to exit the program without altering the disk.
Formatting an ext3 File Systems with mkfs
After you have created partitions on the disk drive using a partitioning program such as fdisk, use mkfs to create an ext3 file system on each partition.
1. Open a shell prompt and log in as the root user.
2. Enter: /sbin/mkfs -t ext3 /dev/hdbX
In the above command, replace hdb with the drive letter and X with the partition number.
NOTE: Using mkfs to format a disk partition permanently destroys any data that currently exists on the partition.
Assigning a Label with e2label
After you have created and formatted a partition, assign it a label using the e2label command. This enables you to add the partition to /etc/fstab using a label instead of using a device path, thereby making the system more robust.
To add a label to a partition:
1. Open a shell prompt and log in as the root user.
2. Enter: /sbin/e2label /dev/hdbX /mount/point
Where hdb is the drive letter, X is the partition number, and /mount/point is the mount point you intend to use for the partition.
After you have assigned each partition a label, add the partitions to /etc/fstab.
1. Open a shell prompt and log in as the root user.
2. Enter: pico -w /etc/fstab
3. Add a line to /etc/fstab for each labeled partition.
In the entry /etc/fstab, replace each occurrence of /mount/point with the mount point you intend to use for the partition.
If you need more information on the various options available to you in /etc/fstab, enter man fstab.
If there are partitions whose label you are unsure of, enter the following command:
/sbin/tune2fs -l /dev/hdbX |grep volume
In the above command, replace hdb with the drive letter and X with the partition number.
This returns something similar to the following output:
Filesystem volume name: /mount/point
After completing the previous steps, you have successfully added a new ext3 disk to the system.
NOTE: Adding a partition to /etc/fstab allows the partition to be mounted at boot time and simplifies use of the mount command.
7

Technical Support

Phone or Online

Contact your local HP technical support provider.
You can get additional information by visiting the HP Web site at www.hp.com/support.

Warranty

Refer to the warranty information that was shipped with this kit.
366429-001
© 2004 Hewlett-Packard Development Company, L.P. The HP Invent logo is a registered trademark of Hewlett-Packard Development Company, L.P. Microsoft and Windows are U.S. registered trademarks of Microsoft Corporation. Linux is a U.S. registered trademark of Linus Torvalds.
8
SCSI ハー ド ディスク ドライブのインストール
HP Workstation xw シリーズ
本書では、 SCSI ハー ド ディスク ドライブをHP Workstation xw シリーズにインストールする方 法を説明 し ます。

新しいハード ディスク ドライブのインストール

Å
Ä
警告 : 表面が熱 く な っ ている ため、 やけど を しないよ う に、 シ ス テムの内部部品が十分に冷めてか
ら手を触れてく ださい。
注意 : ワー ク ステーシ ョ ンの電源は必ず切っ て く だ さ い。 ワー ク ス テーシ ョ ンへの電気的障害を 防
ぐため、 AC 電源コ ー ド を 抜いて く だ さ い。 静電気放電 (ESD)は、電子コンポーネントに損傷を与
える場合があ り ます。 こ の作業は始め る 前に、 必ず適切な ア ース を行 っ て く だ さい。 詳し く は、 以 下の Web サイ ト で、 お使いの HP ワークステーシ ョ ン用の 『Service and Technical Reference Guide
を参照して く ださい。
http://www.hp.com/support/workstation_manuals (英語) http://www.jpn.hp.com/doc/manual/workstation/hp_workstation.html (日本語)
注記 : 製品固有の情報につい ては、 以下の Web サイ トで、 お使いの HP ワーク ステーショ ン用の 『Service and Technical Reference Guide』を参照してください。 http://www.hp.com/support/workstation_manuals (英語) http://www.jpn.hp.com/doc/manual/workstation/hp_workstation.html (日本語)
注記 : HP 公認代理店ま たは HP のサポー ト 窓口の担当者以外がプ ラ イ マ リ のハー ド デ ィ ス ク を交換す る
ことは、お控えください。
注記 : HP アクセサリは、 HP ワー ク ス テ ーシ ョ ン製品のための も のです。 ア ク セサ リ は、 信頼性に関し て 厳し く 検査さ れ、 高い品質水準で製造 さ れて い ます。 よ って、 HP は、 HP に よ って製造 も し く は販売 さ れ たアクセサ リ のみを保証し ます。

SCSI ID の設定

SCSI ハー ド ディ スク ドライブを、お使いのシステムにインストールする前に、ハード ディ ス
ク ドライブに固有のSCSI ID を割 り当てます。
すべての SCSI コント ローラには、 インス トールされている各 SCSI デバイ ス固有の SCSI ID 0 から 15) が必要です。 予約済お よび使用可能な SCSI デバ イ スの SCSI ID は以下の と お り です。
0 はプラ イ マ リ ハー ド ディスク ドライブ用に予約されています。(Linux ではプ ラ イマ リ ハー ド ディスク ドライブ用に予約されていません。)
7 SCSI コント ローラ用に予約されています。
1 から 6 8 から 15 は、 その他のすべての SCSI デバ イ スに使用可能です。
プライマリ ハー ド ディスク ドライブに0 が使用 さ れて い る場合、 2 台目のハー ド ディスク ド
ライブには1、 3 台目の ド ラ イブには 2 と い う よ う に設定 し て く ださ い。
ドライブのSCSI ID を設定す るには、 ハー ド ディスク ドライブの上もしくは下に記載されてい
る説明を参照し て正し く ジャンパを設定して ください。 ド ラ イブには、 ジャンパ ブロッ クの図 が表示さ れているはずです。 図には、 希望の ID に設定する ために ど のブ ロ ッ ク にジ ャ ンパを 挿入すればよ いかが示 されてい ま す。
たとえば、 ド ライブを 3 に設定す る 場合、 ド ラ イブには 4 つの ID ビッ ト (ID0、 ID1、 ID2、お
よび、 ID3) が コネ ク タ の一番左に表示さ れてい ますので、 付属のジ ャ ンパを各ブ ロ ッ ク に挿 入し、 SCSI ID を設定し ます。

ハー ド ディスク ドライブのインストール

ハー ド ディスク ドライブに固有のSCSI ID を設定した後、 お使いのシステムにハード ディス
ク ドライブをインストールできます。
注記 : 製品固有の情報は、 以下の Web サイ トでお使いの HP ワーク ステーシ ョ ン用の 『Service and Technical Reference Guide』を参照してください。 http://www.hp.com/support/workstation_manuals (英語) http://www.jpn.hp.com/doc/manual/workstation/hp_workstation.html (日本語)
1. システムの電源を切り、 アクセス パネルを取 り 外し ます。
2. ドライブをインストールするドライブ ベイを選択します。 複数のハード ディ スク ドライブ を イ ン ス ト ールする場合は、 以下の図に示さ れ る 順番でド ラ イ ブ を イ ン ス ト ールし ま す。
注記 : お使いの ワ ー ク ス テ ーシ ョ ン に ド ラ イ ブ レールが な い場合、 も し く は、 5 番目のベ イにハー ド ディ
スク ドライブをインストールする場合は、手順5 に進んで く だ さい。
4 3 2
1
2
1
2
1
5
3. 緑色の タブ を 内側に強 く 押 し 、 レ ール を ス ラ イ ド さ せて空き ベ イ か ら 引 き出し ま す。
10
4. ハー ド ディ スク ドライブのレール アセンブ リ のピンを、 一方のハード ディ スク ドライブ
のネジ穴に挿入し て レールをハードディ ス ク ドライブに取り付けます。次に、ハード ディ
スク ドライブのレール アセンブ リ の反対側をゆっ く り と開き、 残り のピンをハード ディス ク ド ラ イ ブの穴に挿入し ます。
5. 選択し たベ イ に、 ド ラ イブを カチ ッ と 音がする まで押し込みま す。 次に、 電源ケーブル と
データ ケーブル を ド ラ イブに接続 し ます。
注記 : HP Workstation xw4200 の場合は、 ハード ディ スク ド ライブをベイに挿入する前に、 6-32 ネジ 2 本 を ド ラ イ ブ の両側に取 り 付け ます。
注記 : 5 番目のベイ にハー ド ディ スク ドライブをインストールする場合は、 ワークステーションの側面を 下にし て置き、 5 番目のベ イ の近 く にあ る 3 本の ド ラ イ ブ ネ ジ を取 り 外 し ます。 ド ラ イ ブ を 5 番目のベ イ に挿入し 、 ハー ド ディスク ド ラ イブの底面の穴を シャーシの底面のネジ穴 と 合わせます。 底面から ネジ を差 し込み、 ハー ド ディスク ド ラ イブを シ ャ ーシに固定 し ます。
11
以下の図に、 SCSI ハー ド ディスク ドライブを取り付けたxw8200 を示し ます。
6. データ ケーブルをシステム ボー ドの SCSI コ ネ ク タ (ワー ク ス テーシ ョ ン の底面近 く を確
認、 ま たは、 前の図を参照) に接続 し ま す。
お使いの ワー ク ス テーシ ョ ン の シ ス テム ボー ドに SCSI コ ネ ク タがない場合、 SCSI コント
ローラ カー ド を イ ン ス ト ールす る 必要があ り ます。 詳 し く は、 次の項 を 参照 し て く ださ
い。
7. フロント ベゼル、 ア ク セス パネル を 元に戻 し 、 周辺機器デバ イ スを再接続 し 、 電源を入れ
直します。
12
SCSI コントローラ カード
1. ハー ド ディ スク ドライブをまだインストールしていない場合は、「ハード ディスク ド ライ
ブのイ ン ス ト ール」 の手順に従いド ラ イ ブ を イ ン ス ト ールし ます。
2. SCSI コント ローラ カー ド を 使用可能な PCI 拡張ス ロ ッ ト に挿入し ます。
3. SCSI ケーブルを SCSI コント ローラ カー ド に接続し ま す。
4. ハー ド ディ スク ドライブのLED ケーブルを、 SCSI カー ド と シス テム ボード に接続 し ま
す。 LED ヘッダ位置は、 アクセス パネルのシステム ボー ド イ メージで確認でき ます。
以下の図に、 SCSI ハー ド ディ スク ドライブを取り付けたxw6200 を示し ます。 ハード ディスク ドライブ ケーブルには、 他のハード ディスク ド ラ イ ブ用の予備の コ ネ ク タ が あ
る場合があ り ま すが、 分か り やす く す る ため、 こ れ らの コ ネ ク タは下の図では省略し てあ
ります。
5. フロント ベゼル、 ア ク セス パネル を 元に戻 し 、 周辺機器デバ イ スを再接続 し 、 電源を入れ
直します。
警告 : こ の機器には、 アース機能付きの コ ン セ ン ト が装備さ れています。 アース機能つ きのプ ラグ は、 重要な安全機能です。 感電や機器への損傷 を防ぐ ため、 こ の機能を使用 し て く ださ い。

ワー ク ス テーシ ョ ンの構成

シ ステ ム構成は、 ワー ク ス テーシ ョ ン シ ステ ムを構成す る デバイ ス と プロ グ ラ ム を指定する プ
ロ セス です。 ハー ド ディスク ド ラ イブを追加または削除した場合、 これらの変更を認識でき る ようワークステーションを再構成します。
お使いの ワー ク ス テーシ ョ ン の電源を入れ、 起動時に表示 さ れ る メ ッ セージ を確認し ま す。
シ ス テムが新 し い ド ラ イ ブを認識する 場合、 ド ラ イ ブに関す る情報が画面に表示 さ れ、 [F1] キーを押 し て保存 し 、 次に進む よ う メ ッ セージ が表示 さ れます。
[F1] を押す よ う メ ッ セージ が表示 さ れな い場合、 ド ラ イ ブの イ ン ス ト ールに問題があ り ま すので、 問題を診断する必要があ り ます。 本書の手順に従って調査し ます。
13

Windows XP でのパーテ ィ シ ョ ンの作成

Microsoft® Windows® XP で新 しい ド ラ イ ブにパーテ ィ シ ョ ン を作成す るには、 以下の手順で行 います。
1. デス ク ト ップから [ スタート ] をク リ ックし、[ コン ト ロール パネル ] をク リ ックします。
2. [ 管理ツール ] をク リックします。[ カテゴ リ ] ビューの場合は、[パフォーマンス と メ ンテ
]
ナンス
3. [ コンピュータの管理 ] をク リ ックします。
4. [ 記憶域 ] をク リ ックします。
5. [ ディスクの管理 ] をク リ ックします。 [Write Signature and Upgrade Disk] ウィザードが起動 します。 [ キャンセル ] をク リ ックし、 ウィザードを中止します。
6. [Disk 1 Unallocated] の領域で右 ク リ ッ ク し ます。 3 台目のデ ィ ス ク を追加 し た場合は、 [Disk
2 Unallocated] の領域でク リ ッ ク し ます。 4 台目のデ ィ ス ク を追加 し た場合は、 [Disk 3 Unallocated] の領域で ク リ ッ ク し 、 後は同様に行い ま す。
7. [ デ ィ ス ク の初期化 ] をク リックします。
8. [OK] をクリ ッ クします。
9. [Unallocated Disk] の領域の上の黒いバーを右ク リ ッ ク し ます。
10. [ 新しいパーティ シ ョ ン ] をク リ ックし、[ 新しいパーティ シ ョ ン ] ウィザードを起動しま
す。
をク リ ックし、 [ 管理ツ ール ] をクリ ックします。
11. [ 次へ ] をク リ ックします。
12. 必要なパーテ ィ シ ョ ン を選択す る か、 デ フ ォ ル ト 設定 を 使用 し ます。
13. [ 次へ ] をク リ ックします。
14. パーテ ィ シ ョ ン サ イ ズ を指定す るか、 デフ ォ ル ト 設定を使用 し ます。
15. [ 次へ ] をク リ ックします。
16. パーテ ィ シ ョ ン の ド ラ イ ブ文字を指定す る か、 デ フ ォ ル ト 設定を使用 し ます。
17. [ 次へ ] をク リ ックします。
18. [Choose Partition File System] とその他の[Partition Parameters] を選択するか、 デフ ォル ト設
定を使用 し ます。
19. [ 次へ ] をク リ ックします。
20. パーテ ィ シ ョ ン情報を確定する前に、 [ 設定 ] ボックスの情報が正しいことを確認します。
21. [ 完了 ] をク リ ックし、パーティションを作成します。 フォーマッ ト処理が始まります。

Windows 2000 でのパーテ ィ シ ョ ンの作成

Windows 2000 で新しいド ライブにパーティシ ョ ンを作成するには、 以下の手順で行います。
1. デス ク ト ップから [ スタート ] をク リ ックし、 マウス ポインタを [ 設定 ] に置き 、 [ コン ト ロール パネル ] をク リ ックします。
2. [ 管理ツール ] を選択し ます。
3. [ コンピュータの管理 ] をク リ ックします。
4. [ 記憶域 ] をク リ ックします。
14
5. [ ディスクの管理 ] をク リ ックします。 [Write Signature and Upgrade Disk] ウィザードが起動 します。 [ キャンセル ] をク リ ックし、 ウィザードを中止します。
6. [Disk 1 Unallocated] の領域で右 ク リ ッ ク し ます。 3 台目のデ ィ ス ク を追加 し た場合は、 [Disk
2 Unallocated] の領域でク リ ッ ク し ます。 4 台目のデ ィ ス ク を追加 し た場合は、 [Disk 3 Unallocated] の領域で ク リ ッ ク し 、 後は同様に行い ま す。
7. [ パーテ ィ シ ョ ン の作成 ] を選択し、 ウ ィ ザードを起動します。
8. [ 次へ」 を ク リ ッ ク し ま す。
9. 必要なパーテ ィ シ ョ ン を選択す る か、 デ フ ォ ル ト 設定 を 使用 し ます。
10. [ 次へ」 を ク リ ッ ク し ま す。
11. パーテ ィ シ ョ ン サ イ ズ を指定す るか、 デフ ォ ル ト 設定を 使用 し ます。
12. [ 次へ」 を ク リ ッ ク し ま す。
13. パーテ ィ シ ョ ン の ド ラ イ ブ文字を指定す る か、 デ フ ォ ル ト 設定を使用 し ます。
14. [ 次へ」 を ク リ ッ ク し ま す。
15. [Choose Partition File System] とその他の[Partition Parameters] を選択するか、 デフ ォル ト設
定を使用 し ます。
16. [ 次へ」 を ク リ ッ ク し ま す。
17. パーテ ィ シ ョ ン情報を確定する前に、 [ 設定 ] ボックスの情報が正しいことを確認します。
18. [ 完了 ] をク リ ックし、パーティションを作成します。

Linux でのパーテ ィ シ ョ ンの作成

新規も し く は既存ハー ド ディスク ドライブでのext3 ファイル シス テムの作成
Linux システムに新しいハード ディスク ドライブを追加し、ext3 ファイル シ ス テム を使用す る 場合は、 まず fdisk などのプログラムでハード ディ スク ドライブにパーティションを作成し、
ファイル システムをフォーマッ ト します。
fdisk によ るパーテ ィ シ ョ ンの作成
fdisk コ マ ン ド では、 コ マン ド引数 と し てパーテ ィ シ ョ ン を作成す る デバ イ ス を 指定す る必要が あります。次の例では、 プライマリ IDE チャネル上の2 台目のデバ イ スであ る 定します。 SCSI またはSATA HDD の場合は、 1 台目のデバ イ スは
スは
/dev/sdb
この例で、 fdisk を起動する には、 以下の よ う に入力し ます。
1. シェル プロンプト を開き、 root ユーザー と し て ロ グ イ ン し ま す。
2.
/sbin/fdisk /dev/hdb
注記 : ディ ス ク に変更を加 えずに途中でプ ロ グ ラ ムを終了す るには、 [q] キーを押し ます。
3. 現在 fdisk プロ グ ラ ム が実行中な ので、 [n] キーを押し、 新しいパーティ シ ョ ンを作成しま
す。 プ ロ グ ラ ムがパーテ ィ シ ョ ンの種類を尋ね ま すので、 拡張パーテ ィ シ ョ ンの場合は [e]
を選択し、 プラ イマ リ パーテ ィ シ ョ ン の場合は [p ] を選択し ます。
のよ うになり ます。
と入力します。
/dev/sda
/dev/hdb
2 台目のデバ イ
と指
15
パーテ ィ シ ョ ン の種類 を 選択す る前に、 Red Hat Linux (お使いの HP システムに、 おそらく
インストールされています) では、 1 台のデ ィ ス ク につき最大 4 つのプ ラ イマ リ パーテ ィ
シ ョ ン が作成可能であ る こ と に注意 し て く だ さい。 5 つ以上のパーテ ィ シ ョ ン を作成す る 場 合は、 4 つのプ ラ イ マ リ パーテ ィ シ ョ ンの内 1 つ(1 つのみ) のみが 1 つ、 ま たは複数の 論理パーテ ィ シ ョ ン の コ ンテナ と して動作する 拡張パーテ ィ シ ョ ン と し て設定可能です。
なお、 拡張パーテ ィ シ ョ ンは コ ンテナ と して動作する ので、 少な く と も内包する すべての 論理パーテ ィ シ ョ ン の合計サ イ ズ と同 じ 容量が必要です。 デ ィ ス ク パーテ ィ シ ョ ン に関す
る詳 しい情報は、 以下の Web サイ ト の 『Official Red Hat Linux Installation Guide』の付録
An Introduction to Disk Partitions」を参照してください。 http://www.redhat.com/docs/manuals/linux (英語)
4. パーテ ィ シ ョ ンの種類 とパーテ ィ シ ョ ンの番号を選択し た後、 パーテ ィ シ ョ ン をどのシ リ
ンダ ヘ ッ ド か ら開始す る かを選択 し ます。 デ フ ォ ル ト 設定を使用す る 場合は、 [Enter] キー
を押し ます。
5. 次にサ イ ズ を指定 し ます。 最 も簡単な方法は、 パーテ ィ シ ョ ンのサ イ ズであ る 「
メ ガバ イ ト 単位で指定す る
+sizeM
を入力し ます。 値を入力せずに [Enter] キーを押すと、
size
」を
fdisk はディ ス クの残り の領域を使用し ます。
6. 作成する パーテ ィ シ ョ ンに対 し て、 こ の処理を繰 り 返 し ます。
注記 : [w] を 入力す る と 、 デバ イ ス上に現在存在す る すべてのデー タ を永久に消去 し ます。 デー タ を保持 する場合は、 [q ] を入力し、 ディ ス クに変更を加えずにプ ロ グ ラムを終了し ます。
mkfs による ext3 ファイル システムのフォーマッ ト
fdisk などのパーティシ ョン作成プログラ ムでハード ディスク ドライブにパーティションを作 成した後、 mkfs を使って各パーテ ィ シ ョ ンに ext3 ファイル システムを作成します。
1. シェル プロンプト を開き、 root ユーザー と し て ロ グ イ ン し ま す。
2.
/sbin/mkfs -t ext3 /dev/hdbX
上記の コマ ン ド で、
注記 : mkfs を使っ てパー テ ィ シ ョ ン を フ ォーマ ッ ト する と 、 パーテ ィ シ ョ ン上に現在存在す るすべ ての データ を永久に消去 し ます。
はドライブ文字に、Xはパーテ ィ シ ョ ン番号に置き 換え ます。
hdb
と入力します。
e2label によ る ラ ベルの割 り 当て
パーテ ィ シ ョ ン を作成 し、 フ ォーマ ッ ト し た後、 e2label コマン ド を使ってパーテ ィ シ ョ ンにラ ベルを割 り 当て ます。 ラ ベルを割 り 当て る こ と に よ り 、 デバ イ ス パスの代わり にラベルを使っ てパーティ シ ョ ンを
/etc/fstab
に追加でき ます。 こ れによ り 、 よ り強力なシ ステムができ
ます。
パーテ ィ シ ョ ンに ラ ベルを割 り 当て るには、 以下の手順で行います。
1. シェル プロンプト を開き、 root ユーザー と し て ロ グ イ ン し ま す。
2.
/sbin/e2label /dev/hdbX /mount/point
ここで、
ンに使用す る マ ウ ン ト
は ド ラ イ ブ文字、Xはパーテ ィ シ ョ ン番号、
hdb
ポイン トです。
パーテ ィ シ ョ ンにラベルを割 り当てた後、 パーティ シ ョ ンを
16
と入力します。
/mount/point
/etc/fstab
はパーテ ィ シ ョ
に追加し ます。
1. シェル プロンプト を開き、 root ユーザー と し て ロ グ イ ン し ま す。
2.
pico -w /etc/fstab
3. ラベルを割り当てたパーティシ ョ ンごとに、
/etc/fstab
イントに置き換えます。
/etc/fstab
fstab
不明な ラ ベルが割 り 当て ら れたパーテ ィ シ ョ ンが存在する 場合は、 以下の コ マ ン ド を入力
します。
/sbin/tune2fs -l /dev/hdbX |grep volume
上記の コマ ン ド で、
こ のコ マン ド は、 以下の よ う な出力を表示し ま す。
Filesystem volume name: /mount/point
上記の手順を完了す る と 、 新 しい ext3 ディスクのシステムへの追加が完了します。
注記 :
/etc/fstab
とができ、 簡単にマウン ト コマンドを使用できます。
の入力の際に、 各
で利用可能な各種オ プ シ ョ ンについての詳 し い情報を表示する には、
と入力します。
hdb
にパーテ ィ シ ョ ンを追加す る こ とに よ り 、 起動時にパーテ ィ シ ョ ン を マ ウ ン ト す る こ

テクニカル サポー ト

と入力します。
/etc/fstab
/mount/point
はドライブ文字、Xはパーテ ィ シ ョ ン番号に置き 換え ます。
をパーテ ィ シ ョ ン に使用する マウ ン ト
に行を追加し ます。
man

電話も し く はオ ン ラ イ ン

お近 く の HP のサポー ト 窓口に連絡し て く ださい。
追加情報は、 以下の HP Web サイ ト で入手できます。
www.hp.com/support
保証
こ のキ ッ ト に付属の保証内容を参照し て く だ さ い。
17
366429-001
© 2004 Hewlett-Packard Development Company, L.P. The HP Invent logo is a registered trademark of Hewlett-Packard Development Company, L.P. Microsoft および Windows は、 米国におけ る Microsoft Corporation の登録商標です。 Linux は、 米国におけ る Linus Tor va lds の登録商標です。
18
Loading...