Re: usb bootable stick

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

 



<J.Witvliet@xxxxxxxxx> wrote:
>> You wrote thatyou first mount the raw sdb device, and then do the dd
>> to the raw device.
>> What is the point of mounting in the first place?
>> That is useless and even dangerous, as the system _might_ want to try
>> to write to the mounted sdb1 filesystem.
>> Just skip the mounting.

Ranjan Maitra:
> In my experience with Fedora (only), I have found that mounting is
> essential. Otherwise it writes to the mount point, but not the device.

Why would anyone think that a command like:

  dd  if=boot.iso  of=/dev/sdb  bs=8M

Is going to write to anywhere else than /dev/sdb?

In general, trying to do a direct write to a device, while it's mounted
on the filesystem, is inherently risky.  You stand a very good chance
that the mounted filesystem is going to stomp over the top of your raw
write.  The only way I could see it *not* stomping over it, is if you
yanked the USB drive out without dismounting it (another stupid thing to
do).

-- 
[tim@localhost ~]$ uname -rsvp
Linux 3.9.10-100.fc17.x86_64 #1 SMP Sun Jul 14 01:31:27 UTC 2013 x86_64

All mail to my mailbox is automatically deleted, there is no point
trying to privately email me, I will only read messages posted to the
public lists.

Windows (TM) [Typhoid Mary]. They refuse to believe that there's
anything wrong with it, but everyone else knows Windows is a disease
that spreads.



-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[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