** Installing YDL3 on ua1-c 750GX using a dedicated Linux hard drive. ** This reflects my setup and install proceedure. GATHERING THE PARTS. 1. From http://www.intuitionbase.com >AmigaOne Menu >Yellow Dog Linux a. YDL3 Disks 1-3, the MAI App Install iso and, 2. From the same site a. YDLinstall2.iso, gxkern.iso 3. Burn the ISOs to CDs using the Burn iso function of your favorite program. LABEL them. BOOTING INTO THE INSTALL. 1.Make sure which HD you are installing to and where the CD drive is in UBoot and Linux. For example; UBoot 0:1 = hda partition hda1 (HD boot) UBoot 2:0 = hdc partition hdc0 (CDROM boot) UBoot 2:1 = hdc partition hdc1 (HD boot) Your setup may be different. 2. Get a UBoot prompt. Put the YDLinstall2 CD in. a. ide reset b. setenv bootargs root=/dev/ram rw ramdisk=24000 l2cr=0x80000000 ide=nodma c. diskboot 1000000 x:0 where x is your CDROM drive in UBoot. d. bootm 3. After the computer boots to the language screen, replace the cd with the YDL3 Disk1 install CD. 5. Select language, keyboard, cdrom. 6. Skip the media test. 7. Select Next, then Install Teron. Select your Mouse (Generic 2 or 3 button.) On the next screen select the Custom option. Then the Manually partition with fdisk. 8. A warning may pop-up asking you to initialize a drive. Be sure NOT to initialize your Amiga drive. Only initialize the drive Linux will be installed to. If the drive is already setup with a MBR type format you will not be asked to initialize it. 9. Select your Linux drive on the next screen. Mine is hdc. FDISK 1. Click IN the next screen to activate it. Type m, hit enter. Study the commands. The only really dangerous one is w. Until you enter w no changes are made to your HD. 2. Print the partition table with the p command. If partitions are listed delete them with the d command one at a time starting with the highest numbered partition. No partitions listed ?, no problem. Continue. 3. Using the n command set up new partitions. The ^ means Enter a. n^ p^ 1^ ^ (to select default start cylinder) +100M^ This partition must be marked as bootable. Use a^ command to do this. The m^ command shows the help screen. b. p^ This is your boot partition. It should be type hfs. c. n^ p^ 2^ ^ +2000M^ p^ ( to check so far). (This partition is used by the installer. It does not get a name later in this process.) d. n^ p^ 3^ ^ +6000M^ This is your / partition, hdx3. e. n^ e^ 4^ ^ ^ This sets 4 to hold extended partitions. f. n^ ^ +4000M This sets up the first logical partition (5) in the extended (4) partition. p^ g. Continue adding partitions using the n^ and p^ commands. 6 = +4000M 7 = +2000M 8 = +2000M 9 = +2000M 10 = +1000M 11 = +500M If you make a mistake you can use the d^ to erase that partition. Remember, none of this is written to disk until you issue the w^. h. Using the t^ command change partition 11 to type 82, Linux swap. i. Use the p^ to check everything then w^ to write it to the disk. j. You can add more partitions if you like, but keep them under 6GB (+6000M) at least for this first install. k. Note: For Yellow Dog you need at least 4 partitions. 1. Boot 2. Install 3. / (root) 4. Swap During the boot process Linux checks the partitions for errors. If all your files are on one very large / (root) partition. and there is corruption, this can take a long time and you have no way of telling which sub-directory may be causing problems. 4. Click Next on the following screen and answer YES to formatting swap. DISK DRUID 1. Check the Size(MB) column to see if what's there is close to what you set in fdisk. They will not be exact. If something is not right hit the back button and go fix it. 2. Click on hdx1. Click Edit. Click Format partition as: and select ext2. Do NOT select a Mount Point for this partition. Leave it blank. OK. 3. Click on hdx2. Click Edit. Format as ext2, No mount Point. OK. This partition will be used by the installer to store and expand the RPMs. 4. hdx3, Edit. Format as ext3. Mount Point / . This is your ROOT partition. 5. Format the remaining partitions (except 4) as ext3 with Mount Points; 5 - /usr 6 - /usr/local 7 - /usr/src 8 - /home 9 - /misc 10 - /var 6. When all the partitions have a checkmark, click Next, click Format. BOOT LOADER CONFIG Select, Change Boot Loader, and, Do not install Kernel. NETWORK CONFIG Leave as is, eth0 DHCP and auto via DHCP. Next FIREWALL CONFIG Check eth0 in Trusted Devices. Leave Medium and DHCP checked. LANGUAGE SUPPORT Your choice. Probably best to leave alone. TIME ZONE Depends on where your car is parked. ACCOUNT CONFIG Do it. Only add 1 user. Remember the passwords. AUTHENTICATION Accept the default. PACKAGE GROUP 1. There can be dependency problems created by selecting too many packages for the install. Other packages can be added later with the RPM program. 2. Checkmark only the following; a. X Window System b. GNOME Desktop c. KDE d. Graphical Internet e. Textbased Internet f. Office/Productivity Deselect the OpenOffice and mrproject in Details. g. Sound & Video h. Graphics j. Games and Ent. Click DETAILS for this one and leave only the gnome,kde and xboard checked. k. Development Tools l. Administration Tools m. Printing Support 3. Next^ If the install should fail, select Diskdruid on the next boot. fdisk will not be necessary. 4. Do not get frustrated if the install fails the first time. Just check your settings and try again. INSTALLING the KERNEL and MODULES 1. When the install program is complete, put the gxkern.iso CD into the drive. a. Reset the computer and get into the UBoot menu. Go into Boot Sequence, and in Boot arguments for Linux : add the following line, where /hdx = the root / partition you set up during install. root=/dev/hdx video=radeon:1024x768-4@60 l2cr=0x80000000 ide=nodma Enter, Esc, Esc, Save settings. Again reset the computer. b.At a UBoot prompt, diskboot 500000 x:0 where x = cdrom. 11. Mount the cdrom by right clicking on the screen and going to Disks/cdrom. If the cdrom does not exist then you need to; A. Create a new folder in the /mnt directory and name it cdrom. B. In a terminal, ln -s /dev/hdx /mnt/cdrom. Where hdx is your cdrom drive in UBoot. 0=hda, 1=hdb, etc.. 12. Install the kernel ( ua1c22.img ) found in /mnt/cdrom/boot on your boot partition. dd if=/mnt/cdrom/boot/ua1c22.img of=/dev/hdx1 13. Navigate to /lib/modules. Rename the module folders by prepending the word OLD to them. OLD2.4.22, OLD2.4.20-8d. 14. Go back to the cdrom directory and copy the 2.4.22 folder on the CD then go to /lib/modules and paste. 15. Logout, shutdown, reset. At a UBoot prompt, diskboot 500000 x:1 , where x is the HD of your Linux install. 16. Because I'm always playing around with the OS, I always log in as root. POST INSTALL 1. Log in as root. Open a terminal (that screen looking icon at the top.) 2. Type in /usr/lib/mozilla-1.2.1/mozilla-rebuild-databases.pl Hit Enter. rpm --rebuilddb -v Hit enter, this takes awhile. This will build a database of installed RPMs that you can view in Sys. Tools/Sys. Logs. that will appear there after the computer is left on and inactive for a few hours. updatedb Hit Enter. You should use this command after changing any software or installing new software. 3. Shutdown and reboot again. MAI-APPLICATIONS CD 1. Mount the CD by right clicking on the screen background and mouse down to Disks/CDROM. 2. Double click the Mai-application-install.py icon, then select RUN in the pop-up. 3. At this time ONLY select Mplayer and Demo MPEG4 movie. Click Install. 4. Just for good measure,,, updatedb. Questions, comments. mechanic on amigaworld.net, Linux forum. Len in yahoo a1-linux group. Jan 2005