Gentoo Archives: gentoo-user

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