[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to create debian live usb



On 1/4/2020 8:22 AM, kaye n wrote:
> On Sat, Jan 4, 2020 at 2:57 PM john doe <johndoe65534@mail.com> wrote:
>
>> On 1/4/2020 4:44 AM, kaye n wrote:
>>> Hello Friends,
>>>
>>> I don't know if my flash drives are corrupted or not, but I haven't been
>>> successful creating live USB using the following commands:
>>>
>>> cp <file> <device>
>>>
>>> dd if=<file> of=<device> bs=4M; sync
>>>
>>> Then I tried copying via a file manager, that is, right-click the iso ->
>>> copy -> paste into the flash drive, then flag the flash drive with 'boot'
>>> using gparted.
>>>
>>> Failed as well.  The flash drive contains the iso file along with many
>>> other files that seem to be corrupted - no file name, just weird icons.
>>>
>>> Are my flash drives corrupted?  Should I try the following commands?
>>>
>>> sudo dd if=/dev/zero of=/dev/sdx
>>> sudo mkfs.msdos -f 32 /dev/sdxx
>>>
>>> And if that is done, do I again try:
>>> dd if=<file> of=<device> bs=4M; sync
>>> ?
>>>
>>> Thank you for your time!
>>>
>>
>> The only command that you should use is the cp command from above.
>>
>> This assumes that before executing the command you have verified and
>> checksummed the downloaded file.
>>
>> --
>> John Doe
>>
>>
> Does the cp command do the exact same thing as using the mouse and
> right-click-copy and paste onto the flash drive? If so, do I need to flag
> the flash drive with 'boot'?
>

After a successfull copy of the iso file onto the flash drive, you don't
need to do anything else.

Note that I don't know what command does copy and paste internally.


In other words, putting the iso file onto the flashdrive is all that is
required.


I would fire up a terminal in your desktop environment, then, do the
copy from the command line.

Whether it is good advice or not, I always do the copy as root.


HTH.

--
John Doe


Reply to: