[Server-devel] mkusbinstall fails

Jerry Vonau jvonau at shaw.ca
Mon Feb 16 00:10:42 EST 2009


On Mon, 2009-02-16 at 15:04 +1300, Martin Langhoff wrote:
> On Mon, Feb 16, 2009 at 2:42 PM, David Leeming
> <leeming at pipolfastaem.gov.sb> wrote:
> > Tried with another USB stick - exactly the same result.
> 
> Thanks for writing up carefully  the steps you followed... I think I
> spotted the problem...
> 
> > SET UP BOOTABLE USB STICK
> >
> > - insert 2GB USB drive previously formatted with Windows (FAT)
> > - start Partition editor, delete the existing partition
> 
> Here is where the problem starts... the USB stick is perfectly good
> with a FAT partition. Repartitioning and formatting it in ext2 is
> likely to be the source of the problem.
> 
> Anyone else reading this: do not repartition the USB stick :-)
> 
> David: you need to re-partition the usb stick in a funny format.
> 
>  - use fdisk to delete the partition, create a new partition of type
> "e" (WIN95 16bit LBA), make the partition bootable
> 
>  - use mkfs.vfat with the -F 16 option
> 

I'm using fat32 with no issues here on a 2gb flash drive...

sudo /lib/udev/vol_id  /dev/sdc1
ID_FS_USAGE=filesystem
ID_FS_TYPE=vfat
ID_FS_VERSION=FAT32
ID_FS_UUID=48B9-6D23
ID_FS_UUID_ENC=48B9-6D23
ID_FS_LABEL=XSRepo
ID_FS_LABEL_ENC=XSRepo
ID_FS_LABEL_SAFE=XSRepo

sudo fdisk /dev/sdc

Command (m for help): p

Disk /dev/sdc: 2021 MB, 2021654528 bytes
63 heads, 62 sectors/track, 1010 cylinders
Units = cylinders of 3906 * 512 = 1999872 bytes
Disk identifier: 0x0007ec58

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *           1        1010     1972499    b  W95 FAT32


Jerry




More information about the Server-devel mailing list