public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]
@ 2014-12-20 22:08 German
  2014-12-20 23:34 ` [gentoo-user] Volker Armin Hemmann
  0 siblings, 1 reply; 8+ messages in thread
From: German @ 2014-12-20 22:08 UTC (permalink / raw
  To: gentoo-user

Could register at systemrescuecd forums for now, so I thought to ask here. 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. When disk is mounted, the volume in megabytes just right,  about 2 GB. Log file says that is not enough memory to install. Any ideas what might be a problem? And yes, I am about to try to install gen too from rescued USB drive in efi mode

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user]
  2014-12-20 22:08 [gentoo-user] German
@ 2014-12-20 23:34 ` Volker Armin Hemmann
  2014-12-21  2:37   ` [gentoo-user] Frank Steinmetzger
  0 siblings, 1 reply; 8+ messages in thread
From: Volker Armin Hemmann @ 2014-12-20 23:34 UTC (permalink / raw
  To: gentoo-user

Am 20.12.2014 um 23:08 schrieb German:
> Could register at systemrescuecd forums for now, so I thought to ask here. 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. When disk is mounted, the volume in megabytes just right,  about 2 GB. Log file says that is not enough memory to install. Any ideas what might be a problem? And yes, I am about to try to install gen too from rescued USB drive in efi mode

don't use any scripts. Never gave me a bootable solution. Either burn to
cd or do it manually.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user]
  2014-12-20 23:34 ` [gentoo-user] Volker Armin Hemmann
@ 2014-12-21  2:37   ` Frank Steinmetzger
  2014-12-21  4:57     ` [gentoo-user] Size usb stick with fdisk German
  2014-12-21  5:27     ` [gentoo-user] German
  0 siblings, 2 replies; 8+ messages in thread
From: Frank Steinmetzger @ 2014-12-21  2:37 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 923 bytes --]

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)?
-- 
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.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Size usb stick with fdisk
  2014-12-21  2:37   ` [gentoo-user] Frank Steinmetzger
@ 2014-12-21  4:57     ` German
  2014-12-21  5:27     ` [gentoo-user] German
  1 sibling, 0 replies; 8+ messages in thread
From: German @ 2014-12-21  4:57 UTC (permalink / raw
  To: gentoo-user

On Sun, 21 Dec 2014 03:37:29 +0100
Frank Steinmetzger <Warp_7@gmx.de> 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)?


Hi. I would tell you if I knew how to do it in fdisk for instance. Can you provide me with
instructions please?

> -- 
> 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.


-- 
German <gentgerman@gmail.com>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user]
  2014-12-21  2:37   ` [gentoo-user] Frank Steinmetzger
  2014-12-21  4:57     ` [gentoo-user] Size usb stick with fdisk German
@ 2014-12-21  5:27     ` German
  2014-12-21  7:20       ` [gentoo-user] J.  Roeleveld
  1 sibling, 1 reply; 8+ messages in thread
From: German @ 2014-12-21  5:27 UTC (permalink / raw
  To: gentoo-user

On Sun, 21 Dec 2014 03:37:29 +0100
Frank Steinmetzger <Warp_7@gmx.de> 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.


-- 
German <gentgerman@gmail.com>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user]
  2014-12-21  5:27     ` [gentoo-user] German
@ 2014-12-21  7:20       ` J.  Roeleveld
  2014-12-21  7:33         ` [gentoo-user] German
  2014-12-21  7:53         ` [gentoo-user] German
  0 siblings, 2 replies; 8+ messages in thread
From: J.  Roeleveld @ 2014-12-21  7:20 UTC (permalink / raw
  To: gentoo-user

On 21 December 2014 06:27:41 CET, German <gentgerman@gmail.com> wrote:
>On Sun, 21 Dec 2014 03:37:29 +0100
>Frank Steinmetzger <Warp_7@gmx.de> 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.

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user]
  2014-12-21  7:20       ` [gentoo-user] J.  Roeleveld
@ 2014-12-21  7:33         ` German
  2014-12-21  7:53         ` [gentoo-user] German
  1 sibling, 0 replies; 8+ messages in thread
From: German @ 2014-12-21  7:33 UTC (permalink / raw
  To: gentoo-user

On Sun, 21 Dec 2014 07:20:16 +0000
"J.  Roeleveld" <joost@antarean.org> wrote:

> On 21 December 2014 06:27:41 CET, German <gentgerman@gmail.com> wrote:
> >On Sun, 21 Dec 2014 03:37:29 +0100
> >Frank Steinmetzger <Warp_7@gmx.de> 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?

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.
> 
> Some automounters send an 'eject' command which makes some USB sticks disappear until they are unplugged and plugged back in.

Do you think it would  make sense to mount stick manually and then unmount it? Thanks


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


-- 
German <gentgerman@gmail.com>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user]
  2014-12-21  7:20       ` [gentoo-user] J.  Roeleveld
  2014-12-21  7:33         ` [gentoo-user] German
@ 2014-12-21  7:53         ` German
  1 sibling, 0 replies; 8+ messages in thread
From: German @ 2014-12-21  7:53 UTC (permalink / raw
  To: gentoo-user

On Sun, 21 Dec 2014 07:20:16 +0000
"J.  Roeleveld" <joost@antarean.org> wrote:

> On 21 December 2014 06:27:41 CET, German <gentgerman@gmail.com> wrote:
> >On Sun, 21 Dec 2014 03:37:29 +0100
> >Frank Steinmetzger <Warp_7@gmx.de> 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 <gentgerman@gmail.com>


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-12-21  7:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-20 22:08 [gentoo-user] German
2014-12-20 23:34 ` [gentoo-user] Volker Armin Hemmann
2014-12-21  2:37   ` [gentoo-user] Frank Steinmetzger
2014-12-21  4:57     ` [gentoo-user] Size usb stick with fdisk German
2014-12-21  5:27     ` [gentoo-user] German
2014-12-21  7:20       ` [gentoo-user] J.  Roeleveld
2014-12-21  7:33         ` [gentoo-user] German
2014-12-21  7:53         ` [gentoo-user] German

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox