Re: liveusb-creator

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

 



On 09/26/2016 11:27 AM, Kevin Cummings wrote:
> On 09/25/16 22:15, fred roller wrote:
>>
>> [root@Jehovah Downloads]# dd
>> if=Fedora-Workstation-Live-x86_64-25_Alpha-2.iso of=/dev/sda1 bs=16M
>> dd: error writing '/dev/sda1': No space left on device
>> 32+0 records in
>> 31+0 records out
>> 524288000 bytes (524 MB, 500 MiB) copied, 1.26722 s, 414 MB/s
>>
>>
>> Lawrence, for installing based on the information above try:
>>
>> dd if=./Fedora-Workstation-Live-x86_64-25_Alpha-2.iso of=/dev/sda bs=1M
>> status=progress
>>
>> for your understanding...  the "./" in front of the filename notes your
>> location to the system as "in my current directory" but irregardless the
>> illegal operand came from the space between the "=" and the "F" in your
>> second attempt.  The first failure of running out of space is because dd
>> was directed to a partition sda1.  Also, be sure this is your usb drive,
>> my experience is that sda is usually the hard drive.  Broken down sda1
>> is: "sd"=serial device,"a" [or b,c,d,e,f, etc] is the devices in
> 
> Err, ah, sd=scsi disk.  A long time ago, the ATA drivers (and Serial ATA
> driver) were re-written to use the same SCSI disk interface as SCSI
> disks were using.  And, as it turns out, USB disks too.  Thus, we have
> no more "hd" disks (where the "hd" stood for "hard disk").  Every disk
> is an "sd" these days.
> 
>> sequence as discovered, "1" [or 2,3,4, etc] are the partitions on the
>> device.  With that try the following command WITHOUT the usb plugged in: 
>>
>> ls /dev/sd*
>>
>> which should give you something like:
>>
>> /dev/sda /dev/sda1 /dev/sda2 /dev/sda3
>>
>> Then re-run the same command WITH the usb plugged in which should give
>> you something like:
>>
>> /dev/sda /dev/sda1 /dev/sda2 /dev/sda3 /dev/sdb /dev/sdb1
>>
>> This last letter to appear is the one you want and without the number.
>> So be REAL sure you have your usb device letter correct and:
>>
>>
>> dd if=./Fedora-Workstation-Live-x86_64-25_Alpha-2.iso of=/dev/sdb bs=1M
>> status=progress
>>
>> will work.
>>
>> If you want to easily understand the command line I suggest you go
>> through this quick course:
>>
>> http://linuxcommand.org/
>>
>> It is a great primer for understanding all we are talking about and can
>> be done in about an evening.
>>
>> Caution:  "dd" is an aggressive program so be sure of the variables you
>> writing to in the "of=" parts of the command.  Also, the
>> "status=progress" part is optional, lets you see your progress of the
>> command.

I'd also recommend using a smaller block size--even though it will take
longer to do the operation. The actual block size of an ISO image is
2048 bytes (2KiB). However, as most ISO images are in multiples of 1MiB,
using a 1MiB block size gives you a cleaner operation (IMHO) and doesn't
put as much strain on your memory (a 1MiB buffer versus a 16MiB buffer).

I also tend to use "oflag=direct" for direct I/O rather than buffered.
Thus, my standard mechanism for this is:

	dd if=/path/to/iso/image.iso of=/dev/sdX bs=1M oflag=direct

That uses a 1MiB block size. dd's use of multipliers can be odd, so
"man dd" to read up on those.

It's worked well for me. Your mileage may vary. Batteries not included,
etc., etc.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks@xxxxxxxxxxxxxx -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-              Careful!  Ugly strikes 9 out of 10 people!            -
----------------------------------------------------------------------
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux