Autoreinstall kickstart - rescuedisk

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

 



I have a testing machine I reinstall quite frequently and are trying to fix a ki
ckstart script the will help me out. The plan is that during the %post part it s
hould copy an image of the floppy to the harddrive and the use the floppy as a r
escue disk and then reboot. So if I want to reinstall I just copy the image to t
he floppy and restart and everything should start over again.
What I do now is :

%post
/bin/cat /dev/fd0 > /root/post.img
/sbin/mkbootdisk --noprompt --device /dev/fd0 2.4.18-3

Running these commands by hands work fine but doing this from the kickstart scri
pt I get a file called post.img? in the root directory and the second comand see
ms to fail completly.
Why is does the image get an ? added to the name? And the mkbootdisk seems to fail completly anyone now why?
Is their anyone who could tell me why or have done something similair that works
?

Cheers,

juman





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux