Compaq DS10, ES40, DS20E appendix Type b to edit the BSD disklabel

Page 60

Linux Installation and Configuration Guide for AlphaServer

60

automatically after all of the software components are installed on the disk. Be certain not to skip the reboot after the disk partition process is completed.

Disk Partitioning

In preparation to partition your disk, you should boot your AlphaServer via the BOOT floppy and following the process for selecting a language, display color, keyboard type, and installation media. At this stage, you should select the "Install From Scratch" menu option, and proceed to the window titled "Partition Hard Drives". At this point, press the ALT+F2 keys, which will change the display to show a shell-command prompt. At this prompt, type the command "fdisk" followed by the enter key.

The process of partitioning your boot disk for Linux on your AlphaServer can be somewhat involved. This section provides an example of how perform the partitioning process using fdisk. Note, the partition recommendations used in steps 14-27 are based on a RZ1DD-AA disk geometry. If your disk has a different geometry you will need to use different starting/ending cylinder numbers for each partition. The correct starting/ending cylinder numbers can be computed by using these size recommendations and the number of bytes/cylinder for the disk that you are using (this figure is reported by fdisk). The disk used for this example is an 18.2GB drive (RZ2ED-LS) which fdisk shows as having 17365 cylinders:

4

partitions:

 

 

 

 

 

#

 

size

offset

fstype

[fsize bsize

cpg]

 

a:

16368

0

boot

# (Cyl.

1

- 2)

 

b:

212784

16368

ext2

# (Cyl.

3

- 28)

 

c:

4272048

229152

swap

# (Cyl.

29

- 550)

 

d:

3871032

4501200

ext2

# (Cyl.

551

- 1023)

We strongly recommend the following multi-partition layout:

A boot partition – A boot partition is used to reserved the first 2 cylinders (1-2) to write the bootloader in order to boot the disk from SRM.

A root partition – The root partition is where the / (root directory) resides. Always starts at cylinder 3. We recommend creating a root partition of 300Mb minimum and 900Mb maximum.

A swap partition – A swap partition is used to support virtual memory. We commend creating a swap partition of 2 times the computer RAM.

A /usr partition – The /usr partition is where the software of the system resides. This partition should use all of the space left on the hard drive.

To perform the partitioning operation on the disk, when prompted, follow these steps:

1.Now you are at the fdisk command line

2.Type “m” for help.

3.Type “p” to print the partition table.

4.If there is partition information already configured for the disk, you will need to delete it using the “d” option. Please be sure that you want to zero out this drive. All data will be lost on the drive doing this.

5.Type “b” to edit the BSD disklabel.

6.If you completed the last step correctly, you should see the following: “/tmp/sda contains no disklabel. Do you want to create a disklabel? (y/n)” – Answer Y.

7.Type “m” for more help.

ECG513/0100

Image 60
Contents Installation Guide ContentsExtended Table of Contents Compaq Alphaserver DS20E Appendix a Linux Installation and Configuration Guide for AlphaServer Linux Installation and Configuration Guide for AlphaServer Introduction Management SummaryOverview of Installation Compaq AlphaServer DS10 Hardware OptionsRed Hat Version 6.0 Distribution AlphaServer DS 10 466 MHz Console V5.4-2, May 19 1999 Software Installation Type b to edit the BSD disklabel Last cylinder Post-Installation SuSE Version 6.1 Distribution DKA0 RZ1CF-CF 00-50-8B-6F-38-85 Type b to edit the BSD disklabel Last cylinder Post-Installation Type shutdown -h now Compaq AlphaServer DS20 Login ftp Password user@ ftp bin P00show config more 4272048 229152 Swap Cyl 550 3871032 4501200 Ext2 551 1023 First cylinder Type Last cylinder Copy the kernel. Type cp /mnt/floppy/vmlinux.gz Creating floppies using an Unix system AlphaServer DS 20 Console V5.4-2, May 19 1999 P00 Software Installation Type b to edit the BSD disklabel Post-Installation Type shutdown -h now Compaq AlphaServer DS20E Label this floppy AlphaServer Linux Boot Floppy DKA0 Compaq BA03611C9B Software Installation Type b to edit the BSD disklabel Post-Installation SuSE Version 6.1 Distribution Firmware Inspection and Upgrade Insert the boot floppy into the drive Software Installation Type b to edit the BSD disklabel Post-Installation Type shutdown -h now Compaq AlphaServer ES40 Red Hat Version 6.0 Distribution Linux Installation and Configuration Guide for AlphaServer P00show dev Software Installation Type b to edit the BSD disklabel Type 17365 last cylinder one. Do not accept the program SuSE Version 6.1 Distribution Creating floppies using an Unix system Nvram Software Installation Type b to edit the BSD disklabel Last cylinder Post-Installation Type shutdown -h now Compaq AlphaStation XP1000 SN-MSP01-KDRed Hat Version 6.0 Distribution DKA0 RZ2CC-KA Software Installation Type b to edit the BSD disklabel Post-Installation SuSE Version 6.1 Distribution Creating floppies using an Unix system Software Installation Type b to edit the BSD disklabel Last cylinder System.map incorrect version Type shutdown -h now Appendix a Linux LinksAlphaServer Configurations Appendix BScsi and IDE Configurations Appendix CReusing a previously installed hard drive Glossary Linux Installation and Configuration Guide for AlphaServer
Related manuals
Manual 18 pages 24.45 Kb