Difference between revisions of "Talk:More robust iso"

From Sugar Labs
Jump to navigation Jump to search
(Created page with '[http://puredyne.org/ Puredyne] seems to do what we are looking for ([http://bazaar.launchpad.net/~puredyne-team/bouilloncube/devel/annotate/head:/sh/syslinux/make-live-device.sh...')
 
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[http://puredyne.org/ Puredyne] seems to do what we are looking for ([http://bazaar.launchpad.net/~puredyne-team/bouilloncube/devel/annotate/head:/sh/syslinux/make-live-device.sh sript]).
+
[http://puredyne.org/ Puredyne] seems to do what we are looking for ([http://bazaar.launchpad.net/~puredyne-team/bouilloncube/devel/annotate/head:/sh/syslinux/make-live-device.sh make-live-device.sh script]).
 +
 
 +
Yup - we did it for Blueberry, too:
 +
 
 +
http://cgit.sugarlabs.org/soas/mainline/tree/livecd-iso-to-bootable-tree.sh?h=blueberry
 +
http://cgit.sugarlabs.org/soas/mainline/tree/bootable-tree-to-fulldisk-img.sh?h=blueberry
 +
http://cgit.sugarlabs.org/soas/mainline/tree/make_fake_device.sh?h=blueberry
 +
 
 +
We also need to worry about the cyl/head data in the MBR:
 +
 
 +
<pre>
 +
00:15 < bernie> dsd_, mtd: apparently, these numbers where on some crap consumer media like the iomega zip and bios writers of course felt the urge to hard-code the parameters of these devices in their boot code
 +
00:16 < bernie> dsd_, mtd: the bios reads the partition table to tell the difference between USB-ISO, USB-Floppy and USB-HD
 +
00:16 < dsd_> alright, a USB oddity then
 +
00:17 < bernie> because the ISO fs skips the first 2KB and the floppy and hd layouts can be intermixed with some clever tricks, there are tools around to create bootable USB sticks that work with all 3 methods
 +
00:18 < bernie> but they told me that some stupid bioses which would boot fine from USB-HD will be tricked into trying, say, the ISO way and then choke at some later steps.
 +
</pre>

Latest revision as of 05:41, 17 June 2010

Puredyne seems to do what we are looking for (make-live-device.sh script).

Yup - we did it for Blueberry, too:

http://cgit.sugarlabs.org/soas/mainline/tree/livecd-iso-to-bootable-tree.sh?h=blueberry http://cgit.sugarlabs.org/soas/mainline/tree/bootable-tree-to-fulldisk-img.sh?h=blueberry http://cgit.sugarlabs.org/soas/mainline/tree/make_fake_device.sh?h=blueberry

We also need to worry about the cyl/head data in the MBR:

00:15 < bernie> dsd_, mtd: apparently, these numbers where on some crap consumer media like the iomega zip and bios writers of course felt the urge to hard-code the parameters of these devices in their boot code
00:16 < bernie> dsd_, mtd: the bios reads the partition table to tell the difference between USB-ISO, USB-Floppy and USB-HD
00:16 < dsd_> alright, a USB oddity then
00:17 < bernie> because the ISO fs skips the first 2KB and the floppy and hd layouts can be intermixed with some clever tricks, there are tools around to create bootable USB sticks that work with all 3 methods
00:18 < bernie> but they told me that some stupid bioses which would boot fine from USB-HD will be tricked into trying, say, the ISO way and then choke at some later steps.