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

Question on kickstart install



Hi,
    Not sure whether this is the right alias, but anyway let me try my
luck.
    I have linux 7.1 installed  . Now i want to install linux again
using kickstart where the
installation tree is in local drive.

I have the redhat installation tree in / which is in /dev/sda5

The output of mount on that m/c
/dev/sda5 on / type ext2 (rw)
none on /proc type proc (rw)
/dev/sda1 on /boot type ext2 (rw)
/dev/sda7 on /tmp type ext2 (rw)
/dev/sda8 on /var type ext2 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)

output of fstab
LABEL=/                 /                       ext2    defaults
1 1
LABEL=/boot             /boot                   ext2    defaults
1 2
/dev/fd0                /mnt/floppy             auto    noauto,owner
0 0
LABEL=/tmp              /tmp                    ext2    defaults
1 2
LABEL=/var              /var                    ext2    defaults
1 2
none                    /proc                   proc    defaults
0 0
none                    /dev/pts                devpts  gid=5,mode=620
0 0
/dev/sda6               swap                    swap    defaults
0 0
/dev/cdrom              /mnt/cdrom              iso9660
noauto,owner,kudzu,ro 0
0

I have done these steps

*edit lilo.conf adding the new image and adding
append="ks=hd:/dev/sda5/ks.cfg", as i have ks.cfg in / in /dev/sda5
partition.

* in the ks.cfg file,  specify what type of kickstart is being done
harddrive --partition <partition> --dir <dir>

in what partition will the installation be done ?
here in the above line, should i have to mention as

harddrive --partition /dev/sda5 --dir /
or
should i have to mention the partition for linux to be installed ?

Also, i am assuming when using harddrive type of kickstart, i should not

add
clearpart all, as it will delete all the partitions and hence it will
not have the installation tree .
Please correct me, if i am wrong.

Thanks in Advance,
Lakshmi












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