Posts: 347
Silent Observer
Joined: 08 Aug 2013
#1
I've been trying to get antiX 13.1"base" installed on my laptop -- for about the past week or more. This is complicated by the fact that the laptop is at the lower end of the antiX hardware specs; it's a fifteen year old Pentium II, 300 MHz, with 192 MiB RAM and a 4 GiB hard disk. In fact, using PLOP Boot Manager, I can get the laptop to boot to antiX on USB, at least part of the time (only from a cold start, and then only if I haven't had a system crash -- those seem to sometimes render the LiveUSB unbootable). It'll also boot from CD, but that old CD-ROM drive is so slow it literally takes close to a half hour to get into fluxbox.

Where the major fight has come in is in trying to get a backup of the Win98 (system and data) off the machine before wiping it all to install antiX: every attempt I've made so far to get either an image backup or a file-by-file copy with grsync has ended in a crash, causing an incomplete backup and a write protected USB stick (formatted FAT32 in order to make the contents accessible to the other Win98 install on my secondary desktop, if the two FATs don't match, Linux will refuse to write it and fsck can't/won't fix it). Further, one abortive attempt to partition (when I thought I had a good backup, first time I tried to use grsync) revealed a bug in libparted that prevents both gparted and fdisk (at least as found on the antiX CD) from being able to partition the HDD (gparted won't even run; it crashes when it tries to scan the hard disk partitions, I suspect because they're FAT16 -- gparted runs from the LiveCD, LiveUSB, and installed on both my desktop systems).

I'd use Parted Magic to get the backup, but it won't boot on the laptop -- not enough RAM (it apparently won't run in less than 256 MiB). I can probably get a Clonezilla LiveCD to run on it, but there are really only a few folders I want to save out of the nearly 3 GiB of system/software/data on the laptop's HDD, and an rsync type backup would be preferred; I have a USB stick to receive the backup that's four times the size of the HDD.

So, is there a way to trace down what's causing the rsync to fail and correct it?
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#2
then only if I haven't had a system crash -- those seem to sometimes render the LiveUSB unbootable
Pendrives hate hard shutdowns. It unmounts them improperly and makes them unbootable.
Where the major fight has come in is in trying to get a backup of the Win98 (system and data) off the machine before wiping it all to install antiX: every attempt I've made so far to get either an image backup or a file-by-file copy with grsync has ended in a crash
Hmmm. I don't know if low specs or media being written to is causing this. How are you backing up Windows 98. Something I did once long ago. I have since erased that sd card.

post16991.html#p16991

Basically I used a gui version of the"dd" command to make of byte by byte copy of Windows XP to a external SD card. It would boot even into XP also.
I trashed it though because Windows XP ran slow on that netbook and if I ever sold it. I would install XP lite instead which is available on the net anyways.
Posts: 850
fatmac
Joined: 26 Jul 2012
#3
I think your main problem is lack of ram. Try either copying out the files you want, one or two at a time, or try using SliTaz live cd, it uses very little in the way of ram. (Puppy is another.)

Have you tried getting a backup of your data using W98 ?

How many files, MB are you trying to get backed up ?

If you are trying to get a copy of W98, including your data, the only way may be to use 'tar' to back up the disk to a 'file', which can be accessed to gain files from within. If you need to copy the MBR, use 'dd if=<your drive> of=<your file> bs=512 count=1' from a command line/terminal.
Posts: 18
Tom
Joined: 30 Jul 2013
#4
I use antix with 96MB ram, but have 512MB swap. Do you have swap enabled?
Posts: 347
Silent Observer
Joined: 08 Aug 2013
#5
This is probably moot at this point; it occurred to me that the libparted bug wasn't occurring when I tried the same operations, live or installed, on my secondary desktop system (albeit six or seven years newer hardware), and the only thing unique to the laptop (that I can do anything about) is the FAT16 file system. The obvious step was to convert the drives to FAT32 using the converter built into Win98. I was successful, first try, with the two smaller partitions (~1 GiB each). The larger partition (about 2 GiB and more than 90% full) gave an error, complaining of too little RAM to convert, so I moved a couple hundred MiB of files to one of the other partitions temporarily, converted, and was in process of moving the files back when I started getting errors -- a blue screen complaining of inability to write to HD0 and warning that files or data might be lost; and then an extremely slow transfer rate (ten minutes or so on a file that should have taken a few seconds), presumably because of needing many retries for each transferred block. Eventually, I killed the transfer, and then couldn't even get the system to shut down (HDD light was on continuously); after ten minutes more I used the power button, figuring I'd probably lose one or two of the thousands of unimportant files and be very unlikely to damage one of the few dozen I actually cared about). Afterward, the system wouldn't recognize the HDD during startup (though it would still correctly read out the number of head, sectors, and cylinders in BIOS setup), and wouldn't boot with the PLOP Boot Manager/LiveUSB antiX combination I'd been using until I physically disconnected the HDD; I can only conclude that either the 1998 vintage hard disk finally couldn't stand the stress of three partition conversions, accompanying defragments, and moving a big chunk of data a couple times, or shutting down with a rogue transfer process still running damaged the MBR and/or FAT on the boot partition badly enough to prevent booting even to another OS (this last just occurred to me, I may try reinstalling the HDD and seeing if I can boot the Win98 CD and repair the MBR -- should only take a half hour or so).

But, for whatever it's worth...

No, I don't have a swap while running Live; that only works (as far as I've been able to tell) if I have a Linux swap partition already present, and partitioning wasn't working due to a reported libparted bug (else I could easily have shrunk one of the smaller partitions enough to give a 192 MiB or so swap partition, if I'd though it would matter).

I had considered trying to backup from Win98, but Win98 doesn't recognize USB storage devices natively, and I'd never been able to afford a thumb drive until long after Win98 was obsolete and that machine was running only as a bedside stereo, so had never installed the USB storage driver -- and it wasn't connected to my network for the past several years, because Win98 wasn't safe to use on the Internet since about 2005. The only way I'd have been able to get a backup from the Win98 install would have been to connect the laptop to the network, reboot my main desktop system into WinXP (to offer shares, since I've never been able to get Samba to share with a Windows system) and backup through the network -- a many-hour process even with 100 Mbps, since peer-to-peer networking never comes close to the network's actual speed (in my experience). I was just about to try the file-by-file method from Live antiX if the FAT32 conversion didn't fix grsync and/or the antiX partition image utility (which, I believe, uses dd -- works pretty much the same as Clonezilla, except a little less user friendly, but does at least run in 192 MiB RAM until it crashes).

When/if I get the"new" hard disk I'm bidding on (a Toshiba 40 GiB, the smallest/cheapest I could find on eBay, and according to its label, compatible heads/sectors geometry and probably compatible number of cylinders with the laptop's BIOS, despite 10x capacity -- and two similar ones that end over the few days following the one I've got the bid on, for similar price and even less shipping), assuming it works with the laptop, this will all be a moot point; I'll install antiX fresh to the new HDD with separate swap and the only question will be whether antiX can recognize the laptop's sound hardware.