bret...

ok.. i don't have an nfs server!!! arrgghh!! i do have an FTP/HTTP server.
Shouldn't this be sufficient? I already have all the machines setup and
running using Windows as the DNS.

1) where do i find the files that make up the installation tree as opposed
to the ISO files??

2) image=/boot/vmlinuz-ks
        label=ks
        read-only
        initrd=/boot/newinitrd.img
append="ks=nfs:zenon:/install/redhat/7.1/7.1seawolf.allfiles/ks71.cfg"
        I assume that the vmlinuz-ks and the newinitrd.img are from the
"installation tree" files...

But in your append line, can you use FTP/HTTP instead of NFS...

So many questions!!!!


Thanks

Bruce
[EMAIL PROTECTED]



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bret Hughes
Sent: Saturday, July 26, 2003 12:09 AM
To: [EMAIL PROTECTED]
Subject: RE: remote upgrade from Redhat 8.0 --> 9.0


On Sat, 2003-07-26 at 01:39, bruce wrote:
> thornton....
>
> hi. i took a look at the redhat kicstart docs... i can make sense of some
of
> what's going on... shouldn't be too bad..although i hope there's nothing
> from a security aspect that can haunt me!!
>
> but the issue i'm facing is the pxeboot, and the vmlinux/initrd.img
> files...what do i do with these...and where do they need to go..or what
has
> to happen regarding these...
>
> a search of google didn't really turn up any info....
>

I have done this but not on recent versions. mine was 7.1. I don't know
where the pxeboot comes in since I did not use one.  What I did was:

copy the install kernel and initrd from a bootnet.img disk ( you can
mount the img file via loopback) to the machines to each machine

setup an nfs server with the entire directory tree with all the rpms
from all the cds and run genhdlist or what ever it is called see the
kickstart info.

modified the bootloader (lilo in my case) to boot to the installation
kernel and pass the location of the ks.cfg file that I also put on the
nfs server.  THe lilo stanza looks like this:

image=/boot/vmlinuz-ks
        label=ks
        read-only
        initrd=/boot/newinitrd.img
append="ks=nfs:zenon:/install/redhat/7.1/7.1seawolf.allfiles/ks71.cfg"

ran lilo

built a ks.cfg to do what I wanted to do and tested the hell out of it.

ran lilo -R ks

# this lilo option is really useful when something pukes and there is no
keyboard to enter anything at the lilo prompt. This is the main reason I
have not switched to grub for all my boxes.

rebooted

Actually I wrote a script that did the downloads and catted the lilo
stanza and did the lilo thing. I will put it at the bottom for
posterity's sake


I found the guys on the kickstart list to be very helpful and

[EMAIL PROTECTED] seawolf]$ cat cpksprep.sh

###################  Beginning of cpksprep.sh ###################
#!/bin/sh
instdir="/install/kickstart"
cd /boot
ncftpget -f /home/exhibitor/bin/ncftplogin /boot $instdir/vmlinuz-ks
ncftpget -f /home/exhibitor/bin/ncftplogin /boot $instdir/newinitrd.img
ncftpget -f /home/exhibitor/bin/ncftplogin /boot
$instdir/ks.lilo.conf.stanza

if  ! [ -a /boot/vmlinuz-ks ]; then
        echo "vmlinuz-ks is missing. Aborting "
        exit 1
fi
if ! [ -a /boot/newinitrd.img ]; then
        echo "vmlinuz-ks is missing. Aborting "
        exit 1
fi

if ! [ -a /boot/ks.lilo.conf.stanza ]; then
        echo "ks.lilo.conf.stanza is missing. Aborting "
        exit 1
fi

echo " adding kickstart stuff to lilo.conf"
if ! (`cat ks.lilo.conf.stanza >> /etc/lilo.conf`); then
        echo " there was a problem with adding the ks image to lilo."
        exit 1
fi

echo "running lilo -v"
if ! (`lilo -v`); then
        echo "lilo failed"
        exit 1
fi

echo "all preparations are complete setting up lilo to boot into ks "
if ! (`lilo -R ks`); then
        echo "lilo -R ks failed"
        exit 1
fi
echo " shutting down machine to perfome kickstart now"

#uncomment if you want this to go do the deal at once
#shutdown -r now


fi
echo "ks preparation is complete "
echo " run lilo -R ks and reboot when ready to install "

##################### End of cpksprep   #######################


Here is the ncftplogin stuff for the scripted ftp downloads  Not sure
why I did not do a nfs deal probably did some of this out of order.


[EMAIL PROTECTED] seawolf]$ cat ncftplogin
host hostipaddr
user username
pass passwordforftpserver


HTH

Bret


--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to