Difference between revisions of "Sugar on a Stick/Linux/bootable device"
< Sugar on a Stick | Linux
Jump to navigation
Jump to search
(Created page with "<noinclude> These instructions help with determining and setting disk partitions as bootable devices. {{Highlight|'''Note''': This page is transcluded in other instruction pa...") |
|||
Line 4: | Line 4: | ||
{{Highlight|'''Note''': This page is transcluded in other instruction pages.}} | {{Highlight|'''Note''': This page is transcluded in other instruction pages.}} | ||
</noinclude> | </noinclude> | ||
− | |||
* Check the disk partition table for a device, such as {{Code|/dev/sdc}},<br> | * Check the disk partition table for a device, such as {{Code|/dev/sdc}},<br> | ||
: {{Code|sudo fdisk '''-l''' /dev/sdc}} ''<----that's a lowercase letter 'L' for the '''l'''ist option.'' | : {{Code|sudo fdisk '''-l''' /dev/sdc}} ''<----that's a lowercase letter 'L' for the '''l'''ist option.'' |
Latest revision as of 11:25, 20 July 2012
These instructions help with determining and setting disk partitions as bootable devices.
- Check the disk partition table for a device, such as
/dev/sdc
,
sudo fdisk -l /dev/sdc
<----that's a lowercase letter 'L' for the list option.
parted /dev/sdc
toggle 1 boot
quit
You should see something like the following:
$ sudo fdisk -l /dev/sdc Disk /dev/sdc: 4012 MB, 4012900352 bytes 124 heads, 62 sectors/track, 1019 cylinders, total 7837696 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x0000a9c7 Device Boot Start End Blocks Id System /dev/sdc1 * 62 7834071 3917005 c W95 FAT32 (LBA)
The asterisk, * , under the Boot column indicates that the partition is bootable.
If it is missing, then execute the commands here: