Hi all, I got my script working (many thanks to druuna) and now I need a little help to implement it.
I've been reading through this article:
https://www.phenix.bnl.gov/~purschke/RescueCD/
And I think what I want to do is add an option in the boot menu (isolinux.cfg) to run my script, rather than startup a new kernel. Here is the functions I need for my script to run successfully:
Code:
trap
clear
echo
eject
reboot
sleep
cp
fdisk
df
cd
Also I will need to mount all the accessible hard drives. Either automount, or some custom mount script that runs when called.
Let me know what you think. Thank you!