Re: [arch-general] initi issue

2017-04-05 Thread Ralf Mardorf
On Wed, 5 Apr 2017 20:22:07 +0200, Frank wrote:
>Good evening,
>
>I'm having troubles booting my laptop. I do get the following error:
>Failed to execute /init (error -2)
>Kernel panic - not syncing: No working init found. TRy passing init=
>option to kernel
>CPU: 3 PID: 1 Comm: swapper/0 Not tainted 4.10.2-1-ARCH #1
>Call trace:
>dump_stack+0x63/0x83
>? csum_partial_copy_generic+0x170/0x170
>panic+0xe/0x22d
>? putname+0x54/0x60
>? rest_init+0x90/0x90
>kernel_init+0xeb/0x100
>ret_from_fork+0x2c/0x40
>Kernel Offset: disabled
>
>I've booted from archiso and chrooted in the system, tried to reinstall
>kernel, did an upgrade, made ne initrd and reinstalled grub without any
>success.
>THX Frank

When did that happen? After an update? If so I would tend to downgrade,
e.g.
https://www.archlinux.org/packages/core/x86_64/linux-lts/
https://aur.archlinux.org/packages/downgrade/
Did you try anything else?
E.g. https://bbs.archlinux.org/viewtopic.php?id=162704
or any of the other [solved] threads
https://www.google.de/?gws_rd=ssl#q=Kernel+panic+-+not+syncing:+No+working+init+found.&*
?


Re: [arch-general] initi issue

2017-04-05 Thread Martin Kühne via arch-general
You should make sure you have:
- systemd-sysvcompat installed properly
Another way which I'm using (since I consider that package silly) is this:
- add init=/usr/lib/systemd/systemd to GRUB_CMDLINE_LINUX in
/etc/default/grub and run grub-mkconfig -o /boot/grub/grub.cfg -- or
the according action using your bootloader.

Your system basically doesn't know what to run as pid 1.

cheers!
mar77i


Re: [arch-general] initi issue

2017-04-05 Thread Radostin Stoyanov via arch-general
Hi Frank, you try with this:

1. Boot archiso and chrooted in the system.

2. Mount your boot partition

- In my case it is: mount /dev/sda1 /boot

3. Run mkinitcpio

- In my case it is: mkinitcpio -p linux-lts


Rado


On 05/04/17 19:22, Frank wrote:
> Good evening,
>
> I'm having troubles booting my laptop. I do get the following error:
> Failed to execute /init (error -2)
> Kernel panic - not syncing: No working init found. TRy passing init=
> option to kernel
> CPU: 3 PID: 1 Comm: swapper/0 Not tainted 4.10.2-1-ARCH #1
> Call trace:
> dump_stack+0x63/0x83
> ? csum_partial_copy_generic+0x170/0x170
> panic+0xe/0x22d
> ? putname+0x54/0x60
> ? rest_init+0x90/0x90
> kernel_init+0xeb/0x100
> ret_from_fork+0x2c/0x40
> Kernel Offset: disabled
>
> I've booted from archiso and chrooted in the system, tried to reinstall
> kernel, did an upgrade, made ne initrd and reinstalled grub without any
> success.
> THX Frank


[arch-general] initi issue

2017-04-05 Thread Frank

Good evening,

I'm having troubles booting my laptop. I do get the following error:
Failed to execute /init (error -2)
Kernel panic - not syncing: No working init found. TRy passing init=
option to kernel
CPU: 3 PID: 1 Comm: swapper/0 Not tainted 4.10.2-1-ARCH #1
Call trace:
dump_stack+0x63/0x83
? csum_partial_copy_generic+0x170/0x170
panic+0xe/0x22d
? putname+0x54/0x60
? rest_init+0x90/0x90
kernel_init+0xeb/0x100
ret_from_fork+0x2c/0x40
Kernel Offset: disabled

I've booted from archiso and chrooted in the system, tried to reinstall
kernel, did an upgrade, made ne initrd and reinstalled grub without any
success.
THX Frank


Re: [arch-general] Mount point of MTP devices?

2017-04-05 Thread Thomas Bächler
Am 02.04.2017 um 07:06 schrieb Rijul Gulati via arch-general:
> Hello,
> I have recently installed Arch on my desktop machine (KDE).
> I want to access android device (MTP) from terminal. The device is
> accessible from file manager (Dolphin). This means it has to be mounted
> somewhere (right?).

No.

MTP is not a file system. There are some pseudo file systems that could
mount it, but obviously with limited functionality (after all, it's not
a file system). mtpfs ([1]) seems like an obvious choice, but I have
never used it, so I don't know if it even works.

As others have said, Dolphin accesses it via the kio framework.

[1] https://www.archlinux.org/packages/community/x86_64/mtpfs/



signature.asc
Description: OpenPGP digital signature


Re: [arch-general] Suppressing specific pacman warnings

2017-04-05 Thread João Miguel via arch-general
A 2017-04-05T10:44:05 +0200, SanskritFritz escreveu:
> On Wed, Apr 5, 2017 at 12:02 AM, João Miguel via arch-general <
> arch-general@archlinux.org> wrote:
> 
> > A 2017-04-04T10:08:42 +0200, Guus Snijders via arch-general escreveu:
> > > (...)
> > >
> > > I think Ely Swartz gave the best option;
> > > Use a custom repo for the non-standard pkg's and give it priority.
> > >
> > > Mvg, Guus Snijders
> > I agree, and the best part is that one can make it public so that the
> > everyone else can enjoy the pre-compiled packages (because this isn't
> > Gentoo). I'll add mine to the unofficial repos soon.
> >
> >
> I would like to maintain a custom repo too. However I don't have a public
> server (...)
Since you probably won't get much traffic and most ISPs have high limits
for bandwidth anyway, you can do port forwarding on you router to an old
PC or low-powered computer to work as a server and use something like
https://freedns.afraid.org/ to create a DNS A record to your IP. Total
cost if you already have an old computer: 0. And you get to learn how to
set up server-y things!

Hope this helps,
João Miguel


Re: [arch-general] Suppressing specific pacman warnings

2017-04-05 Thread Ben Oliver via arch-general
https://lowendbox.com/ is a good place to shop around on.


Re: [arch-general] Suppressing specific pacman warnings

2017-04-05 Thread Bartłomiej Piotrowski
On 2017-04-05 10:44, SanskritFritz via arch-general wrote:
> On Wed, Apr 5, 2017 at 12:02 AM, João Miguel via arch-general <
> arch-general@archlinux.org> wrote:
> 
>> A 2017-04-04T10:08:42 +0200, Guus Snijders via arch-general escreveu:
>>> (...)
>>>
>>> I think Ely Swartz gave the best option;
>>> Use a custom repo for the non-standard pkg's and give it priority.
>>>
>>> Mvg, Guus Snijders
>> I agree, and the best part is that one can make it public so that the
>> everyone else can enjoy the pre-compiled packages (because this isn't
>> Gentoo). I'll add mine to the unofficial repos soon.
>>
>>
> I would like to maintain a custom repo too. However I don't have a public
> server and couldn't find suitable free storage. I tried Sourceforge but
> when I want to register a new project, it asks for my phone number.
> Do you guys know of any good public storage where I could store my custom
> repo for the public?
> 

Vultr offers a VPS for 2.50$/month. I doubt there is anything cheaper.

Bartłomiej


Re: [arch-general] Suppressing specific pacman warnings

2017-04-05 Thread SanskritFritz via arch-general
On Wed, Apr 5, 2017 at 12:02 AM, João Miguel via arch-general <
arch-general@archlinux.org> wrote:

> A 2017-04-04T10:08:42 +0200, Guus Snijders via arch-general escreveu:
> > (...)
> >
> > I think Ely Swartz gave the best option;
> > Use a custom repo for the non-standard pkg's and give it priority.
> >
> > Mvg, Guus Snijders
> I agree, and the best part is that one can make it public so that the
> everyone else can enjoy the pre-compiled packages (because this isn't
> Gentoo). I'll add mine to the unofficial repos soon.
>
>
I would like to maintain a custom repo too. However I don't have a public
server and couldn't find suitable free storage. I tried Sourceforge but
when I want to register a new project, it asks for my phone number.
Do you guys know of any good public storage where I could store my custom
repo for the public?