← Back to team overview

puredyne-team team mailing list archive

[Bug 499242] Re: make-usb-keys.sh is not checking for already mounted devices

 

I managed to make a perfect liveUSB from a running liveCD (CD-RW) like
this:

cat /dev/sr0 >/tmp/live.iso   # make sure you have enough space first!
# apply attached diff to make-usb-key.sh
./make-usb-key.sh /tmp/live.iso /dev/sdc # check your device first!

the intent of the diff is to undo the automounting "magic" that can
happen when starting from a non-empty key...

the same procedure from a liveDVD (DVD-RW) failed, however - the written
/tmp/live.iso was much bigger than the real filesystem size...

** Attachment added: "make-usb-defeat-automount.diff"
   http://launchpadlibrarian.net/37884763/make-usb-defeat-automount.diff

-- 
make-usb-keys.sh is not checking for already mounted devices
https://bugs.launchpad.net/bugs/499242
You received this bug notification because you are a member of puredyne
team, which is the registrant for bouilloncube.

Status in bouillon cube: Confirmed

Bug description:
The script assumes nothing is mounted, which can lead to bad surprises and weird errors when the device or source are already mounted or in use. It should check that before proceeding.





References