New computer - installing Linux
Ingezonden door mark op ma, 10/05/2004 - 19:00
This weekend, I got my new computer. It has some brand new hardware, featuring an AMD Athlon XP 3000+ on an Abit AN7 board, 1GB of RAM, 2 SATA Seagate harddisks and an ATI Radeon 9800 Pro. It works great, but ofcourse I want to run Linux on this. I want to install Fedora Core 1, since Redhat and later on Fedora has always been my distribution of choice. But, it's not so easy....
First of all, I wanted to create an updated DVD with all the latest updates. There are several webpages describing the different processes (creating a DVD and rebuilding the installer), but it takes a long time to figure out all the steps AND to fix all the minor issues:
- when using Fedora, you need to use the --prodpath in some of the command lines, since the RPM directory on the dvd is called Fedora instead of Redhat
- you cannot update the vnc and pango packages, since they cause problems when building the installer; pango will give you errors since pango-query-modules was renamed to pango-query-modules-32. vnc will simply hang the buildinstall script and send you cpu to 100% usage.
#!/bin/bash -x
DVD=/tmp/fedora/dvd
ISO=/tmp/fedora/fedora-1.iso
REL="Fedora"
export PYTHONPATH="/usr/lib/anaconda:/usr/lib/anaconda-runtime"
rm -f $DVD/Fedora/base/hdlist*
/usr/lib/anaconda-runtime/genhdlist --productpath Fedora $DVD
/usr/lib/anaconda-runtime/pkgorder $DVD i386 Fedora > $DVD/pkgorder.txt
/usr/lib/anaconda-runtime/buildinstall --comp dist-1
--pkgorder $DVD/pkgorder.txt --version 1 --product "$REL"
--release "$REL" --prodpath Fedora $DVD
mkisofs
-f
-A "$REL"
-V "$REL"
-J
-R
-q
-T
-o $ISO
-b isolinux/isolinux.bin
-c isolinux/boot.cat
-no-emul-boot
-boot-load-size 4
-boot-info-table
$DVD
/usr/lib/anaconda-runtime/implantisomd5 --force $ISO
»
- login of registreer om te reageren