mikshaw
Group: Members
Posts: 4856
Joined: July 2004 |
|
Posted: Oct. 25 2007,19:39 |
|
You'll need to add opt=XXXX and home=XXXX in that kernel line in order to use persistent directories.
WARNING: The last time I tried to use both opt and home on the same partition I lost everything in my persistent home. That was a long time ago, and things might have changed since, but I thought I'd mention it. If the only reason to use a persistent opt is for bootlocal.sh, you can just manage that with the backup and skip the persistent opt. All your scripts can be stored in your persistent home.
Auto mounting a drive should be pretty easy to do from /opt/bootlocal.sh, as long as the drive is inserted when you boot, and is always detected as hde1: mount /dev/hde1
If it's not detected as hde1, it won't be listed in /etc/fstab and therefore not mounted with that command. You could probably write a script to auto-detect which device to use if it gets seen as something different from boot to boot.
-------------- http://www.tldp.org/LDP/intro-linux/html/index.html
|