Is this possible?

Discussion/announcements about test/beta releases of UBCD will be posted here.

Moderators: Icecube, StopSpazzing

Post Reply
Message
Author
lee
Posts: 3
Joined: Fri Jul 03, 2009 8:20 pm

Is this possible?

#1 Post by lee » Fri Jul 03, 2009 8:36 pm

Hi,

I'm currently downloading 50b12 ISO because I want to update the firmware of two hard disks I have. I have found the firmware file and a DOS program that is supposed to somehow install the new firmware to the disks.

What I have is a 1GB USB stick and an SATA DVD drive (but no CDs or DVDs I could write on). I haven't had a floppy disk drive in my computer since at least a decade.

What I need is a way to boot some kind of DOS (which is hopefully compatible with the program that installs the firmware update) in order to run the program that updates the firmware. That means I need to get into some sort of DOS shell from which the program and the firmware file are available.

Can I do that with the UBCD? I guess I need to modify the ISO by copying the program I need to run and the firmware file somewhere into the ISO before writing the ISO to the USB stick. If I need to create a bootable DOS disk image for that which I then copy into the ISO, well, I don't know how to do that. I could try to modify one of the images that are contained in the ISO, but will it still be bootable?

I'm mounting these image files with mount [imagefile] [mountpoint] -t loop, so they are easy to modify. But touching them could make them unbootable?

I'll try it out and see how far I get with this, but I might need some help to figure it out ...

Icecube
Posts: 1278
Joined: Fri Jan 11, 2008 2:52 pm
Contact:

#2 Post by Icecube » Tue Jul 07, 2009 9:14 am

Get a freedos image from: http://bootcd.narod.ru/images.htm
Choose fd001440.zip if you want a 1.44MB floppy image or choose another file which fits your needs.
Extract the floppy image from the zip archive, rename it to a more approriate name (e.g.: firmware.img) and mount the image.
Now you can put the firmware files (executables) on the image.
Unmount the image and put it in /ubcd/custom/ (/ubcd/custom/firmware.img).

Add an entry in one of the syslinux config files.
e.g.: /ubcd/menus/syslinux/custom.cfg and add this to the file:

Code: Select all

LABEL -
MENU LABEL Firmware for hard disks
KERNEL /boot/syslinux/memdisk
APPEND initrd=/ubcd/custom/firmware.img
When you boot this image from the menu, you have to run the firmware programs from the command line. Remember that the files that you create after you have booted the image, aren't written back to the image (only stored in RAM), so if you want to save the old firmware, save those files directly on the USB stick.
Download Ultimate Boot CD v5.0: http://www.ultimatebootcd.com/download.html
Use Parted Magic for handling all partitioning task: http://partedmagic.com/

Jerome
Posts: 2
Joined: Wed Jan 18, 2012 12:17 pm

Re: Is this possible?

#3 Post by Jerome » Wed Jan 18, 2012 12:31 pm

Hi.

I've been trying to do the exact same thing today. (I'm pretty sure I had done something similar long ago to flash a MB, but this time, I'm updating my CD drive's firmware and it doesn't go that smooth.)

I booted on UBCD from my CD drive. Then went to FreeDOS and browse. Then took the CD out and replaced it with a CD containing the executable and the firmware.bin. Then executed the flash utilitary. Apparently it didn't work : the loading stops at some point and nothing happens until I manually reboot the PC. (You can see the loading going on with a ####### bar growing two of three times, but then it gets stuck.)

I though it might be because I'm trying to replace the firmware of the drive I'm reading the binary from. Could that be an issue ?

So I figured out I could try with a USB stick, on which I would add the needed files.

But it appears that from FreeDOS, I can't browse the USB drive. I'm like stuck in FreeDOS's own virtual filesystem.

Is there a way I could access the UBCD installation filesystem ?

I tried to modify a .iso as per above, but a disk .iso is mounted read-only and a floopy .iso is too small. So I'm stuck this way too.

Thanks for any clue.

Victor Chew
Posts: 1368
Joined: Mon Feb 21, 2005 10:59 pm
Contact:

Re: Is this possible?

#4 Post by Victor Chew » Thu Jan 26, 2012 6:28 pm

Check out:

http://www.ultimatebootcd.com/customize.html

under "Adding FreeDOS-based applications".

You need to put your app under "custom", regen fdubcd.iso.gz and remake the UBCD iso.

Jerome
Posts: 2
Joined: Wed Jan 18, 2012 12:17 pm

Re: Is this possible?

#5 Post by Jerome » Fri Jan 27, 2012 12:12 am

Hi. Thanks for the link.

I guess this stands for a "no, there's no way to access the UBCD filesystem".

I'll try that.

I hope the issue was the fact that I was flashing the same drive I used for the flashing operation.

Post Reply