[gentoo-user] Multiboot USB - GRUB2 loop device

2018-07-13 Thread Alex Luehm
Hello all

I've recently taken it upon myself to create a multiboot USB with isos
that I tend to frequently use. So far I've been successful in adding
Clonezilla and the Archlinux live ISOs. I've attempted to add the Gentoo
install ISO in a similar manner (helped with the grub config within the
iso itself but can't seem to get GRUB to recogonize the image. My
DuckDuckGo-foo has returned useless results (a near hit, yet useless 
inquiry being found here:
https://forums.gentoo.org/viewtopic-p-6527390.html).

My current GRUB menu entry is as follows:

menuentry '[loopback]gentoo amd64' {
set isofile='/isos/gentoo.iso'
echo "isofile set"
loopback loop $isofile
echo "loopback set"
linux (loop)/isolinux/gentoo64 root=/dev/ram0 init=/linuxrc
dokeymap looptype=squashfs loop=/image.squashfs cdroot cdboot
initrd=gentoo64.xz
initrd (loop)/isolinux/gentoo64.xz
}

When booting, I receive the following message:

isofile set
loopback set
error: attempt to read or write outside of disk 'loop'
error: you need to load the kernel first

Thanks in advance!

-- 
Best,

Alex Luehm


signature.asc
Description: PGP signature


Re: [gentoo-user] gcc-7.3.0-r3 won't compile

2018-07-13 Thread P Levine
Add the following to */etc/portage/package.use*:

dev-libs/boehm-gc abi_x86_32
dev-libs/libatomic_ops abi_x86_32

On Fri, Jul 13, 2018 at 9:51 AM, wabe  wrote:

> Hi folks,
>
> every time I try to compile gcc-7 it fails with the same error
>
> make: *** [Makefile:24682: profiledbootstrap] Error 2
>
> Full build logs and informations are attached.
>
> Can please someone give me a hint on how I can fix this problem?
>
> --
> Regards
> wabe


Re: [gentoo-user] Re: [OT] When Linux desktop will be at least so convenient as MS DOS?

2018-07-13 Thread gevisz
2018-07-13 10:14 GMT+03:00 Mick :
> On Friday, 13 July 2018 01:31:04 BST Nikos Chantziaras wrote:
>> On 13/07/18 02:48, gevisz wrote:
>> > But currently I am ready to try even the "dirty" way to organize
>> > keyboard layout switch if it will give me a nice cracking sound
>> > of old good days :) when typing in Cyrilic keyboard layout.
>>
>> It will not. There is no reason to, since you can see it. In MS-DOS, you
>> couldn't see it, thus the sound was the only way to communicate the
>> current keyboard layout to the user.
>
> I didn't know of Dmitry Gurtyak, or his particular application.  You may want
> to take a look at xset and in particular 'xset +c' to switch on the keyboard
> clicking sound.  If you append this to the command which is run when you
> switch to Cyrillic you would get a clicking sound.  You can also set the
> volume of the clicking sound by using a value from 1-100.

Thank you for your reply.

'xset c' seems to be the right way to set a crackling sound when
a keyboard button is pressed.

The still open question for me is how to combine it with the
'/usr/bin/setxkbmap us,some-cyrillic' command I use to set
keyboard layouts to get a nice crackling sound only in a Cyrillic
keyboard layout.

P.S. A simple test revealed that 'xset c' probably uses a small
beeper attached to the motherboard. It is ok. Moreover, the
same was used by Keyrus. But I still have to find and connect
it to the motherboard: I detached it some time ago because
it beeped to often during the compilation time while updating
the system.



Re: [gentoo-user] Re: [OT] When Linux desktop will be at least so convenient as MS DOS?

2018-07-13 Thread gevisz
2018-07-13 3:31 GMT+03:00 Nikos Chantziaras :
> On 13/07/18 02:48, gevisz wrote:
>>
>> But currently I am ready to try even the "dirty" way to organize
>> keyboard layout switch if it will give me a nice cracking sound
>> of old good days :) when typing in Cyrillic keyboard layout.
>
>
> It will not. There is no reason to, since you can see it. In MS-DOS,
> you couldn't see it, thus the sound was the only way to communicate
> the current keyboard layout to the user.

To many users, especially if they switch keyboard layout too often
and between more than two keyboard layouts, it is extremely
inconvenient to every time look for the small keyboard indicator
on the screen to find out in which keyboard layout they are.

Actually, this my question was triggered by a question on some forum
where a user asked a similar question, namely, how other people solve
the problem of indicating keyboard layout. The only thing I could reply
to that question was that in good old days there was a nice MS DOS
keyboard driver Keyrus that indicated a Cyrillic keyboard layout with
a nice crackling sound... Surprisingly for me, for the topic starter,
it was enough: he soon replied that in Windows the same is possible
with Punto switcher, he set it and found it a nice way of indicating
keyboard layout.

The following is my translation of a quote from the creator of Punto
switcher, in which he gives the reason why he decided to create it:
"If we collect the curses of all computer users, when the text is not
printed in the correct keyboard layout, then we would get the energy
equal to one atomic bomb, and maybe two.”

The original quote (in Russian) may be found here:
https://ru.wikipedia.org/wiki/Punto_Switcher

As for me, for many years, I used to type without looking on the screen
at all. It helped to save my eyes from eхcessive monitor radiation but
not my nerves when I suddenly noted that last 10 minutes I typed in
a wrong keyboard layout.

Just to solve the said problem, I spent the last 3 years to learn touch
typing in three different keyboard layouts, but after all this I can
say that it is still inconvenient for me to control a current keyboard
layout without a help of nice crackling sound.



Re: [gentoo-user] Re: [OT] When Linux desktop will be at least so convenient as MS DOS?

2018-07-13 Thread Mick
On Friday, 13 July 2018 01:31:04 BST Nikos Chantziaras wrote:
> On 13/07/18 02:48, gevisz wrote:
> > But currently I am ready to try even the "dirty" way to organize
> > keyboard layout switch if it will give me a nice cracking sound
> > of old good days :) when typing in Cyrilic keyboard layout.
> 
> It will not. There is no reason to, since you can see it. In MS-DOS, you
> couldn't see it, thus the sound was the only way to communicate the
> current keyboard layout to the user.

I didn't know of Dmitry Gurtyak, or his particular application.  You may want 
to take a look at xset and in particular 'xset +c' to switch on the keyboard 
clicking sound.  If you append this to the command which is run when you 
switch to Cyrillic you would get a clicking sound.  You can also set the 
volume of the clicking sound by using a value from 1-100.

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.