acer one

Mick M. off_by_1 at yahoo.com
Mon Jul 27 20:57:56 UTC 2009



--- On Mon, 7/27/09, roland <roland at cat.be> wrote:

> http://fedoraproject.org/wiki/How_to_create_and_use_Live_USB#Ability_to_boot_from_USB_media
> 
> But I always got the notice to make the stick bootable (the
> last one was 8GB)
> 
> Does this mean
> - the sticks are no good?
> - I'm doing something wrong?
> - what kind of stick is ok?
> 

Hi;
  Become root, then do an "fdisk -l"
Insert the stick, wait a couple of seconds and repeat "fdisk -l"

You should see your USB stick:

[mick at localhost ~]$ su -
Password: 
[root at localhost ~]# fdisk -l

Disk /dev/sdc: 2003 MB, 2003828736 bytes
43 heads, 42 sectors/track, 2167 cylinders
Units = cylinders of 1806 * 512 = 924672 bytes
Disk identifier: 0x04030201

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1        2168     1956800    b  W95 FAT32



Now that you know which disk it is do: "fdisk /dev/sdc" NOT sdc1, then "p" to see what is there:
[root at localhost ~]# fdisk /dev/sdc

The number of cylinders for this disk is set to 2167.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/sdc: 2003 MB, 2003828736 bytes
43 heads, 42 sectors/track, 2167 cylinders
Units = cylinders of 1806 * 512 = 924672 bytes
Disk identifier: 0x04030201

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1        2168     1956800    b  W95 FAT32

Command (m for help): 




Now make it bootable with the "a" flag, and "p" to make sure it worked:
Command (m for help): a
Partition number (1-4): 1

Command (m for help): p

Disk /dev/sdc: 2003 MB, 2003828736 bytes
43 heads, 42 sectors/track, 2167 cylinders
Units = cylinders of 1806 * 512 = 924672 bytes
Disk identifier: 0x04030201

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *           1        2168     1956800    b  W95 FAT32

Command (m for help): 
Do you see the star/asterisk under boot?



Now write it out to save it with "w" which will also exit fdisk:
Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.
[root at localhost ~]# 




Now unplug it, wait a bit and plug it in.
Do another "fdisk -l"

Disk /dev/sdc: 2003 MB, 2003828736 bytes
43 heads, 42 sectors/track, 2167 cylinders
Units = cylinders of 1806 * 512 = 924672 bytes
Disk identifier: 0x04030201

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *           1        2168     1956800    b  W95 FAT32
[root at localhost ~]# 

There you go.

Mick M.





      




More information about the fedora-list mailing list