Changes

1,141 bytes removed ,  12:26, 20 July 2012
no edit summary
Line 52: Line 52:  
* Unmount the drive,<br>
 
* Unmount the drive,<br>
 
: {{Code|sudo umount /run/media/MyAccount/MyUSBdiscMountPoint}}
 
: {{Code|sudo umount /run/media/MyAccount/MyUSBdiscMountPoint}}
 
+
{{:Sugar on a Stick/Linux/bootable device}}
* Then check to see that the partition is marked as bootable,<br>
  −
: {{Code|sudo fdisk '''-l''' /dev/sdc}} ''<----that's a lowercase letter 'L' for the '''l'''ist option.''
  −
You should see output that looks like this:
  −
<pre>
  −
$ 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)
  −
</pre>
  −
The '*' under the Boot column is what you want to see.
  −
{{Show|&nbsp;&nbsp;&nbsp;&nbsp;If not, then|
  −
:* For Ubuntu 8.10, menu: System -> Administration -> Partition Editor (GParted).
  −
::# Select your USB device (/dev/sd''b'' for the rest of these instructions),
  −
::# then your partition (/dev/sd''b1''),
  −
::# then menu: Partition -> Manage Flags,
  −
::# check the boot box,
  −
::# and Close to mark the partition as bootable.
  −
 
  −
:* For Fedora,
  −
::#  {{Code|parted /dev/sd''c''}}
  −
::# {{Code|toggle 1 boot}}
  −
::# {{Code|quit}}
  −
}}
      
* Run {{Code|livecd-iso-to-disk}} as the root user, making sure to pass the correct USB device node name and to set overlay and home size appropriately, depending on the target USB device storage capacity.
 
* Run {{Code|livecd-iso-to-disk}} as the root user, making sure to pass the correct USB device node name and to set overlay and home size appropriately, depending on the target USB device storage capacity.