[PATCH] Workaround for usb boot failure on some mainboards

2010-09-23 Thread Thomas Frauendorfer | Miray Software
Hi, On some boards, like the AsRock K7S41GX, Grub fails to boot from superfloppy fat32 formated usb sticks. The reason for the boot failure is that the bios of the mentioned board replaces byte 0x24 of the bpb with the value 0x00 when it's read through the bios function. In fat16 this byt

Re: [PATCH] Workaround for usb boot failure on some mainboards

2010-09-22 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 09/22/2010 05:45 PM, Thomas Frauendorfer | Miray Software wrote: > Hi, > > On some boards, like the AsRock K7S41GX, Grub fails to boot from > superfloppy fat32 formated usb sticks. > This config isn't recommended in first place. You should really create partitions on the USB disk and leave some

Re: [PATCH] Workaround for usb boot failure on some mainboards

2010-09-22 Thread Thomas Frauendorfer
On Wed, Sep 22, 2010 at 7:45 PM, Lennart Sorensen wrote: > On Wed, Sep 22, 2010 at 06:52:46PM +0200, Thomas Frauendorfer wrote: >> Well, I think I didn't state the problem clearly enough: >> The bios doesn't write to the disk, it just changes the value on the >> fly when the bootloader is reading

Re: [PATCH] Workaround for usb boot failure on some mainboards

2010-09-22 Thread Lennart Sorensen
On Wed, Sep 22, 2010 at 06:52:46PM +0200, Thomas Frauendorfer wrote: > Well, I think I didn't state the problem clearly enough: > The bios doesn't write to the disk, it just changes the value on the > fly when the bootloader is reading the bpb through a bios method. > The workaroud also doesn't cha

Re: [PATCH] Workaround for usb boot failure on some mainboards

2010-09-22 Thread Thomas Frauendorfer
On Wed, Sep 22, 2010 at 6:14 PM, Lennart Sorensen wrote: > Wouldn't that be a bug in the BIOS?  Don't go writing to a drive you > don't know what contains.  It could be something other tahn fat16 after > all (what if it was a linux kernel with a bootheader on it and not a > filesystem at all?) >

Re: [PATCH] Workaround for usb boot failure on some mainboards

2010-09-22 Thread Lennart Sorensen
On Wed, Sep 22, 2010 at 05:45:34PM +0200, Thomas Frauendorfer | Miray Software wrote: > On some boards, like the AsRock K7S41GX, Grub fails to boot from > superfloppy fat32 formated usb sticks. > > The reason for the boot failure is that the bios of the mentioned > board replaces byte 0x24

[PATCH] Workaround for usb boot failure on some mainboards

2010-09-22 Thread Thomas Frauendorfer | Miray Software
Hi, On some boards, like the AsRock K7S41GX, Grub fails to boot from superfloppy fat32 formated usb sticks. The reason for the boot failure is that the bios of the mentioned board replaces byte 0x24 of the bpb with the value 0x00 when it's read through the bios function. In fat16 this byt