Latest Wakepup2 .pet file

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
Crash
Posts: 453
Joined: Fri 09 Dec 2005, 06:34
Location: Melbourne, FL

Latest Wakepup2 .pet file

#1 Post by Crash »

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.

User avatar
chrome307
Posts: 708
Joined: Thu 15 Jan 2009, 11:00

#2 Post by chrome307 »

Thanks for this - useful as a PET file :)

Dewbie

#3 Post by Dewbie »

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. ... 690#568690
(It belongs with that version of WakePup2.)
Attachments
autoexecbat_fsck.tar.gz
(4.01 KiB) Downloaded 547 times
Last edited by Dewbie on Thu 16 Aug 2012, 07:25, edited 4 times in total.

Dewbie

#4 Post by Dewbie »

(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.
Last edited by Dewbie on Thu 16 Aug 2012, 07:59, edited 3 times in total.

User avatar
Crash
Posts: 453
Joined: Fri 09 Dec 2005, 06:34
Location: Melbourne, FL

#5 Post by Crash »

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/viewto ... 924#122924
Shortly after, dgi did a Wakepup2 post with this version:
http://www.murga-linux.com/puppy/viewto ... 82d#143017
It is the only version to make it into a pet repository at:
http://distro.ibiblio.org/pub/linux/dis ... 070919.pet
Finally, the version in this post:
http://www.murga-linux.com/puppy/viewto ... 327#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: Select all

# 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: Select all

# 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.

Post Reply