Slashdot Mirror


Why Do We Have to Use a Floppy to Flash BIOS?

Koskun asks: "With all the time and technology that has come and gone with computers why must we still use a floppy disk to flash the BIOS anymore? Yes, some manufacturers are enabling BIOS flash from within Windows, but there are still a lot of motherboards out there that require you to find a floppy to flash the BIOS. It took me two floppy drives and four floppy disks just to find one of each that worked." Are there reasons why BIOS manufacturers haven't moved BIOS flashing to modern media like USB flash drives, or bootable CD-ROMs?

37 of 174 comments (clear)

  1. That razor thing by 77Punker · · Score: 4, Interesting

    The simplest explanation tends to be the best. They are lazy programmers who know they won't sell many extra motherboards if they do include the extra ability.

    1. Re:That razor thing by Anonymous Coward · · Score: 3, Informative
  2. Because by WebHostingGuy · · Score: 2, Insightful

    They haven't been forced to do so by market forces. It's the philosophy if it's not broke don't fix it. In this case they haven't been forced to do anything different by the end use customers. (And in this case you generally are the end user; HP, Dell, IBM, etc. are the next in line from the motherboard manuafacturers).

    --
    Quality Hosting e3 Servers
  3. not all by TheDarkRogue · · Score: 3, Informative

    I use giga-byte boards, which allow me to flash from windows with @Bios or something along those lines

    --
    (Score:0, Interesting)
    1. Re:not all by croddy · · Score: 2, Funny

      i can't imagine anything more hair-raising than modifying the BIOS while windows is running

    2. Re:not all by Captain+Splendid · · Score: 2, Informative

      Eh, it's about as hair-raising as doing anything in Windows: Kinda, but not really.

      --
      Linux, you magnificent bastard, I read the fucking manual!
    3. Re:not all by fimbulvetr · · Score: 2, Informative

      You can try to go to http://www.badflash.com/.
      They might have something for you.
      If you feel like something really cool, you can put a good bios in the mobo (one you got from badflash or a similiar mobo), boot up, pull the good bios, put the bad one back in and reflash.
      Sounds crazy-I know-but it's worked every time for me.

    4. Re:not all by facelessnumber · · Score: 2, Informative

      I can back you up on that - it sounds completely nuts but it works.

      Couple of years ago I installed some 40 or so computers at a couple of schools in another state a few hundred miles away. Trucked them there in a Uhaul. Started unpacking them, booting them up, and a few failed. No problem, I had extra motherboards and other parts for just this reason... The only problem is, as I kept going I discovered that just under half of them turned out to have a dead BIOS and would not come up at all.

      Now, I don't know why that was. I'd had every one of them powered on before I left, because I'd imaged the drives. They all worked fine. I have some half-baked theories, but I still don't know what the hell happened. But here I was getting to the end of the day, I had two labs to get running in two days, and only enough machines for one. God knows how I'd ever get those 18 or so dead motherboards replaced under warranty, but nevermind that, I just didn't want to have to make that trip again, and we absolutely had to have those labs installed now.

      So I finished the first lab and took every one of those dead machines up to my hotel room. Myself and another guy popped out all of the BIOS chips. We each took a working machine, booted up, dumped a copy of the flash onto a floppy and then ripped out the BIOS chips while the machines were running. Then we'd put a bad chip in, flash it, pull it out, put it back into a motherboard. I shit you not, my geek bretheren, this actually worked.

      While we were at it, we also re-imaged all of the drives, having found out we had additional software to install. It was a long night.

      When we installed the second lab, everything worked fine except for one problem. The DHCP server handed out the same IP address to every machine. It took us a a little while to notice this because any machine we tried to use would work great until another one tried to do something on the network. Turns out, all of the on-board NICs ended up with the same MAC address.

      We were able to fix that because the BIOS allowed us to change the MAC's. These boards were Biostar M7NCD Pro. Incidentally, this was also the day that the MS Blaster worm hit and crippled teh intarweb. Most of the trip back was spent on the phone.

  4. you don't by agristin · · Score: 5, Informative

    Make a boot floppy image and burn it to cd.

    Boot from cd update BIOS. I've done this about 10 times for different motherboards.

    I've even done it just from linux using dos bootdisks from the internet (I don't have dos anymore):
    1) download awdflash and bios for mobo
    2) download bootdisk image from bootdisk.com
    3) loop mount disk image
    4) delete some files to make room, pare down the autoexec.bat, put awdflash and bios on mounted disk image
    5) umount disk image and burn as a bootable cd (you can even use something like K3b or xcdroast to do this from a gui)
    6) boot from cd, and then flash bios.

    It gets niftier...

    Say you have to do this in a cluster. Keep that dos boot disk image and automate it some (awdflash has some command line switches, batch file etc).

    Then put that image on your PXE server as a bootable option. Change your DHCP server and PXE boot, then you can remotely upgrade bios on 100s or thousands of identical machines. Be careful with this part or you can make some thousand dollar paper weights.

    If you are running windows, many modern mobo manufacturers have bios updaters that run in windows.

    -A

    1. Re:you don't by BRTB · · Score: 2, Informative

      Or (if you can read USB key after a DOS boot, most likely you can boot from it):

      1. Format USB key with FAT16/FAT32
      2. Copy DOS system files to USB key
      3. Put bios update files on USBkey
      4. Boot from USB key
      5. Update bios

      Bonus points if you use SYSLINUX to choose between multiple DOS floppy images - some having network support for multiple NICs, a MemTest image, and a copy of ZipSlack.

    2. Re:you don't by Miffe · · Score: 2, Informative

      Or even better

      Use memdisk from syslinux to boot the floppy image directly from grub or so.

  5. That's you are NOT the end user (edit) by WebHostingGuy · · Score: 2

    sorry

    --
    Quality Hosting e3 Servers
  6. Linux/OSS workaround by Taliesin · · Score: 5, Informative

    Last time I was faced with this, I found it wasn't to hard to pull of touching neither Microsoft software not a floppy disk. First this I did was to download the freely available and open source FreeDOS. I simply downloaded a pre-built bootable floppy image, though you could make your own from scratch. I mounted that floppy image in Linux using the loopback device, added the necessary flash tool and BIOS binary, and unmounted. Using my custom image, I burned a bootable CD (bootable CDs use basically the same format as bootable floppies). I popped that CD in, and the machine booted right up as if I had a put in a floppy. Ran the tool as instructed, and I had a newly flashed BIOS. A little work, maybe, but worth it.

  7. Bootable CD by atomic-penguin · · Score: 4, Informative

    If you have a floppy image there is no reason you can't make a bootable CD from it. Depending on the BIOS flash program (i.e. the image is embedded in an exe or com file) you may have to make the floppy first.

    I have had to make bootable CD's in the case there wasn't a drive available on a computer to be flashed. Also, it's useful if you have to flash several computers.

    There is also the chicken/egg dilemna in the case (perhaps rare) of flashing to support bootable CD's.

    --
    /^([Ss]ame [Bb]at (time, |channel.)){2}$/
  8. I can't agree more by nilbog · · Score: 3, Funny
    Seriously ... it's like using a spoon to repair an engine.
    I had to flash my bios and didn't have any floppy disks. So here I am at the store at 2am buying a package of ten floppy disks (of which I will use only 1) for $10 - more expensive then cds I could have burned the image onto.

    Anyway, I got home only to realize the computer didn't even have a floppy drive. Throw me a freakin' bone here.

    --
    or else!
  9. Re:A floppy is...... by Planesdragon · · Score: 3, Informative

    Everything still supports it.

    Except for the mac.

    And the PC built by someone trying to save $50 on a floppy drive they'd only use to flash their BIOS.

  10. The answer is: Mu by moonbender · · Score: 4, Insightful

    The question is inane. As others already have pointed out, you don't have to use a floppy to flash your BIOS, and you never had to. Yes, some boards will only let you flash from within something like DOS, but how you get to a DOS environment never mattered at all. Boot from anything, a CD, a memory stick, network, or a hard disk, it doesn't matter. Make it writable if you want to back up the current image.
    To save myself from burning a CD every time an update was released, I created a tiny (100 meg) FAT16 partition and just one DOS boot CD. I couldn't access the NTFS drives from DOS, but the FAT16 partition containing the BIOS images was no problem. I stopped having a floppy disk drive attached to my computer years ago.
    And of course, these days I just flash from within Windows. The (perceived) added danger of things going wrong makes it all more exciting!

    Perhabs a better question would have been - are there ways to flash from within Linux these days? Last I looked (a long time ago), I couldn't find anything reliable.

    --
    Switch back to Slashdot's D1 system.
    1. Re:The answer is: Mu by Nasarius · · Score: 2, Informative
      Perhabs a better question would have been - are there ways to flash from within Linux these days? Last I looked (a long time ago), I couldn't find anything reliable.

      Not exactly flashing from within Linux, but check out biosdisk. Gentoo has the package.

      --
      LOAD "SIG",8,1
  11. Why are we still using BIOS's by QuantumRiff · · Score: 3, Insightful

    Why are we still using a BIOS on the motherboard patterned after the designs of 20 years ago. None of my computers come with serial, parrellel, or PS2 ports, and no more ISA.. so why are we still using old hacked together BIOS? Sun and Mac have been off of standard BIOS's for years...

    --

    What are we going to do tonight Brain?
    1. Re:Why are we still using BIOS's by Kalzus · · Score: 2, Insightful

      Because we are still using (on x86) a CPU that, when it powers up, emulates a CPU that was designed 20 years ago. So your peripherals have to have options ROMs that expect an operating environment that is similar to 20 years ago.

      If someone can get every BIOS maker, motherboard maker, video card maker, SCSI card maker and network card maker to all simultaneously (a) switch to a different pre-boot environment, or (b) include code for both the existing AT-style pre-boot as well as a hypothetical newer environment; escaping the AT-style POST environment won't happen.

      --
      "The Devil does not know a lot because He's the Devil, He knows a lot because he's old." -- unknown
    2. Re:Why are we still using BIOS's by drsmithy · · Score: 2, Interesting
      Probably because some crufted-over operating system of 20 years ago still doesn't know how to live without it, and even more perplexingly, is still used despite lack of a modern implementation that takes into account today's hardware and security concerns. Even you noticed modern OSs lack this problem.

      False. All x86 OSes "need" a BIOS to bootstrap. Once the bootloader kicks in, however, the BIOS is irrelevant. This applies to Windows, Linux, BeOS, OS/2, even OS X/intel - all of them.

    3. Re:Why are we still using BIOS's by Detritus · · Score: 2, Informative
      Once the bootloader kicks in, however, the BIOS is irrelevant.

      Wrong. Read Intel's documentation on System Management Mode, especially popular on laptops. You may think that your operating system has complete control over the hardware, but it doesn't. The motherboard can force the CPU to enter SMM and execute code from the BIOS. This means that the motherboard's designer has ultimate control over the system, even after you have loaded your operating system.

      --
      Mea navis aericumbens anguillis abundat
  12. Re:A $50 floppy???? by OneDeeTenTee · · Score: 2, Informative

    Where the hell do you buy floppy drives for 50? Floppys are about $8 for a generic to $12 if you go for a name brand like Teac.

    That's what the Apple Store charges if you want one in your PowerMac.

    --
    Stop the world; I need to get off.
  13. Re:A floppy is...... by Elwood+P+Dowd · · Score: 2, Funny

    someone trying to save $50 on a floppy drive

    Have they started making floppy drives out of babies?

    --

    There are no trails. There are no trees out here.
  14. Re:A floppy is...... by seanellis · · Score: 2, Interesting

    >> Everything still supports it.
    > Except for the mac.

    And my PC.

    When I bought a Firewire board for my PC, it needed one of those small power connections from the PSU, like the floppy drive uses. Since they were all (both) already in use, I had to choose between Firewire board and floppy drive.

    The floppy drive is now in my "obsolete computer bits" pile, along with my zip drive and 4x CDROM.

  15. ...But you don't need BIOS in Linux! by Baloo+Ursidae · · Score: 2, Insightful

    But if you're running Linux, why even bother updating software that will only ever be used from the time the power turns on to the time Grub or Lilo hand off to the kernel? Seems like a big risk of blowing that code and making a big, unbootable doorstop for absolutely zero payoff.

    --
    Help us build a better map!
    1. Re:...But you don't need BIOS in Linux! by mjg59 · · Score: 2, Informative

      Because in the ACPI world, information stored in the BIOS is used for a wide variety of tasks during kernel runtime. How do you think the kernel learns how your interrupts are wired? How does it know what power saving modes your motherboard and processors support? For that matter, how does it know how many processors you have in the first place? All of this information is stored in tables in the BIOS, and a lot of the time vendors get it wrong in earlier BIOS revisions.

    2. Re:...But you don't need BIOS in Linux! by Chris+Snook · · Score: 3, Interesting

      You're joking, right? Basic Input Output System. No, you don't need it doing anything terribly intelligent once it's booted, but you definitely need it to NOT be doing anything incredibly stupid. I've seen plenty of repeatable post-boot panics, device resets, data corruption, machine check exceptions, etc., that were fixed by BIOS updates. Veteran laptop users will also tell you about the huge impact the BIOS version makes on how many charge cycles your battery will go before you have to throw it out and get a new one.

      Also remember that a BIOS update accomplishes a firmware update for any onboard devices (except for some rare, really weird ones). The one piece of firmware that I've seen makes even more of a difference than the BIOS proper is the firmware on a RAID card, and some boards have those built in too. (And then some have fakeraid, but that's another rant.) There are even some network cards with significant firmware bugs.

      I personally will cheer when BIOS is dispensed with, so long as it doesn't get replaced with something even more hideous, like ELILO on Itanium systems. Until then, I will update it any time I have a problem I can't fix in software, or any time I can on a laptop.

      --
      There's no failure quite as dissatisfying as a complete and total solution to the wrong problem.
    3. Re:...But you don't need BIOS in Linux! by runswithd6s · · Score: 2, Interesting

      The question of firmware updates extends to devices other than just the motherboard. I recall my CDRW drive having a crappy firmware version and having to update it in order to burn CD's correctly within Linux. It happens. Learning how to build a bootable CDROM with FreeDOS and the firmware program would be well worth the time investment. Personally, I think hardware manufacturers should make their own little bootable CD images that are OS agnostic to do firmware updates.

      --
      assert(expired(knowledge)); /* core dump */
  16. Re:A floppy is...... by Nagatzhul · · Score: 2, Interesting

    Apple still sells floppy drives for current model computers. Are there any PC motherboards out there that don't have a connector for a floppy? Mainstream, not specialized form factor boards.?

    Four months is not that long. All the new stuff I have looked at coming in the door still has the option of updating the BIOS by floppy. We are talking mostly Dells here. Even checked the servers in the closet. They do as well.

    --
    "All I want is a warm bed and a kind word and unlimited power." - Ashleigh Brilliant
  17. Skipping Bootable Floppies by CokeJunky · · Score: 2, Interesting
    The trick is that the floppy is bootable!


    The spec that describes floppies and how bios's read them to boot says that the bios will load the first sector (512 bytes, IIRC) into memory and execute it. A simple solution for those old machines that ran only on floppy disks. However, because of this, when you format a floppy, the format utility puts a minimal 'boot' program in there that displays the message that you need to put a system disk in the drive and restart the computer. If they didn't do that, the bios would load whatever was in that sector and attempt to execute it.


    For reference, a system disk has just enough room in that 512 bytes to get the system files loading into memory and executing.


    Really though, it wouldn't be difficult to create a new standard whereby that minimal boot loader can query the bios to see if it is smart enough to continue the boot process, and if so go back to that. Older bioses would not respond correctly, and the default message could be displayed.

    --
    More Caffeine. NOW
  18. Wrong Question by Kris_J · · Score: 3, Interesting

    The real question is "Why does Windows XP SP2 setup still only accept SCSI and RAID drivers from a standard old floppy drive?". I know you can slipstream drivers into an install CD, because that's what I had to do the last time I built up a PC without a floppy, but the setup routine really should at least allow drivers to be installed from a USB floppy drive by now.

  19. My story by angle_slam · · Score: 2, Interesting
    Yep, same thing happened to me. I have an ASUS and I could flash it from Windows. My problem is that the BIOS problem didn't allow me to even install Windows. The old BIOS calculated the CPU temperature wrong and forced a shutdown within 5 minutes of being turned on, not nearly long enough to install the OS.

    So I had to flash using the floppy. I never bought a floppy drive because I didn't use the floppy in my then-current machine, so why would I use a floppy in a new machine. So I went to the old machine and tried to get the floppy out. But the screwhead is stripped! I can't get it out. It takes forever (in reality, about 25 minutes). But I finally get it out and am able to flash the BIOS.

    So flashing from floppy seems annoying as hell. But if the BIOS problem prevents you from running Windows, it makes sense.

  20. Re:A floppy is...... by linzeal · · Score: 2, Interesting

    If you do not live in the city, rural computer solutions are pricey. My local computer shoppe has 1.6 ghz laptops with no wireless selling for 2000 dollars. We do not even have a Walmart within 100 miles. I suppose we are lucky in every aspect but convience but it is an artificial economy here in Eureka, Ca. The local governing bodies oppose monopolies and large corporations in some part but there are cities that are breaking the trend and are in talks with Walmart.

  21. Dell by jb.hl.com · · Score: 3, Informative

    Dell laptops allow you to flash the bios from GRUB (linux bootloader). Not sure how well it works.

    --
    By summer it was all gone...now shesmovedon. --
  22. Re:A floppy is...... by John_Booty · · Score: 4, Funny

    If you do not live in the city, rural computer solutions are pricey. My local computer shoppe has 1.6 ghz laptops with no wireless selling for 2000 dollars.

    If only there was some sort of digital global computer network with "sites" where you could order a computer (from one of thousands of competing suppliers) and have it mailed to your house.

    --

    OtakuBooty.com: Smart, funny, sexy nerds.
  23. Next time on "Ask Slashdot".. by mwvdlee · · Score: 2, Informative

    "Why do I read Slashdot whilst I obviously know shit about computers?".

    This guy obviously doesn't know anything about what he's doing. Just to sum up some of the other posts'
    - You can use any bootable device, including CD's and network; if it boots, if can flash.
    - Most modern MLB's can be flashed from within Windows.

    --
    Slashdot social media options: AIM, ICQ, Yahoo, Jabber and Mobile Text. Why no MySpace?