The time now is Wed 19 Jun 2013, 09:58
All times are UTC - 4 |
|
Page 2 of 2 [18 Posts] |
Goto page: Previous 1, 2 |
| Author |
Message |
Todd
Joined: 31 Aug 2006 Posts: 310
|
Posted: Fri 14 Sep 2007, 13:16 Post subject:
|
|
I am sorry, but I don't know. Good question though.
Todd
|
|
Back to top
|
|
 |
raffy
Joined: 25 May 2005 Posts: 4639 Location: Manila
|
Posted: Fri 14 Sep 2007, 20:25 Post subject:
custom remaster |
|
I guess when the script asks whether you want to remaster for your own hardware, you should answer "Yes", and zdrv would then be unnecessary for the remaster output.
_________________ Puppy user since Oct 2004. Want FreeOffice? Get the sfs (English only).
|
|
Back to top
|
|
 |
EZ4arabs
Joined: 19 Jul 2006 Posts: 84
|
Posted: Sat 15 Sep 2007, 07:25 Post subject:
|
|
sorry raffy that is not it because even if i chose yes it will still look for zdrv_213.sfs,,I should of been more clearer in my question above.
its dougal's remastering script that I needed to reomve any references from,and it turned out the answer was very simple and it was just a matter of finding the script.
so after locating it in /usr/sbin I edited these lines:
around line 18
| Code: |
PUPPYVERSION="`cat /etc/puppyversion`"
if [ $PUPPYVERSION -gt 211 ];then
#ZDRV="zdrv_$PUPPYVERSION.sfs"
FRSTMESSAGE="4 main files: vmlinuz, isolinux.cfg, initrd.gz,"
#SCNDMESSAGE=" and $ZDRV"
else
|
then creat a directory in /mnt named ZDRV as i found out in following lines:
| Code: |
##### directory option selected
while true
do
SRCDIR="`Xdialog --stdout --left --title "Select Directory" --dselect "/" 0 0`"
[ ! $? -eq 0 ] && exit
if [ -f "$SRCDIR"isolinux.bin ] && [ -f "$SRCDIR"isolinux.cfg ] && [ -f "$SRCDIR"vmlinuz ] && [ -f "$SRCDIR"initrd.gz ] ;then
if [ ! "$ZDRV" = "" ] && [ ! -f $SRCDIR$ZDRV ]; then
echo "$ZDRV missing"
else
|
then around line 274
| Code: |
sync
[ ! "$ZDRV" = "" ] && cp $SRCDIR$ZDRV $WKGDIR/
sync
|
I really should learn cgi and other neat SSL it would of come in handy in writing scripts when I learn more linux.time to forget all about ASP which now mostly useless and requires using Microsoft's PWS not to mention its becoming a security risk.
Thank you for your replies friends.
|
|
Back to top
|
|
 |
|
|
Page 2 of 2 [18 Posts] |
Goto page: Previous 1, 2 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|
[ Time: 0.0427s ][ Queries: 11 (0.0063s) ][ GZIP on ] |