Sugar on a Stick/Linux: Difference between revisions
No edit summary |
--delete-home not needed with --format |
||
| Line 88: | Line 88: | ||
:* repeat the steps for learning its device name (there can be situations when the device name has changed!) | :* repeat the steps for learning its device name (there can be situations when the device name has changed!) | ||
:* issue the command with the '''{{Code|--format --msdos}}''' options, like this: | :* issue the command with the '''{{Code|--format --msdos}}''' options, like this: | ||
{{Note/warning|Warning|The command described here will | {{Note/warning|Warning|The command described here will ask for a confirmation and will '''destroy''' all pre-existing data on your USB device.<br> | ||
See also [[olpc:How_to_Damage_a_FLASH_Storage_Device|How to Damage a FLASH Storage Device]] for a discussion of why using the factory format is preferred.}} | See also [[olpc:How_to_Damage_a_FLASH_Storage_Device|How to Damage a FLASH Storage Device]] for a discussion of why using the factory format is preferred.}} | ||
::<div style="padding: 1em; border: 1px dashed #2F6FAB; background-color: #FBFBFB; margin: 1em 0px 1em 0em; font-family: Courier;">./livecd-iso-to-disk --reset-mbr '''--format --msdos''' --overlay-size-mb '''500''' --home-size-mb '''900''' | ::<div style="padding: 1em; border: 1px dashed #2F6FAB; background-color: #FBFBFB; margin: 1em 0px 1em 0em; font-family: Courier;">./livecd-iso-to-disk --reset-mbr '''--format --msdos''' --overlay-size-mb '''500''' --home-size-mb '''900''' --unencrypted-home '''/path/to/downloaded'''.iso /dev/sd'''?'''</div> | ||
: {{Highlight|In the above examples, the {{Code|'''/path/to/downloaded'''.iso}} may be substituted with {{Code|/dev/loop0}}, as this is the loop device that the mount command chose.}} | : {{Highlight|In the above examples, the {{Code|'''/path/to/downloaded'''.iso}} may be substituted with {{Code|/dev/loop0}}, as this is the loop device that the mount command chose.}} | ||