Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: jpeters on March 05, 2009, 07:57:16 PM

Title: updating
Post by: jpeters on March 05, 2009, 07:57:16 PM
I tried to update by unpacking the  iso, and replacing my old bzimage, isolinux, and tinycore.gz (in hd/tinycore). I guess this isn't the way to do it, because the new boot hung for about a minute looking for my non-existent floppy drive...giving IO errors.  What is the correct way to update, avoiding having to burn a new CD?  Thanks..
Title: Re: updating
Post by: roberts on March 05, 2009, 09:59:13 PM
Until we do a kernel upgrade, should only need to copy over the new tinycore.gz and any files that I usually list as likely in your persistent store.
Title: Re: updating
Post by: jpeters on March 06, 2009, 12:33:53 AM

I unpacked 1.2.rc2,.iso and copied tinycore.gz  to /hd/tinycore. 
The resulting boot hangs up looking for fd0 with something like:
"end-request i/o   dev fd0 sector 0 " for about 30 seconds, Then it tries for another 30 sec before repeating the error message. After another 30 seconds, there's something like:
"buffer i/o/  error device fd0. Another 30 seconds to repeat the initial error before moving on to complete the boot.  It's been I guess about 12 years since  I used a floppy.
 
Title: Re: updating
Post by: Juanito on March 06, 2009, 05:40:45 AM
Something along these lines works fine for me - both with the stock bzImage and a recompiled bzImage:
Code: [Select]
$ mkdir /tmp/image
$ sudo mount -o loop /mnt/sda1/iso/tinycore_1.2rc2.iso /tmp/image
$ sudo cp /tmp/image/boot/tinycore.gz /mnt/sda1/boot
$ sync
$ sudo umount /tmp/image
Title: Re: updating
Post by: jpeters on March 06, 2009, 10:18:04 AM
I like that better than unpacking with 7-zip, but doesn't eliminate the bug. Did you try on a computer without a floppy? 
Title: Re: updating
Post by: Juanito on March 06, 2009, 10:43:26 AM
This was done from a usb stick on a machine booted from the same usb stick - it doesn't have a floppy drive...
Title: Re: updating
Post by: jpeters on March 06, 2009, 11:57:47 AM
Comparing the two tinycore.gz files, I noticed earlier references to fd in the new version, for example in line 22 with numerous refs to /dev/fd, The only refs to dev/fd  I found in the older version were inclosed in "if" statements.  (eg line5626). 
Title: Re: updating
Post by: curaga on March 06, 2009, 12:17:42 PM
Do you have the floppy drive turned off in the bios? It's a good way to tell all OSes that you don't have one, and so not to probe it.
Title: Re: updating
Post by: jpeters on March 06, 2009, 06:01:16 PM
Do you have the floppy drive turned off in the bios? It's a good way to tell all OSes that you don't have one, and so not to probe it.

Yes, it's listed as "not installed" in the bios. Anyway, if the old version works and this doesn't, no sense trying to find workarounds if it's a bug. I can use the old version.