[OpenIndiana-discuss] How to create a bootable USB stick on OI?

Albert Lee trisk at nexenta.com
Sun Aug 19 16:05:08 UTC 2012


On Fri, Aug 17, 2012 at 1:37 PM, Gary Mills <gary_mills at fastmail.fm> wrote:
> Has anybody figured out how to do this?  I need to update the BIOS on
> a system with a Tyan motherboard.  Tyan support sent me an EXE file
> and a BAT file along with the BIOS image as a ROM file.
>

If you have GRUB booting on this system already, you don't need a USB
stick. Take a FreeDOS floppy or disk image [1] and memdisk from
SYSLINUX [2].

cp memdisk /boot
cp whatever.img /boot/freedos.img
mount -F pcfs -o loop /boot/freedos.img /mnt
cp <files> /mnt
umount /mnt

Append to menu.lst (for a pool named rpool):
title Firmware Update
findroot (pool_rpool,0,a)
kernel /boot/memdisk
module /boot/freedos.img

For the 10M disk image, substitute 'kernel /boot/memdisk harddisk c=19
h=16 s=63'

[1] http://www.fdos.org/bootdisks/ has 2.88M image and a 10M disk image.
[2] http://www.kernel.org/pub/linux/utils/boot/syslinux/ includes
precompiled binaries

-Albert



More information about the OpenIndiana-discuss mailing list