Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 29 Jul 2014, 16:59
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Latest Wakepup2 .pet file
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
Crash


Joined: 09 Dec 2005
Posts: 430
Location: Garland, TX

PostPosted: Sun 12 Sep 2010, 10:20    Post subject:  Latest Wakepup2 .pet file  

I posted an image of Wakepup2 a while ago (almost 2 years ago - my how time flies!) that I use quite often. Looking back, I never made it into a .pet. Attached is the .pet file.

Regardless of all the other changes, the two things included in this version that I use quite often are EDIT.EXE and SYS.COM. EDIT.EXE is a GPL text editor that is helpful when your AUTOEXEC.BAT file needs a little tweaking. SYS.COM, from the FreeDOS web site, allows you to make a bootable floppy, hard drive, USB thumb drive, etc.

For those who don't have, and/or don't care to have, floppy drives, Wakepup2 can be burned to a CD/DVD using the "make bootable CD" feature that is included in most CD/DVD burning packages. The image, "wakepup2.img", shows up in the /lib directory after you install the .pet. If for no other reason, being able to use SYS.COM is really useful. I recently used it to save some time, and I'll give it as an example:

I haven't made a complete new install for quite a while - mostly just modify an existing install. I recently (like, yesterday) took a "new" hard drive and did a fresh install. I did the following:

Wiped the disk clean using GParted
Made a new Partition Table using GParted
Created a new FAT32 Partition using GParted
Set the Boot flag on the Partition using GParted

Then I used the Puppy Universal Installer (I was using Puppy 4.31) to make a new install of Puppy on the hard drive.

I went to try out the new install, and was greeted with a "Grub stage 1.5" error message... hmm, not good.

I went back to my Wakepup2 CD version, and used SYS.COM to install FreeDOS to the hard drive.

I rebooted and got the same Grub error message - oops!

I grabbed my handy Windows98 rescue disk (also burned onto a CD) and did a FDISK /MBR. That nuked the MBR so FreeDOS would boot OK.

Then the hard drive booted to FreeDOS OK.
Then I edited an AUTOEXEC.BAT file to my heart's content, and copied LINLD.COM to the hard drive.

At that point, Puppy booted up like a champ on the hard drive.

I know, you're going to say, "Idiot, you should have finished the GRUB installation!" Yes, but I've been playing with Puppy Linux for several years now, and I still find that booting to FreeDOS and playing around with things is easier than booting back to Linux, editing menu.lst, re-booting, and crossing my fingers. To each his own...

So for what it's worth, attached is the Wakepup2 .pet file, using the image from September 27, 2008. It's the latest and greatest, as far as I know.
wakepup2-20080927.pet
Description 
pet

 Download 
Filename  wakepup2-20080927.pet 
Filesize  896.63 KB 
Downloaded  1647 Time(s) 
Back to top
View user's profile Send private message 
chrome307


Joined: 15 Jan 2009
Posts: 713

PostPosted: Mon 13 Sep 2010, 08:52    Post subject:  

Thanks for this - useful as a PET file Smile
Back to top
View user's profile Send private message 
Dewbie

Joined: 15 Apr 2010
Posts: 1783

PostPosted: Fri 29 Jul 2011, 23:44    Post subject:  

This is for WakePup2 v0.3, which Crash posted at the top.

If you prefer custom boot options and would like filesystem check added to the pfix options menu, replace the AUTOEXEC.BAT file with this one.

I moved the other modified AUTOEXEC.BAT file (with pfix options + filesystem check) to this thread:
http://murga-linux.com/puppy/viewtopic.php?p=568690#568690
(It belongs with that version of WakePup2.)
autoexecbat_fsck.tar.gz
Description 
gz

 Download 
Filename  autoexecbat_fsck.tar.gz 
Filesize  4.01 KB 
Downloaded  228 Time(s) 

Last edited by Dewbie on Thu 16 Aug 2012, 03:25; edited 4 times in total
Back to top
View user's profile Send private message 
Dewbie

Joined: 15 Apr 2010
Posts: 1783

PostPosted: Fri 29 Jul 2011, 23:51    Post subject:  

(Edited 8/16/2012)

Crash has just released a new WakePup2 .pet, which includes Grub4DOS.
He had to remove a few things to accommodate this change.
Details are here.

If you prefer the one Crash posted above, wakepup2-20080927nc-fsck.pet has the following revisions:

NOIMAGE, a gtkdialog patch created by 01micko and modified by Crash.
This allows the WakePup create boot floppy menu option to work with newer Puppy versions.

pfix=fsck boot option has been added.
This allows a filesystem check at bootup.
(So the AUTOEXEC.BAT file posted above won’t be needed.)

(The nc-fsck file-name suffix means noimage, version c with filesystem check.)

Otherwise, everything is the same.
wakepup2-20080927nc-fsck.pet
Description  wakepup2-20080927nc-fsck.pet
pet

 Download 
Filename  wakepup2-20080927nc-fsck.pet 
Filesize  896.78 KB 
Downloaded  219 Time(s) 

Last edited by Dewbie on Thu 16 Aug 2012, 03:59; edited 3 times in total
Back to top
View user's profile Send private message 
Crash


Joined: 09 Dec 2005
Posts: 430
Location: Garland, TX

PostPosted: Sat 06 Aug 2011, 08:43    Post subject:  

It's good to see that there continues to be work on this project. Note that the
version at the start of this post is not an official version, in fact, at present there
is no official version. Wakepup used to be included in the Puppy Linux distro, but beginning
with the version 4 series, it had to be downloaded from the .pet repository. I
note that although there is still reference to it in current versions of Puppy Linux,
Wakepup is missing from the pet repositories. Thus the only way to get Wakepup is
from posts such as this.

My recollection of the history of the project is this:

First, there was BOOT2PUP, written by Barry:
http://www.ioctl.org/unix/debian/boot2pup.img
Then, Wakepup version 1, by pakt:
http://www.murga-linux.com/puppy/viewtopic.php?p=7077
http://www.murga-linux.com/puppy/viewtopic.php?t=3875
Then, Wakepup2 by pakt, described here:
http://www.murga-linux.com/puppy/viewtopic.php?t=7979
Then, an improved Wakepup2 by John Doe, is described here:
http://www.murga-linux.com/puppy/viewtopic.php?p=122924#122924
Shortly after, dgi did a Wakepup2 post with this version:
http://www.murga-linux.com/puppy/viewtopic.php?p=143017&sid=863d2a381d9cd9a313cf82341e85282d#143017
It is the only version to make it into a pet repository at:
http://distro.ibiblio.org/pub/linux/distributions/puppylinux/pet_packages-4/wakepup2-20070919.pet
Finally, the version in this post:
http://www.murga-linux.com/puppy/viewtopic.php?p=235327#235327

There are several other versions, but these are the main ones of interest.

After Wakepup2, we seem to have dropped version numbers, and the only thing that
identifies them is their dates.

Version 1 of Wakepup is compatible with Puppy Linux version 1 series. Wakepup2
is compatible with all versions of Puppy Linux from version 2 on. I am currently
using it to boot Puppy Linux version 5.20.

The shorter version that Dewbie refers to is Wakepup2 by pakt. The longer version is
the one in this post.

For reference, Dwebie's changes to AUTOEXEC.BAT in the longer version are as follows:

Code:

# diff AUTO_ORG.BAT AUTO_NEW.BAT

450a451,452
> echo *  7. pfix=fsck            Filesystem check                         *
> echo *                                                                   *
453c455
< choice /C:123456 Please choose :
---
> choice /C:1234567 Please choose :
459a462
> if "%errorlevel%"=="7" set pfix=pfix=fsck


Dewbie's changes to the shorter version AUTOEXEC.BAT file from pakt's Wakepup2 are:

Code:

# diff AUTO_ORG.BAT AUTO_NEW.BAT

83a84,90
> goto optmenu2
>
> :optmenu2
>
> cls
>
> echo ...file found on %media%, drive %drv%
84a92,122
> echo *********************************************************************
> echo *                 Select Puppy2 pfix Boot Option                    *
> echo *********************************************************************
> echo *                                                                   *
> echo *  1. Normal               No pfix switch                           *
> echo *                                                                   *
> echo *  2. pfix=ram             Skip saved sessions                      *
> echo *                                                                   *
> echo *  3. pfix=nox             Do not load xserver (type xwin at prompt)*
> echo *                                                                   *
> echo *  4. pfix=debug           Debug                                    *
> echo *                                                                   *
> echo *  5. pfix=ram,nox         Both 2 and 3                             *
> echo *                                                                   *
> echo *  6. pfix=ram,nox,debug   All of 2, 3 and 4                        *
> echo *                                                                   *
> echo *  7. pfix=fsck            Filesystem check                         *
> echo *                                                                   *
> echo *********************************************************************
> echo.
> choice /C:1234567 Please choose :
> if "%errorlevel%"=="1" set pfix=
> if "%errorlevel%"=="2" set pfix=pfix=ram
> if "%errorlevel%"=="3" set pfix=pfix=nox
> if "%errorlevel%"=="4" set pfix=pfix=debug
> if "%errorlevel%"=="5" set pfix=pfix=ram,nox
> if "%errorlevel%"=="6" set pfix=pfix=ram,nox,debug
> if "%errorlevel%"=="7" set pfix=pfix=fsck
>
> set append=root=/dev/ram0 PMEDIA=%media% %pfix%
>


I may have some facts wrong or incomplete. I welcome anyone who has other historical
information to present it here.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

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.0759s ][ Queries: 13 (0.0042s) ][ GZIP on ]