|Na a következő kicsit angolul lesz, hogy akinek a Google a barátja, az is rátaláljon.|
How to install Debian Wheezy to an LPAR
Some information can be found here: http://www.ibm.com/developerworks/systems/library/es-linuxdistros.html
- Boot the installer CD-ROM on the LPAR, start the installation.
- Partition the boot disk:
- partitioning method: Manual
- initialize new MSDOS partition table
- first partition is 2MB, type PowerPC PReP boot partition, primary and boot flag is on
- second partition is 1GB, use as ext3 (not ext4!), mount as / (the point is to have /boot and /etc on an ext3 filesystem for yaboot)
- with the remaining space I created another partition for physical volume for LVM.
- Configuring the Logical Volume Manager:
- create a new VG called rootvg on the last partition (in my case this is sda3)
- I created the following LVs (and mounted to as ext4): usrlv 2GB (/usr), varlv 2GB (/var), tmplv 256MB (/tmp), homelv 1G (/home), swaplv 1G (for paging space)
- Continue the installation, do not install the bootloader, however if you try it it will fail
- when Install yaboot on a hard disk task fails hit Continue
- execute a shell
- chroot /target
- start bash for convenience ;]
- check if sda and LVM devices are present in the chrooted environment. If no create them whit the same name and major/minor as outside the chroot
- mount /proc
- mkofboot -b /dev/sda1
- run yabootconfig and install yaboot bootstrap on /dev/sda1 to boot Linux from /dev/sda2/
- check /etc/yaboot.conf and make customizations if needed. You can reinstall yaboot with ybin -C /etc/yaboot.conf
- exit from the chroot and from the shell
- In the installer menu pick Continue without boot loader, ignore the warning.
- Finish the installation, restart and boot from hard disk
- Welcome to Debian Wheezy!