On Sun, 21 Dec 2014 07:20:16 +0000
"J.  Roeleveld" <[email protected]> wrote:

> On 21 December 2014 06:27:41 CET, German <[email protected]> wrote:
> >On Sun, 21 Dec 2014 03:37:29 +0100
> >Frank Steinmetzger <[email protected]> wrote:
> >
> >> On Sun, Dec 21, 2014 at 12:34:55AM +0100, Volker Armin Hemmann wrote:
> >> > Am 20.12.2014 um 23:08 schrieb German:
> >> > > Trying to get systemrescuecd iso on USB stick. There is shell
> >> > > script on to accomplish just that. When I try to run it, it
> >identifies
> >> > > my thumb drive, however reports that it is 0 mb.
> >> >
> >> > don't use any scripts. Never gave me a bootable solution. Either
> >burn to
> >> > cd or do it manually.
> >> 
> >> For me, the script that comes on sysresccd always worked (though I’ve
> >never
> >> used EFI yet). The script determines the size of the device with
> >"blockdev
> >> --getsz /path/to/device"
> >> 
> >> What does that return if called manually and what size is reported in
> >other
> >> programs (fdisk, dmesg after plugging it in)?
> >
> >That's what it reports when /dev/sdd is mounted:
> >
> >sudo blockdev --getsize64 /dev/sdd
> >2031091712
> >
> >When not mounted it reports that no medium found. The same log from
> >usb_inst.sh:
> >
> >Installation on /dev/sdd at 2014-12-20_16:47
> >blockdev: cannot open /dev/sdd: No medium found
> >usb_inst.sh: error: The device [/dev/sdd] is only 0 MB. It is too small
> >to copy all the files, an USB-stick of at least 512MB is recommended
> >
> >
> >But shell script should be run unmounted. Confused.
> >
> >> -- 
> >> Gruß | Greetings | Qapla’
> >> Please do not share anything from, with or about me with any social
> >network.
> >> 
> >> The USA took the path from barbarism to decadence
> >> without the detour over culture.
> 
> Do you try 'umounted' right after inserting the USB before any mount commands 
> are run?
> 
> Some automounters send an 'eject' command which makes some USB sticks 
> disappear until they are unplugged and plugged back in.

Thanks Joost. I wrote to usb stick just fine after I umount /dev/sdd1 manually. 
Those damn automounters.

> 
> --
> Joost
> -- 
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
> 


-- 
German <[email protected]>

Reply via email to