Announcement

Collapse
No announcement yet.

A separate bootable partition to flash bios?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • A separate bootable partition to flash bios?

    This really isn't directly a Linux question, but I thought it might appeal more to Linux users. I just installed Debian on my M10000, while partitioning, I had this idea for bios flashing. I left a 10MB partition, and I was planning on installing freedos or something, then making that a boot target in grub.

    Here's the problem:
    I don't have a floppy, buying one for BIOS flashing seems silly. Of course, I can make a CD out of a bootable floppy image. The problem is that I don't know how to add awdflash.exe and *.BIN (the new bios file) to these bootable images. So, I would be smart and leave the .BIN and flash exe on the hard drive. Of course, I boot from my Dr DOS (or whatever) mini boot CD and it can't read the NTFS ot ext3 partition where my awdflash and .bin files are.

    So, I thought of leaving a small fat16 or fat32 partition as a dropbox for bios flashing. Well, if I'm going to do that, it seems the better thing to do is to actually be able to boot Dr-DOS or FreeDOS or something from that little partition.

    Has anyone done this? I tried to boot the FreeDOS installation disc, but it complained it couldn't find a partition to install on. (I've got 3 primary partitions, 1 is ext3, 2 is fat16, 3 is swap). It doesn't have to be DOS, just some stripped down OS whose filesystem I can read from Linux and which has free programs for flashing the BIOS on the EPIA M motherboards.

    Advice?
    My worklog.
    Status: VM GTI sold, got out of the CarPC tinkering hobby, but I still think about getting back in.

  • #2
    You might run into trouble installing DOS onto your 2nd partition. How big is your first partition? The easiest solution would be to move your first ext3 partition to hda2 and make hda1 the dos partition (assuming you haven't already installed the OS).

    Comment


    • #3
      I've already installed. Maybe I'll see if I can get parted to do the dirty work for me.
      It doesn't have to be dos, are there any flash tools for Linux? I could install a little busybox system. Now that I think about it, if there are linux tools, why can't I use my running system? What are the risks of flashing the bios while running a full-blown install of Linux?
      My worklog.
      Status: VM GTI sold, got out of the CarPC tinkering hobby, but I still think about getting back in.

      Comment


      • #4
        Try using the dos partiton type I think its e1 or f2. I don't think it will hurt anything of you play around with the partition type for that partition.

        You would think it would recognize fat16, but maybe its looking for a specific partition type and thats not it.
        My carputer project

        Comment


        • #5
          Here: http://www.nenie.org/misc/flashbootcd.html
          that should help you out.

          Comment


          • #6
            Originally posted by etown
            Here: http://www.nenie.org/misc/flashbootcd.html
            that should help you out.
            Thanks, I saw that before. For some reason, I keep thinking the bootable harddrive partition is better solution to the problem. I haven't tried any more though. I get back to it eventually. What I would really like is a way to take one of those floppy images and stuff it onto my little partition. Then, I could do away with the floppy image, and I could add whatever flashing programs and bios bin files I want.
            My worklog.
            Status: VM GTI sold, got out of the CarPC tinkering hobby, but I still think about getting back in.

            Comment


            • #7
              You should be able to dd the image straight to your 2nd partition, and then setup lilo or grub to boot that partition. Assuming that you haven't violated any of the basic bootable partition rules (1024th cyl and all that crap).

              Comment


              • #8
                Originally posted by etown
                You should be able to dd the image straight to your 2nd partition, and then setup lilo or grub to boot that partition. Assuming that you haven't violated any of the basic bootable partition rules (1024th cyl and all that crap).
                I didn't think 1024th cylinder problems existed on modern BIOS' or is it a problem with the OS?
                My worklog.
                Status: VM GTI sold, got out of the CarPC tinkering hobby, but I still think about getting back in.

                Comment


                • #9
                  Originally posted by kbyrd
                  I didn't think 1024th cylinder problems existed on modern BIOS' or is it a problem with the OS?
                  OS. DOS is not a modern OS.

                  Comment


                  • #10
                    I'm late, sorry...
                    I think you can simplify things by using the ultimate boot cd.
                    It has some bootdisks and utility that helps you in recovering tasks.
                    It has freedos with ntfs driver, so you can place the bios file and the awdflash in your ntfs partition (if you have one).

                    bye!

                    Comment

                    Working...
                    X