On Thu, Jun 22, 2006 at 06:23:25AM +0200, Free Ekanayaka wrote: > |--==> philagui writes: > > p> Wow that's harder than what I thought. Really no way to do this without > p> modifying d-i ? > > I've run into the same problem, and as far as I know there's no way to > do it with preseeding only. > > I've created a little udeb called partman-recipes udeb which does > exactly what you want. You can find it here: > > http://trac.64studio.com/mediastation/browser/partman-recipes/trunk
Looks like a subversion repository | [EMAIL PROTECTED]:/usr/src/debian-installer | $ cd .. | [EMAIL PROTECTED]:/usr/src | $ svn checkout http://trac.64studio.com/mediastation/browser/partman-recipes/trunk partman-recipes | svn: PROPFIND request failed on '/mediastation/browser/partman-recipes/trunk' | svn: PROPFIND of '/mediastation/browser/partman-recipes/trunk': 200 OK (http://trac.64studio.com) | [EMAIL PROTECTED]:/usr/src | $ but something prevents a checkout > http://archive.64studio.com/pool/main/p/partman-recipes/ It has a _0.6.tar.gz and a _0.7_all.udeb, I took the 0.7 for further study. (Or should the 0.6 be used?) What is the idea behind 'Check if Mediastation hardware is present'? The thing I don't understand is the 'ASK=true' at line 54, because it overrules the 'ASK=true at line 49 | : if [ -e $HOME ]; then | : | : depmod | : modprobe jbd | : modprobe ext3 | : | : mkdir -p $MNT | : if mount $HOME $MNT; then |49: ASK=true | : umount $MNT | : fi | : fi | : |54:ASK=true I would try to avoid user input ( I prefer Full Automatic Installs ) and would so skip the interaction. I made up this modification: --- postinst_from_udeb 2006-06-22 10:48:13.000000000 +0200 +++ postinst 2006-06-22 11:29:17.000000000 +0200 @@ -46,13 +46,13 @@ mkdir -p $MNT if mount $HOME $MNT; then - ASK=true + KEEP=true umount $MNT + else + ASK=true fi fi -ASK=true - if [ "$ASK" = "true" ]; then db_input critical partman-recipes/keep || true db_go || true It is based on the succesfull mount of /dev/hda6 at /mnt/tmp ( mount $HOME $MNT ) > Cheers, > > Free Cheers Geert Stappers P.S. Some nitpick on indention (c: --- postinst_from_udeb 2006-06-22 10:48:13.000000000 +0200 +++ postinst 2006-06-22 11:44:40.000000000 +0200 @@ -97,7 +97,7 @@ format{ } EOF fi - cat <<EOF >> $RECIPE +cat <<EOF >> $RECIPE use_filesystem{ } filesystem{ ext3 } mountpoint{ /home } -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

