Geert Stappers
2014-Jan-20 10:25 UTC
[syslinux] After USB boot problems on Gigabyte GA-M55Plus-S3G
Op 2014-01-20 om 00:04 schreef Ronald F. Guilmette:> In message <52DCC023.7000100 at zytor.com>, H. Peter Anvin wrote: > >On 01/19/2014 03:47 PM, Ronald F. Guilmette wrote: > >> > >> Doesn't the Syslinux project provide (hopefully strong) specific > >> reccomendations, to its user base, for how these things should best > >> be done, you know, in order to insure maximal interoperability? > >> > > > >We try (see our wiki), but those recommendations can only come from mass > >testing across many, many systems -- which we have to rely on our > >userbase for as we have no such resources. > > I understand. > > As you see, I have tried to be helpful, and have done much testing... > all the testing that was requested of me. > > Now, will you please make whatever adjustments you feel might be > appropriate, either to the Syslinux wiki, or to the code or both, > and then, far more importantly as far as I am concerned, will you > reach out personally to the developers of Clonezilla, UBCD, and > OpenELEC, and provide them with advice, suggestions, and, if > appropriate, new (Syslinux) code which will help them to all to > avoid such end-user problems as I have experienced in the future? > Will you be kind enough to commit to doing that (please)? >Because I didn't follow this completely, I could be wrong that there is no code change needed. And about the documenting part. This text A wiki is usually a web application which allows people to add, modify, or delete content in a collaboration with others. Text is usually written using a simplified markup language or a rich-text editor. While a wiki is a type of content management system, it differs from a blog or most other such systems in that the content is created without any defined owner or leader, and wikis have little implicit structure, allowing structure to emerge according to the needs of the users is from http://en.wikipedia.org/wiki/Wiki The Syslinux wiki is at http://www.syslinux.org/wiki/index.php/The_Syslinux_Project It is been a while ago that I got a syslinux wiki account. So I don't know how hard it is to get one these days. My message is that getting a syslinux wiki account is possible. And if the account creation process is broken, please tell. Something else: I agree with the majority that some one else should do it and my kudos go to the minority that actually do. Groeten Geert Stappers -- Leven en laten leven ------------- volgend deel ------------ Een niet-tekst bijlage is gescrubt... Naam: signature.asc Type: application/pgp-signature Grootte: 198 bytes Omschrijving: Digital signature URL : <http://www.zytor.com/pipermail/syslinux/attachments/20140120/d92d2a0d/attachment.sig>
Gene Cumm
2014-Jan-20 11:18 UTC
[syslinux] After USB boot problems on Gigabyte GA-M55Plus-S3G
On Mon, Jan 20, 2014 at 5:25 AM, Geert Stappers <stappers at stappers.nl> wrote:> It is been a while ago that I got a syslinux wiki account. > So I don't know how hard it is to get one these days. > My message is that getting a syslinux wiki account is possible. > And if the account creation process is broken, please tell.Aside from the captcha, it should be easy. As Geert says, please let us know if it isn't. "2012-07-21 : Because of persistent spam attacks, we now require accounts to be manually authorized to edit the wiki. After creating an account, plesae contact us to have your account enabled for edits." This human interaction is so far the best alternative found. -- -Gene
Ronald F. Guilmette
2014-Jan-20 21:52 UTC
[syslinux] After USB boot problems on Gigabyte GA-M55Plus-S3G
In message <20140120102542.GV2170 at gpm.stappers.nl>, Geert Stappers <stappers at stappers.nl> wrote:>My message is that getting a syslinux wiki account is possible.I would be happy to help improve the Wiki, however I am most definitely not the person to do this for one simple reason: I still have no clear understanding of either (a) what exactly went wrong (that caused me to come here in the first place) _or_ (b) how it ultimately got "fixed". One tiny and perhaps inconsequential part of the whole mess I do under- stand: All things considered, it is better that stand-alone bootable things (of the type that can be put onto a USB sticks) set the "bootable" flag on the partition they live in. (Apparently, this is not universally done, and for some motherboards, e.g. mine, this can result in end-user confusion, even though it apparently does not impede actual booting.) With respect to all of the actually important stuff however, I may have missed it all, but I don't recall having read or seen an explanation of what Ady & everybody else finally figured out about all this. What is the answer, in the end? I did get the part about how (for my board, at least) tweeking some of the info within the relevant MBR partition table entry so as to cause it to indicate/suggest LBA addressing, rather than CHS style addressing, is one part of what finally yielded success. But what are the other parts? I personally am still totally in the dark. (This is probably my fault for not paying enough attention.) All I know is that in the last test that Ady had me run, he had me creating a sort of Frankenstein-like hybrid of (a) his prior "Hello world" test image and (b) the 2.2.1 Clonezilla release. Beyond that, I personally don't know *any* of the technical or functional details relating to _either_ of those two things, so I don't have any idea whatsoever about either (a) why Ady wanted me to do that last test or (b) why it seemed to boot Clonezilla OK. Is setting the partition type byte (to a value which is widely construed to specify/request/demand LBA rather than CHS addressing) the one and only tweek needed in order to get Syslinux-based stuff booting properly on this motherboard? If not, then what else, exactly, is required? Regards, rfg
> With respect to all of the actually important stuff however, I may have > missed it all, but I don't recall having read or seen an explanation of > what Ady & everybody else finally figured out about all this. What is > the answer, in the end? I did get the part about how (for my board, > at least) tweeking some of the info within the relevant MBR partition > table entry so as to cause it to indicate/suggest LBA addressing, > rather than CHS style addressing, is one part of what finally yielded > success. But what are the other parts? I personally am still totally > in the dark. (This is probably my fault for not paying enough attention.)There was at least one email that requested to execute some fdisk commands on the problematic USB drives. I don't recall having seen the result. Without it, we can only have an educated guess by carefully reading your reports. I have mentioned this more than once already. There must be _matching_ values between the MBR / partition table / VBR. For example, if the first partition starting offset is 63 sectors, the partition table should have CHS values that correspond to LBA 63. Also the FAT VBR should indicate the "hidden sectors" (aka. "sectors before") with a corresponding 63. If the values don't match, strange things will eventually happen. Generally speaking, the BIOS itself has to support (understand) the values that are being used in the MBR. With the adequate values, the MBR and the VBR still need to contain the correct "executable" code. If all prior steps are OK, once SYSLINUX has the control it has to be able to find the necessary files in the adequate location. This part depends on the instructions and scripts from each project, like Clonezilla Live for example. But nothing of the above can happen if the BIOS settings are not adequate. A simple example would be: setting "HDD" as First Boot Priority, with the rest as "disable", and letting the BIOS find by itself the boot device. Since the USB devices are not included in the BIOS boot priority list, they can't be "automagically" found. Simpler examples: _ Trying to boot from a USB drive while the BIOS setting for "USB controller" is set to "disable"; _ Trying to boot from an IDE / PATA drive while the BIOS setting for the IDE controller is set to "disable". As you can see, even with the correct bits in the USB drive, the boot process could fail. It would be enough to have some BIOS settings in a different state than what is required for the specific situation. And we could add the need for an adequate kernel (and more) to support the relevant hardware...> > All I know is that in the last test that Ady had me run, he had me > creating a sort of Frankenstein-like hybrid of (a) his prior "Hello > world" test image and (b) the 2.2.1 Clonezilla release. Beyond that, > I personally don't know *any* of the technical or functional details > relating to _either_ of those two things, so I don't have any idea > whatsoever about either (a) why Ady wanted me to do that last test or > (b) why it seemed to boot Clonezilla OK.The test.img replaced the potential "unmatching bits" in your USB drive. The "hello world" (which is a testing module included in official Syslinux which can be used by anyone) was a way to test whether SYSLINUX itself had a problem with your mainboard. It also included an adequate installation of SYSLINUX so to avoid a problem in Clonezilla Live's script (which is already being improved). The first test.img proved that the USB drive can actually boot your mainboard, and that SYSLINUX works in it. The second test was to check whether Clonezilla can actually boot correctly (or if, instead, there are additional problems).> > Is setting the partition type byte (to a value which is widely construed > to specify/request/demand LBA rather than CHS addressing) the one and > only tweek needed in order to get Syslinux-based stuff booting properly > on this motherboard? If not, then what else, exactly, is required? >Forcing LBA for the partition type was one of several considerations, which might or might not had helped. I just went directly to the case which could, potentially, provide higher chances of initial success. It is most probably not necessary, if the rest of the variables are OK. If we could answer what exactly makes one mainboard boot OK and the other to fail in just one email, then I guess that entire websites and forums specifically dedicated to booting issues would be almost never visited. Regards, Ady.