Re: To tony, and to you all, about anaconda itself

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 20, 2002 at 08:47:30PM +0800, eksolo@xxxxxxxxxxx wrote:
> 
> *********************************
> I think that before you run buildinstall, you should have a comps file in 
> your $BUILDROOT/RedHat/base, otherwise the pkgorder.txt buildinstall 
> generated will be zero length.
> 
> You can run buildinstall with --pkgorder, or you can make pkgorder.txt 
> later by calling /usr/lib/anaconda-runtime/pkgorder, it's all up to you.
> 
> 
> *********************************
> Here is a stupid question ( may be plain simple for you, but I know little 
> about python :) :
> 
> Now I want to modify the anaconda installer itself, ( e.g. I want to 
> replace some pics, or add some "screens"), so I have to test anaconda. I 
> now need cdrom install method. Must I burn it to cd and install with it 
> before I can know whether anaconda acts as what I want to? There must be a 
> way to save my CD-R.
> 
> It seems to be ./anaconda --test -m hd://**** -r or something.
> 
> My buildsourcetree is /redhat/i386/RedHat/***, you know, as tony teach me,
> and I have mkisofsed a /valhalla-disc1.iso, within it is my modified 
> anaconda-7.3-7 and anaconda-runtime-7.3-7 rpms.
> 
> Please tell me how to test whether the installer.

you could install the new version to another machine over the network with
a boot floppy.

The buildinstall process should generate new boot floppy images  in you cd iso
that include your changes.

##############################################################################
CREATE BOOT FLOPPY
------------------
mount the first cd image in loopback mode.
e.g if your new images are in 
/var/images/redhat/valhalla/valhalla-i386-disc1.iso
/var/images/redhat/valhalla/valhalla-i386-disc2.iso
/var/images/redhat/valhalla/valhalla-i386-disc3.iso

mkdir /mnt/loop1
mount -o loop /var/images/redhat/valhalla/valhalla-i386-disc1.iso /mnt/loop1

insert blank floppy in floppy drive the run the following command:

dd if=/mnt/loop1/images/bootnet.img of=/dev/fd0 bs=1440k
insert new floppy and create network driver diskette
dd if=/mnt/loop1/images/drvnet.img of=/dev/fd0 bs=1440k

##############################################################################
SETUP NETWORK INSTALL SERVER
----------------------------
(assuming you have nfs installed on server)
echo "/var/images/redhat/valhalla *(ro)" >> /etc/exports
service portmap restart
service nfslock restart
service nfs restart

##############################################################################
INSTALL NEW SYSTEM
------------------      
boot from first floppy.
install over the network with ip address of server configured above
and directory /var/images/redhat/valhalla.

If you don't have network drivers for your network card in the boot floppy
image you may need to use the drivers diskette created above.
I don't remember the exact boot syntax to utilize the drivers disk.

Chuck Moss





[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux