Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user]
Date: Sun, 21 Dec 2014 07:20:35
Message-Id: 56F112EF-44F8-4D36-B67C-02C4120948AD@antarean.org
In Reply to: Re: [gentoo-user] by German
1 On 21 December 2014 06:27:41 CET, German <gentgerman@×××××.com> wrote:
2 >On Sun, 21 Dec 2014 03:37:29 +0100
3 >Frank Steinmetzger <Warp_7@×××.de> wrote:
4 >
5 >> On Sun, Dec 21, 2014 at 12:34:55AM +0100, Volker Armin Hemmann wrote:
6 >> > Am 20.12.2014 um 23:08 schrieb German:
7 >> > > Trying to get systemrescuecd iso on USB stick. There is shell
8 >> > > script on to accomplish just that. When I try to run it, it
9 >identifies
10 >> > > my thumb drive, however reports that it is 0 mb.
11 >> >
12 >> > don't use any scripts. Never gave me a bootable solution. Either
13 >burn to
14 >> > cd or do it manually.
15 >>
16 >> For me, the script that comes on sysresccd always worked (though I’ve
17 >never
18 >> used EFI yet). The script determines the size of the device with
19 >"blockdev
20 >> --getsz /path/to/device"
21 >>
22 >> What does that return if called manually and what size is reported in
23 >other
24 >> programs (fdisk, dmesg after plugging it in)?
25 >
26 >That's what it reports when /dev/sdd is mounted:
27 >
28 >sudo blockdev --getsize64 /dev/sdd
29 >2031091712
30 >
31 >When not mounted it reports that no medium found. The same log from
32 >usb_inst.sh:
33 >
34 >Installation on /dev/sdd at 2014-12-20_16:47
35 >blockdev: cannot open /dev/sdd: No medium found
36 >usb_inst.sh: error: The device [/dev/sdd] is only 0 MB. It is too small
37 >to copy all the files, an USB-stick of at least 512MB is recommended
38 >
39 >
40 >But shell script should be run unmounted. Confused.
41 >
42 >> --
43 >> Gruß | Greetings | Qapla’
44 >> Please do not share anything from, with or about me with any social
45 >network.
46 >>
47 >> The USA took the path from barbarism to decadence
48 >> without the detour over culture.
49
50 Do you try 'umounted' right after inserting the USB before any mount commands are run?
51
52 Some automounters send an 'eject' command which makes some USB sticks disappear until they are unplugged and plugged back in.
53
54 --
55 Joost
56 --
57 Sent from my Android device with K-9 Mail. Please excuse my brevity.

Replies

Subject Author
Re: [gentoo-user] German <gentgerman@×××××.com>
Re: [gentoo-user] German <gentgerman@×××××.com>