HP ProLiant DL580
From Gentoo Linux Wiki
| Laptops • TV Tuner Cards • Wireless • Servers • Storage • Other Hardware • Motherboards • Related |
This article is still a Stub. You can help Gentoo-Wiki by expanding it.
Contents |
[edit] Introduction
This is just an extension to gentoo x86 handbook on how to install Gentoo Linux on HP Proliant DL580
[edit] Preparing the Disks
Your disk can be found at /dev/cciss/c0d0 . So to partition your disk run this command:
fdisk /dev/cciss/c0d0
edit to the origional manual: note: *I am not an experianced Linux user,* but I found my drives under /dev/ida/c0d0, /dev/ida/c0d1 etc. My system came with the compaq hardware scsi raid controller, with three drives installed. More generally you should be able to find the address of your drives regardless of where they are stored by running the command:
fdisk -l
further note: fdisk does not support partitions over 2TB - to create partitions larger than 2TB use parted.
[edit] Installing the Gentoo Base System
You also need to mount the /dev before you chroot to your /mnt/gentoo:
mount -o bind /dev /mnt/gentoo/dev
comment: this step is currently included in the x86 installation manual provided by the gentoo developers: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=6
[edit] Kernel Configuration
You also need to install COMPAQ Smart Array driver in kernel if you are using Smart Array |[Block Devices]-> [x]Compaq 5xxx Array Support|
[edit] Configuring the Bootloader
- grub
edit your device.map to include your disk. When you open your device.map file you should see a single line defining (fd0). Add a new line after the origional, defining (hd0), and providing the system with the drive location of your boot partition.
| File: /boot/grub/device.map |
(fd0) /dev/fd0 (hd0) /dev/cciss/c0d0 |
comment: If you found your hard drives under /dev/ida/c0d0 etc. and put your boot partition on c0d0, you will need to put the following in the device.map file instead:
(hd0) /dev/ida/c0d0
Then run:
grub --device-map /boot/grub/device.map
In the interactive grub
root (hd0,0) setup (hd0)
- grub.conf
| File: /boot/grub/grub.conf |
timeout 5 default 0 title GNU/Linux root (hd0) kernel /boot/bzImage root=/dev/cciss!c0d0p1 |
root=/dev/cciss/cXdXpX has changed after 2.6.17 to root=/dev/cciss!cXdXpX
- Troubleshooting
In my case adding /dev/cciss/c0d0 to the device map would not work. Grub would still insist that it wasn't a valid device when I tried to set "root (hd0)". This entry on HP's support site explained how to get grub to work with the unusual Smart Array device node names. Basically you run grub interactively and manually add the (hd0) device by typing:
device (hd0) /dev/cciss/c0d0
Once I did this the interactive commands for root and setup worked normally.
I had trouble booting my server, with grub giving the following error:
>> Determining root device... !! Block device /dev/cciss/c0d0p3 is not a valid root device... !! The root block device is unspecified or not detected.
The following fixed my problem note real_root=/dev/cciss!c0d0p3
kernel /boot/kernel-genkernel-x86_64-2.6.18-gentoo-r6 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/cciss!c0d0p3 udev doscsi
[edit] References
[edit] Appendix A: lspci on my compiled kernel.
| Code: lspci |
0000:00:00.0 Host bridge: Broadcom (formerly ServerWorks) CMIC-HE (rev 22) 0000:00:00.1 Host bridge: Broadcom (formerly ServerWorks) CMIC-HE 0000:00:00.2 Host bridge: Broadcom (formerly ServerWorks) CMIC-HE 0000:00:00.3 Host bridge: Broadcom (formerly ServerWorks) CMIC-HE 0000:00:02.0 System peripheral: Compaq Computer Corporation Integrated Lights Out Controller (rev 01) 0000:00:02.2 System peripheral: Compaq Computer Corporation Integrated Lights Out Processor (rev 01) 0000:00:03.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27) 0000:00:0f.0 ISA bridge: Broadcom (formerly ServerWorks) CSB5 South Bridge (rev 93) 0000:00:0f.1 IDE interface: Broadcom (formerly ServerWorks) CSB5 IDE Controller (rev 93) 0000:00:0f.2 USB Controller: Broadcom (formerly ServerWorks) OSB4/CSB5 OHCI USB Controller (rev 05) 0000:00:0f.3 Host bridge: Broadcom (formerly ServerWorks) CSB5 LPC bridge 0000:00:10.0 Host bridge: Broadcom (formerly ServerWorks) CIOB30 (rev 03) 0000:00:10.2 Host bridge: Broadcom (formerly ServerWorks) CIOB30 (rev 03) 0000:00:11.0 Host bridge: Broadcom (formerly ServerWorks) CIOB30 (rev 03) 0000:00:11.2 Host bridge: Broadcom (formerly ServerWorks) CIOB30 (rev 03) 0000:01:01.0 RAID bus controller: Compaq Computer Corporation Smart Array 5i/532 (rev 01) 0000:02:02.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 07) 0000:02:02.1 SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 07) 0000:02:1e.0 PCI Hot-plug controller: Compaq Computer Corporation PCI Hotplug Controller (rev 14) 0000:06:1e.0 PCI Hot-plug controller: Compaq Computer Corporation PCI Hotplug Controller (rev 14) 0000:0a:01.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5703 Gigabit Ethernet (rev 10) 0000:0a:02.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5701 Gigabit Ethernet (rev 15 |
[edit] Appendix B: versions and authors
Author: Mohammad Jeffry a.k.a linuxlah. Can drop me a message at www.mygentoo.cjb.net
Edited: Riaan Nolan a.k.a star. Can be contacted at www.3am.co.za info[at ]3am.co.za
- 07292005 First cut
Or, Another way to configure Grub is:
/sbin/grub –batch /dev/null 2>/dev/null device (hd0) /dev/cciss/c0d0 root (hd0,0) setup (hd0) quit
Works like a charm ;)
