Floppy boot - error 0x2296

Booting, installing, newbie
Post Reply
Message
Author
Johnny
Posts: 2
Joined: Thu 07 Jul 2005, 10:30

Floppy boot - error 0x2296

#1 Post by Johnny »

I'm a Linux newbie trying to run Puppy 1.0.3 off hard drive.

First of all, as a Linux newbie, I was very impressed in how things worked first time when booting off CD. I have tested Puppy and some other distros (Morhix, Kantonix) on an Athlon 700MHz 258MB 8GB with WinME, a XP laptop, and a new XP PC (that I dont have the specs for). Only puppy boots without issue on the Athlon. Everything boots on the XP machines but they are very new and dont have floppy drives.

I used the "Install Puppy Harddrive" menu to create the boot floppy and copy the files from the CD to the root folder. Then booting off the floppy, I get the following error as tiny.exe is executing...

"Gujin1, gujin2 + go! v0.9 (c) Etienne LORRAIN 2004
Loading kernel "c:\vmlinuz", Loading initial RAMDISK "c:\image.gz"! error 0x2296 loading file.
Exiting Gujin with error"

I assume the error occurs a few seconds after the ramdisk is loaded?

I have verified the required files exist in the root. I have looked deeper and downloaded the floopy image originating from the FAQ link but that doesnt work either (even edited Autoexec/.bat and config.sys it to hardcode c: location and remove unwanted USB drivers).

Help would be much appreciated

Johnny

Guest

#2 Post by Guest »

Why don't you give puppy about 2gb of hard drive space and you should use step #2 of puppy install. if that work you should try it on your xp system with about the same space or a little more space.

User avatar
danleff
Posts: 294
Joined: Sun 08 May 2005, 13:11
Location: Albany, NY
Contact:

#3 Post by danleff »

When you speak of copying the files on the "root folder" do you mean the XP partition?

What filesystem is on the Windows system c: drive in question? NTFS?
I love it when a plan comes together

--Hannibal Smith

Johnny
Posts: 2
Joined: Thu 07 Jul 2005, 10:30

Floopy boot - error 0x2296

#4 Post by Johnny »

Thanks for the responses.

I am only refering to the AND Athlon PC that has Windows ME on it. I am ignoring the XP machines as they dont have floppy drives and are probably NTFS (although they can boot puppy of CD).

The AMD PC in question has many partitions. The C drive is FAT with 700MB free. I also tried it on E drive VFAT > 2GB free. (D is the same as C).

The autoexec.bat and config.sys files on the floppy are shown below, just 2 lines per file. I cut down the files to the minimum getting rid of the USB driver stuff. To test C and E drives I simply changed the drive letter on the tiny.exe line. The vmlinuz, image.gz and usr_cram.fs have been copied from the CD into the root folders of both C and E fat/vfat drives. I think all the files are in the correct places?

CONGIF.SYS contents here

lastdrive=Z
device=oakcdrom.sys /D:MSCD001

AUTOEXE.BAT contents here

MSCDEX.EXE /D:MSCD001 /L:G
tiny.exe E:\vmlinuz E:\image.gz root=/dev/ram0 PFILE=pup1-none-262144


All I want to know is why is tiny.exe failing with error 0x2296 after it starts to process image.gz?

User avatar
danleff
Posts: 294
Joined: Sun 08 May 2005, 13:11
Location: Albany, NY
Contact:

#5 Post by danleff »

I just tried this myself. There may be a bug int he installer script.

But, mine is different than yours.
MSCDEX.EXE /D:MSCD001 /L:G
tiny.exe E:\vmlinuz E:\image.gz root=/dev/ram0 PFILE=pup1-none-262144
I noticed a few things. My PFILE has a size of 524288.

Also, during the install, Puppy failed to make the autoexec.bat file and I did not get an edit window to change my PHOME.

mcopy: File "a:autoexec.bat" not found
gtk-shell: Can't open file
/tmp/autoexec.bat: No such file or directory

Finished!
With the floppy disk inserted, reboot the PC.
(if the drive letter is wrong in a:autoexec.bat, Puppy will not boot, so
edit if necessary. Also be sure that vmlinuz, image.gz and usr_cram.fs are
in a msdos/vfat partition)

I noticed that you do not have a PHOME file in the autoexec.bat file.

Is there one in the config.sys file?.

We will need someone with more knowledge with this to comment.

Try adding in the autoexec.bat file;

tiny.exe E:\vmlinuz E:\image.gz root=/dev/ram0 PFILE=pup1-none-262144 PHOME=hda1

Where PHOME is where your current file should be in the e: drive.

But I also wonder about the file size in PFILE.
I love it when a plan comes together

--Hannibal Smith

etienne

Re: Floopy boot - error 0x2296

#6 Post by etienne »

Johnny wrote: All I want to know is why is tiny.exe failing with error 0x2296 after it starts to process image.gz?
You can have a look at this message for Gujin/tiny.exe error codes:
http://www.murga.org/%7Epuppy/viewtopic ... ght=0x2296
Basically 0x2296 means there is not enought memory to load and
decompress the file image.gz.

Either you really do not have enough RAM, or the memory used is
managed by HIMEM.SYS (because this driver is loaded) and this
old HIMEM.SYS only manages the first 64 Mbytes of memory.

I would suggest to download the boot.exe file of gujin in:
http://prdownloads.sourceforge.net/guji ... z?download
and run once boot.exe instead of tiny.exe, it will display the amount
of memory available and if HIMEM is loaded.
I would also strongly suggest to upgrade to Gujin version 1.1 - the
newer version of tiny.exe should do everything the older was and
also better manage kernel version 2.6.

Etienne.

Post Reply