LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Amigo
User Name
Password
Amigo This forum is for the discussion of Amigo Linux.

Notices


Reply
  Search this Thread
Old 02-26-2005, 06:25 AM   #1
renato2
LQ Newbie
 
Registered: Feb 2005
Location: Germany
Posts: 8

Rep: Reputation: 0
Question Amigo 2 on plain DOS?


Hi Amigo experts,

some days ago i found amigo linux on the web, and now wanted to install it on an old PC (FIC PA-2000, Intel P133 / 24MB RAM/340 MB HD), running FreeDOS 9rc2. I tried to unzip amigo20.zip with PKunzip 2.50, but got an error message "insufficient memory". This also happend after generating "amigo20.exe" with PKWare's zip2exe. Then i changed several DOS boot options to maximize free conventional memory up to ~600kB, but without success. Next i looked into PKware's manual and found the information, that in pkunzip.exe the maximum file number in a zip-file is limited to around 9000; amigo2's linux folder contains 15300 though!
Obviously it isn't possible to install amigo2 under plain 16bit-DOS from a single zip file.

Any comments, hints or suggestions out there?

r2
 
Old 02-26-2005, 07:58 AM   #2
carolinus
LQ Newbie
 
Registered: Dec 2004
Location: poland
Distribution: amigo/zipslack/slax
Posts: 3

Rep: Reputation: 0
try this gnu zip tools

gnu zip
 
Old 02-26-2005, 10:46 AM   #3
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Use the Amigo boot floppy or a slackware boot floppy , plus the rescue.gz image as a root filesystem. Use 'unzip' to unzip amigo.zip onto the FAT after mounting it. Then under DOS you can edit the loadlin.bat if you want to boot from DOS.
Or, boot again with the floppy and mount the partition with amigo as root. Next...whatever you like.
You can install lilo to MBR so it will boot DOS or Linux from the same partition. See the 'Dual-boot Amigo and WinXP' thread for how to do that.
 
Old 02-26-2005, 03:19 PM   #4
renato2
LQ Newbie
 
Registered: Feb 2005
Location: Germany
Posts: 8

Original Poster
Rep: Reputation: 0
Thumbs up

Hi,

after reading the 2 postings and the Amigo Installation-HOWTO and the FAQ, i started downloading different zip tools, and tried to install amigo2 again. Because i had a working DOS installation an my PC, booting a Linux rescue disk and installing amigo under Linux was not my favourite solution (sorry, gnashley ;o} ... ).
Finally i succeded . To explain what i have done, let me first quote from the amigo documentation:


1) Quoted from http://amigolinux.org/docs/inshowto.htm:

#
How to unzip under DOS: If you are running DOS or WIN 3.1 you'll need to use a 16 bit extractor such as PKZIP to unzip the
amigo.zip file. Here's how you'd install on a Zip disk on drive D:\ -- using Windows 3.1 and PKZIP. Start PKZIP and from
the "File" menu, select the "Open..." option. In the dialog box, browse for and select the file AMIGO.ZIP. Next, you need
to extract the files to a DOS partition. From the "Extract" menu, select the "Extract Files..." choice. In the "Extract"
box, make sure the "all files" choice is selected. In the "Extract to:" box, make sure the "Disk" choice is selected. In
the text box next to "Disk", you'll need to fill in the path to where you want to extract the files. (They'll be extracted
into a \linux subdirectory) For example, if your Zip drive is D:\ and that'swhere you want to install, then you'll want to
put D:\ in the box. Otherwise, fill in any DOS drive with enough free space to install. When you've got everything filled
in correctly, hit the "Extract" button to extract the files.
#
PKZIP is also available in a DOS version.


===============================================


2) Quoted from http://amigolinux.org/docs/faq.txt:



Q4: I can't unzip the file -- it says I don't have enough memory!

A: This happens if you use a 16-bit unzipper. You must use a 32-bit version
such as WinZip or PKZIP for Windows. (of course, unzip for Linux also
works fine

--------------------------------

Q5: All I have is DOS! Do you know of an unzipper that works with amigo.zip
for DOS?

A: Yes, (for Win 3.x) I hear there's something called Zip Navigator.

If you can't find that, here's how to unzip it under Linux.

First, make a bootdisk that works with your system. Download any
appropriate floppy disk image from one of the Slackware mirrors.
Use rawrite to write it to a floppy disk.

Then, do the same with the rescue.gz disk (from the rootdisks directory).
This is a small Linux rescue system on a floppy disk. One of the utilities
it includes is unzip. Here's where you can get the rescue disk image:

ftp://ftp.slackware.com/pub/slackwar...isks/rescue.gz

Boot the first disk (the bootdisk), and hit enter at the 'boot:' prompt.
When prompted, insert the rootdisk (rescue.gz) and hit enter to load it.

Log in as root.

Now, you'll need to mount the DOS partition where the amigo.zip file
resides. If the final destination is a Zip disk, you might still just
want to go ahead and unzip the file on your DOS partition, and then move
the directory tree onto the Zip disk under DOS with XCOPY or a similar
tool. If you're not sure what the name of your DOS partition is under
Linux, use this command:

fdisk -l | more

The partition name will be something like /dev/hda1. To mount the
partition, use a command like this:

mount /dev/hda1 /mnt/hda1 -t msdos

Switch to the /mnt directory, and unzip the file:

cd /mnt/hda1
unzip amigo.zip

That should unzip the file. Now you're ready to hit crtl-alt-delete and
reboot your machine. From there, follow the directions in README.1st to
boot the Linux OS.


=================================


Here is what I found out:

1) You cannot use PKWare's pkunzip v2.04 or 2.50 16bit versions, they both give you "insufficient memory".
These programs are also not freeware or under GPL. You better should use Info-Zip's free unz551 tool, which
you can download directly from ftp://ftp.info-zip.org/pub/infozip/MSDOS/, or via http://www.info-zip.org/pub/infozip/.
After waiting about three hours (pew...) amigo20.zip was extracted/deflated perfectly by unzip.exe.
Btw, the gnuzip package is also useless, it's intended for .gz or .z files only.

2) FAQ, A4: Yes, you c a n use a 16bit unzipper (InfoZip's unzip.exe), but not PKWare's pkunzip.exe !

FAQ, A5: ZipNavigator has a GUI and therefore works under 16bit Win3x only, not under plain DOS, but unzip
from Info-Zip does.



Thanks to carolinus, who gave the decisive hint, and as a matter of course, to Amigo-wizard gnashley for his
fine work!

r.
 
Old 02-27-2005, 10:14 AM   #5
renato2
LQ Newbie
 
Registered: Feb 2005
Location: Germany
Posts: 8

Original Poster
Rep: Reputation: 0
Ah, sorry,

i've been too rash!
After i had unzipped amigo20.zip with unzip.exe, files and folders were in \linux on the FAT16 partition, but booting into amigo-linux failed! The procedure stopped with messages like "cannot execute /etc/rc.d/rc.S , etc/rc.d/rc.M and sbin/agetty" as well saying Id 'c1',c2'....'c6' are spawnning too fast..." and so forth. So, despite being compiled from the same source, Info-Zip's unzip for DOS seems to be faulty, too!
After all, i adopted gnashley's recommendation and booted from the amigo floppy and the slackware 9.1 rescuedisk. I mounted hda1 on hd and hdb on cdrom (where i kept amigo20.zip on a CD-R), and unzipped succesfully again, now within ~ 15 minutes! Even though, it would be interesting to trace that bug with unzip for DOS; i'll send a report to InfoZip some day.
At present i struggle with xf86config and that damned serial mouse ....

have a nice day r.

p.s. On http://amigolinux.org/docs/inshowto.htm a self-extracting amigo.exe is mentioned briefly, but i could not find it in the download area. Was it withdrawn?
 
Old 02-27-2005, 12:54 PM   #6
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Okay, at least you are up and running.
It's not a 'bug' that they don't unzip correctly -the files are just too large for 16-bit memory management to handle. Sorry the docs aren't more definite about this, but I haven't tried this procedure much and don't know just HOW big is TOO big...

Sorry, the self-extractors were never made available for financial and time reasons. I'm re-doing the website soon and will get rid of 2-3 such faulty references.

Now, for your mouse - which port is it on? COM1 is /dev/tttyS0 under linux, and COM2 is /dev/ttyS1. In your XF86Config file you should have 'Microsoft' for the protocol and the device as above, although you can also have a link from /dev/mouse to the real device.
xf86config shouldn't have any problems with that. If you don't know your hardware that well, look at the files in /etc/sysconfig to see what Amigo HWSETUP found.
 
Old 02-28-2005, 02:49 PM   #7
renato2
LQ Newbie
 
Registered: Feb 2005
Location: Germany
Posts: 8

Original Poster
Rep: Reputation: 0
Yes indeed,

i'm up now, and also with a working mouse, which is now a PS/2 3-button nameless one. I tried two differenet serial mice on COM2/ttyS1, (which i used because ttyS0 seems to be preconfigured with modem). None of them could be put to work. They had been found by the DOS mouse driver as MouseSystems mice but here didn't work either; both formerly had been working with MS W95 - strange ...

thx again r.
 
Old 03-07-2005, 09:25 AM   #8
nycace36
Member
 
Registered: Feb 2004
Location: SFBayArea, CA
Distribution: Debian-based, Slackware 10x+
Posts: 185

Rep: Reputation: 22
Quote:
It's not a 'bug' that they don't unzip correctly -the files are just too large for 16-bit memory management to handle. Sorry the docs aren't more definite about this, but I haven't tried this procedure much and don't know just HOW big is TOO big...

Sorry, the self-extractors were never made available for financial and time reasons. I'm re-doing the website soon and will get rid of 2-3 such faulty references.
Also refer to the LQ Amigo Forum thread started by MistaED on October 30th, 2004 entitled "Problem with Amigo INIT". Mine was the last post on this "Problem..." thread, on November 23rd, 2004, and this should corroborate what you all wrote above!

-nycace36
 
Old 03-07-2005, 01:22 PM   #9
renato2
LQ Newbie
 
Registered: Feb 2005
Location: Germany
Posts: 8

Original Poster
Rep: Reputation: 0
THX.

My searching in this forum wasn't really clever, otherwise I would have found the thread you mentioned ...

But, I will not give up yet, despite having amigo2 running well.
After reading Info-Zip's FAQ about limits for UNZIP I concluded: If the number of files in an archive is limited, especially under 16bit-DOS, this number just has to reduced. One idea is to split the zip-file into multiple volumes by a special tool! I remembered using such one many years ago. It is Zip Chunker, made by "Jibben Software". I found it again on the web (search for zc301.zip), and will tinker with it when I have enough time again.
I promise to report my efforts here.

r.
 
Old 03-16-2005, 12:15 PM   #10
renato2
LQ Newbie
 
Registered: Feb 2005
Location: Germany
Posts: 8

Original Poster
Rep: Reputation: 0
Ok, here is my next report:

After cutting amigo20.zip with ZipChunker into 63 files (each fitting to a 3 1/2" floppy), I wrote a short batch file to unzip them into /linux. I used pkunzip v2.5. Result:
Again messages like "cannot execute /etc/rc.d/rc.S , etc/rc.d/rc.M and sbin/agetty" as well saying Id 'c1',c2'....'c6' are spawnning too fast..." and so forth.
I will do the procedure once again with unzip v5.52, and then give up, if no improvement will occur.

-r.
 
Old 03-22-2005, 01:46 PM   #11
renato2
LQ Newbie
 
Registered: Feb 2005
Location: Germany
Posts: 8

Original Poster
Rep: Reputation: 0
Last news:

I unzipped the 63 zipfiles again, now with Unzip 5.52 for DOS, and tried to boot - same errors as before.
I definetely give up. Thanks for your interest.

r.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
This is plain Stupid mickeyboa Fedora 4 05-15-2005 01:55 PM
Difference between Amigo 2 and amigo II fluxbox mazebane Amigo 2 12-29-2004 04:03 AM
plain mozilla Smokey Slackware 7 08-24-2004 06:14 PM
Looking for plain case for new PC- help krfan1 General 11 06-17-2004 11:52 AM
LILO is plain ugly pe2338 Debian 13 08-30-2003 09:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Amigo

All times are GMT -5. The time now is 02:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration