D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Problems with USB pen-drive...

 

On Thursday 14 April 2005 11:36 pm, Grant Sewell wrote:

The key is on Google:
W95 FAT16 (LBA)

PART B: Correcting your fob's partition ID
it sets the partition ID of the partition it creates to HEX code 'e', which 
means "W95 FAT16 LBA"; this doesn't work on many machines because the BIOS 
expects HEX code '6' ("FAT16"), like for instance, all three of my machines. 
The goal of this part is to change the partition ID.
http://fuzzymunchkin.dyndns.org/tdot/usbkeyfob/index.php3

You can change the partition ID with sfdisk:
http://www.die.net/doc/linux/man/man8/sfdisk.8.html

-c or --id number [Id] 
If no Id argument given: print the partition Id of the indicated partition. If 
an Id argument is present: change the type (Id) of the indicated partition to 
the given value. This option has the two very long forms --print-id and 
--change-id. For example:

   % sfdisk --print-id /dev/hdb 5
   6
   % sfdisk --change-id /dev/hdb 5 83
   OK

first reports that /dev/hdb5 has Id 6, and then changes that into 83.


-- 

Neil Williams
=============
http://www.dcglug.org.uk/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Attachment: pgp00009.pgp
Description: PGP signature