Author: sparky Date: Wed Aug 9 21:55:22 2006 New Revision: 7641 Modified: ppcrcd/trunk/doc/README.install Log: - checked, and partially rewritten
Modified: ppcrcd/trunk/doc/README.install ============================================================================== --- ppcrcd/trunk/doc/README.install (original) +++ ppcrcd/trunk/doc/README.install Wed Aug 9 21:55:22 2006 @@ -256,24 +256,36 @@ | | Welcome to the poldek shell mode. Type "help" for help with commands. - Install most necessary packages, those are kernel, yaboot and mdadm -if us use it. There will be lots of dependencies. -| poldek> <_<install kernel-2.6.11.6-4 yaboot>_> + Install base system packages: FHS, system and udev if you plan to use last it. +| poldek> <_<install FHS system>_> +| </<[...]>/> +| Retrieving ftp://ftp.ppc.ac.pld-linux.org/dists/ac/PLD/ppc/PLD/RPMS/setup-2.4.9-1.ppc.rpm... +| ......................... 100.0% [192.3K (36.2K/s)] +| Executing rpm --upgrade -vh --root /dest --noorder... +| Preparing... ########################################### [100%] +| 1:setup ########################################### [ 50%] +| 2:FHS ########################################### [100%] +| poldek> <_<quit>_> + + Now mount/bind needed system partitions: +| [EMAIL PROTECTED] ~]$ <_<mount -o bind /proc /dest/proc>_> +| [EMAIL PROTECTED] ~]$ <_<mount -o bind /sys /dest/sys>_> + And dev if you are using udev: +| [EMAIL PROTECTED] ~]$ <_<mount -o bind /dev /dest/dev>_> + + Install most necessary packages, those are kernel and yaboot. There will be +lots of dependencies. +| poldek> <_<install kernel yaboot>_> | </<[...]>/> | Need to download about 31MB of archives. After unpacking about 62MB will be used. | Retrieving ftp://ftp.ppc.ac.pld-linux.org/dists/ac/ready/ppc/kernel-2.6.11.6-4.ppc.rpm... | </<[...]>/> -| Retrieving ftp://ftp.ppc.ac.pld-linux.org/dists/ac/PLD/ppc/PLD/RPMS/setup-2.4.9-1.ppc.rpm... -| ......................... 100.0% [192.3K (36.2K/s)] | Executing rpm --upgrade -vh --root /dest --noorder... | Preparing... ########################################### [100%] -| 1:setup ########################################### [ 2%] -| 2:FHS ########################################### [ 4%] | </<[...]>/> | 50:geninitrd ########################################### [ 98%] | 51:kernel ########################################### [100%] -| <*</proc filesystem not mounted, may cause wrong results or failure. -| ERROR: no argument passed to find_modules_for() - is your /etc/fstab correct? +| <*<ERROR: no argument passed to find_modules_for() - is your /etc/fstab correct? | mv: cannot stat `/boot/initrd': No such file or directory>*> | </<[...]>/> | Installing set #2 @@ -297,22 +309,15 @@ | </<[...]>/> | 5:yaboot ########################################### [100%] | poldek> quit -It is normal you will get errors about /proc not mounted when installing kernel. + It is normal you will get errors about /etc/fstab when installing kernel. Edit /dest/etc/fstab and add your partitions: | [EMAIL PROTECTED] ~]$ <_<vim /dest/etc/fstab>_> | /dev/hda3 swap swap defaults 0 0 | /dev/hda4 / reiserfs defaults 1 1 - Edit /dest/etc/mdadm.conf if necessary. - - If you are using udev or devfs in your system bind actual /dev to /dest/dev. -| [EMAIL PROTECTED] ~]$ <_<mount -o bind /dev /dest/dev>_> - - Now chroot to your system. And mount /proc, /sys and /dev/pts. + Now chroot to your system. And mount /dev/pts. | [EMAIL PROTECTED] ~]$ <_<chroot /dest/ /bin/bash>_> -| [EMAIL PROTECTED] ~]$ <_<mount /proc/>_> -| [EMAIL PROTECTED] ~]$ <_<mount /sys/>_> | [EMAIL PROTECTED] ~]$ <_<mount /dev/pts/>_> (in chroot) Generate initrd using geninitrd. @@ -329,7 +334,7 @@ | [EMAIL PROTECTED] ~]$ <_<ls /boot/initrd*>_> | /boot/initrd /boot/initrd-2.6.11.6-4.gz - Configure yaboot now, do it out of chroot as you have editors installed + Configure yaboot, do it out of chroot as you have editors installed there. Edit /dest/etc/yaboot.conf. Important parts: | boot=/dev/hda2 @@ -343,12 +348,10 @@ | root=/dev/hda4 | initrd=/boot/initrd | read-only -If you are using raid0 and not /boot as partition= type one of partitions -formating raid and root=/dev/md0. - (in chroot) You have to start mkofboot and ybin now, but before it check -is there $TMP dir, and if not, create it, or change its location, else ybin -will fail. + (in chroot) You have to start mkofboot and ybin now. Before doing it check +is there $TMP dir. If no, create it or change $TMP variable to point to correct +location. Without it ybin will fail. | [EMAIL PROTECTED] ~]$ <_<ls $TMP>_> | ls: /root/tmp: No such file or directory | [EMAIL PROTECTED] ~]$ <_<mkdir -p $TMP>_> _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
