Bugfixes in 'init' script

This is to support the different ways that BootFlash can format a USB drive.

The 'ISO9660' mode simply copies the live-CD ISO image file to the USB drive (after running the Syslinux 'isohybrid' utility on it) and it becomes partition-1 on the USB drive. BootFlash creates a FAT16 or FAT32 filesystem for partition-2, filling the rest of the drive.

The USB-ZIP and ComboFormat choices in BootFlash create partition-4 as a 128MB bootable FAT16 partition. Partition-1 is FAT16 or FAT32 and fills the rest of the drive.

In the case of 'ISO9660' choice, the 'init' script now accepts a ISO9660 filesystem in a USB drive.

In all three cases, the 'init' script will now correctly look for a 'pupsave' file in the other partition -- partition-2 in the case of ISO9660, partition-1 in the cases of USB-ZIP and ComboFormat.

Note, for USB-HDD choice in BootFlash, a single bootable FAT16 or FAT32 partition is created. USB-FDD does not have any partitions.

I'm going to do some more testing of these various modes. So, probably Woof-Puppy alpha3 will be available in a few days. Apart from the Woof tarball, I'll probably upload an Ubuntu "Intrepid Puppy" live-CD.
The main purpose of alpha3 will be to test the Puppy Package Manager and BootFlash.


Posted on 16 Mar 2009, 16:38


Comments:

Posted on 17 Mar 2009, 3:50 by GreatnessGuru
Live-CD & GRUB USB Booting?
For the USB boot challenged boxes,
may the Live-CDs feature a feature
to boot from USB?
So that a Live-CD can both
install to USB and then
boot from USB?

Also, could GRUB come ready to
boot from USB after we
install to HDD?

Thanks very much, Barry,
Eddie Maddox
Inwood IA USA



Posted on 17 Mar 2009, 15:35 by Terryphi
Intrepid Puppy Live-CD
I'm looking forward to downloading Alpha 3 version of Intrepid Live-CD and seeing latest features of Package Manager. Great work, Barry.


Posted on 17 Mar 2009, 23:09 by PathFinder_Cate
Boot Order
On older computers the options for booting were
Floppy / Hard Drive
( If you even had a hard drive )

Then the options became
Floppy / CD / Hard Drive

Now they are
[Floppy /] CD / USB / Hard Drive
( Many new computers no longer come with floppy drives )

Are we still covered for all the boot options, including starting from one media to finish the booting from another (like using a CD to boot from USB)?

Kenneth Cate
Hampton, VA USA


Posted on 18 Mar 2009, 3:34 by dogone
latest usb flash sticks?
Just a heads-up Barry. Having always booted Puppy from CD, I recently moved my pup_save file from a Corsair Voyager GT 2GB flash stick to the newer OCZ Throttle USB/eSATA 8G flash stick. I access the OCZ via USB. To my surprise, Puppy is now running in mode 12. It sees the OCZ flash device as a USB hard drive and is therefore NOT caching writes. It's obviously important that Puppy recognize the device as one subject to wear. Might be worth bearing this in mind as you prepare Woof.


Posted on 18 Mar 2009, 16:03 by pakt
Regarding boot options, by PathFinder_Cate
"Are we still covered for all the boot options, including starting from one media to finish the booting from another (like using a CD to boot from USB)?"

I made the original WakePup boot floppy readonly (apart from reducing wear) so that the floppy image could be burned to CD. This CD could then boot many, but not all, USB devices on PCs without USB boot capability.

However, IIRC, the current version of WakePup, modified by others, is no longer readonly and thus cannot be burned to CD.


Posted on 18 Mar 2009, 16:03 by pakt
Regarding boot options, by PathFinder_Cate
"Are we still covered for all the boot options, including starting from one media to finish the booting from another (like using a CD to boot from USB)?"

I made the original WakePup boot floppy readonly (apart from reducing wear) so that the floppy image could be burned to CD. This CD could then boot many, but not all, USB devices on PCs without USB boot capability.

However, IIRC, the current version of WakePup, modified by others, is no longer readonly and thus cannot be burned to CD.


Posted on 20 Mar 2009, 6:39 by dogone
Woof and SSDs
Barry. Will Woof default to or offer the option of delaying (caching) writes on systems with solid state drives (SSD)?


Posted on 21 Feb 2010, 13:14 by technosaurus
copy2ram size
Barry,

With the dynamism of quirky you may want to take a look at the hard-coded 280000 size for copy2ram in case you want to make quirky much larger or smaller.

I rambled out some test code for basing it on 2x the size of the sfs + 2000 in this thread.

http://murga-linux.com/puppy/viewtopic.php?p=394220#394220


Posted on 22 Feb 2010, 7:16 by BarryK
Big puppies
technosaurus,
I have responded here:

http://bkhome.org/blog/?viewDetailed=01408