Re: [arch-general] can not login after upgrade

2012-06-13 Thread Kevin Chadwick
On Wed, 13 Jun 2012 14:12:23 +0300
Tasos Latsas wrote:

> > Maybe this workaround could be added to the Archlinux home page news :
> > systemd-tools, as it could avoid this issue to all users with a separate
> > /usr ?  
> 
> This is documented here [1] and I don't think it was introduced in the
> recent systemd-tools update but rather this was the case for some time
> now [2]. If I'm not mistaken support for a separate /usr was enabled
> around January in mkinitcpio

Forgive me if this has been asked countless times and I'm guessing it's
just a matter of someone picking up the code.

Is there a reason other than coding it why there isn't a run sdiff
on .pacnew pacman option flag which could then be followed
automatically with mkinitcpio?


Re: [arch-general] can not login after upgrade

2012-06-13 Thread Tasos Latsas
On 13/06/12 13:34, Arno Gaboury wrote:
> On 06/12/2012 10:19 PM, Kacper Żuk wrote:
[snip]
> As I have /usr on a separate partition, following your instructions
> solved my issue (the filesystem was not mounted at boot).
> With a live CD, I edited /etc/mkinitcpio.conf and added usr shutdown to
> the HOOKS line, then chroot, following the wiki, and run mkinitcpio -p
> linux.
> 
> Now I can login my box :-)
> 
> Maybe this workaround could be added to the Archlinux home page news :
> systemd-tools, as it could avoid this issue to all users with a separate
> /usr ?

This is documented here [1] and I don't think it was introduced in the
recent systemd-tools update but rather this was the case for some time
now [2]. If I'm not mistaken support for a separate /usr was enabled
around January in mkinitcpio [3].

Cheers


[1]
https://wiki.archlinux.org/index.php/Mkinitcpio#.2Fusr_as_a_separate_partition

[2]
http://mailman.archlinux.org/pipermail/arch-general/2011-October/022376.html

[3]
http://mailman.archlinux.org/pipermail/arch-dev-public/2012-January/022401.html

-- 
Tasos Latsas

GPG key: 0x414301DF
http://coderwall.com/tlatsas





signature.asc
Description: OpenPGP digital signature


Re: [arch-general] can not login after upgrade

2012-06-13 Thread Arno Gaboury

On 06/12/2012 10:19 PM, Kacper Żuk wrote:

W dniu 12.06.2012 21:59, Arno Gaboury pisze:

After some reading across the forum, I see I am not the only one with
this issue. my /usr and /boot are both on a separate partition from /.
It seems this cause the issue.
As far as I can understand, the solution seems to add the Hook back and
rebuilt the image.

Is this correct??

How can I do that? Form a live cd? Or can I do anything from Ubuntu?


If that's the issue, you can mount your root partition in Ubuntu, 
chroot to it (read Change Root article on archwiki), edit  and run .
As I have /usr on a separate partition, following your instructions 
solved my issue (the filesystem was not mounted at boot).
With a live CD, I edited /etc/mkinitcpio.conf and added usr shutdown to 
the HOOKS line, then chroot, following the wiki, and run mkinitcpio -p 
linux.


Now I can login my box :-)

Maybe this workaround could be added to the Archlinux home page news : 
systemd-tools, as it could avoid this issue to all users with a separate 
/usr ?


Re: [arch-general] can not login after upgrade

2012-06-12 Thread Δημήτρης Ζέρβας
i can't think of anything that arch isn't capable of doing...
but i think that i'm just "stuck" with arch...
you may be right!

(\_ /) copy the bunny to your profile
(0.o ) to help him achieve world domination.
(> <) come join the dark side.
/_|_\ (we have cookies.)


On Wed, Jun 13, 2012 at 12:01 AM, Ralf Mardorf
wrote:

> On Tue, 2012-06-12 at 23:25 +0300, Δημήτρης Ζέρβας wrote:
> > i would advise you to have only Arch and just "deal with it"
>
> I would advice to use different distros, that fit best to different
> usages/needs, if there should be different usages/needs.
>
> ;)
> Ralf
>
>


Re: [arch-general] can not login after upgrade

2012-06-12 Thread Ralf Mardorf
On Tue, 2012-06-12 at 23:25 +0300, Δημήτρης Ζέρβας wrote:
> i would advise you to have only Arch and just "deal with it"

I would advice to use different distros, that fit best to different
usages/needs, if there should be different usages/needs.

;)
Ralf



Re: [arch-general] can not login after upgrade

2012-06-12 Thread Arno Gaboury

Le 12. 06. 12 22:25, Δημήτρης Ζέρβας a écrit :

i would advise you to have only Arch and just "deal with it" (hours and
hours was eaten to just make something "the arch way") ... but it's out of
the subject
did you find any solutions?

(\_ /) copy the bunny to your profile
(0.o ) to help him achieve world domination.
(>  <) come join the dark side.
/_|_\ (we have cookies.)


On Tue, Jun 12, 2012 at 11:20 PM, Arno Gabourywrote:


Le 12. 06. 12 21:57, Δημήτρης Ζέρβας a écrit :


oh yes, it's not mounted at all, that's why you can't see it from ubuntu
(arch&   ubuntu? how could you? :P)

it's not a problem, just mount the boot partition to //boot
and the /boot partition CAN'T be empty, because you can't login, but you
actually boot!

(\_ /) copy the bunny to your profile
(0.o ) to help him achieve world domination.
(>   <) come join the dark side.
/_|_\ (we have cookies.)


On Tue, Jun 12, 2012 at 10:52 PM, Mateusz Loskot
  wrote:

  On 12 June 2012 20:50, Δημήτρης Ζέρβας<01tto...@gmail.com>   wrote:



another guy had problems with his VPS...
when he updated he lost any connection with the VPS
do you have /boot on a separate partition?



Indeed, and if it is on separate partition it's probably not
getting mounted properly.
May be issue with changes regarding using fstab/labels vs UUID.

Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net



As for Ubuntu and Arch on same machine, Ubutnu was a good way for me to
learn. Once I felt comfortable, I switched to Arch, and NEVER LOOK BACK !!
  :-)
But I am still a, let's say a n00b++, and this issue is puzzling me.
Yes, /boot and /usr are not on the root /, and you are right, the boot CAN
NOT be empty, it is just NOT mounted.
It seems I can do everything from Ubuntu, but I am not so sure to know
how. I will try to figure out, and LEARN, again and again...



I do not want to flame, but let me give you an advise too : BOTTOM POST 
in the ML, it is much more easy to follow  :-)


Yes, I have a solution, follwoing Corentin Delcourt and Kacper Zuk answer :

https://wiki.archlinux.org/index.php/Chroot

If that's the issue, you can mount your root partition in Ubuntu, chroot 
to it (read Change Root article on archwiki), edit /etc/mkinitcpio.conf 
and run mkinitcpio -p linux.


Never did it before, but will manage to achieve to solve this issue.

Learning, again and again.





Re: [arch-general] can not login after upgrade

2012-06-12 Thread Δημήτρης Ζέρβας
i would advise you to have only Arch and just "deal with it" (hours and
hours was eaten to just make something "the arch way") ... but it's out of
the subject
did you find any solutions?

(\_ /) copy the bunny to your profile
(0.o ) to help him achieve world domination.
(> <) come join the dark side.
/_|_\ (we have cookies.)


On Tue, Jun 12, 2012 at 11:20 PM, Arno Gaboury wrote:

> Le 12. 06. 12 21:57, Δημήτρης Ζέρβας a écrit :
>
>> oh yes, it's not mounted at all, that's why you can't see it from ubuntu
>> (arch&  ubuntu? how could you? :P)
>>
>> it's not a problem, just mount the boot partition to //boot
>> and the /boot partition CAN'T be empty, because you can't login, but you
>> actually boot!
>>
>> (\_ /) copy the bunny to your profile
>> (0.o ) to help him achieve world domination.
>> (>  <) come join the dark side.
>> /_|_\ (we have cookies.)
>>
>>
>> On Tue, Jun 12, 2012 at 10:52 PM, Mateusz Loskot
>>  wrote:
>>
>>  On 12 June 2012 20:50, Δημήτρης Ζέρβας<01tto...@gmail.com>  wrote:
>>>
 another guy had problems with his VPS...
 when he updated he lost any connection with the VPS
 do you have /boot on a separate partition?

>>>
>>> Indeed, and if it is on separate partition it's probably not
>>> getting mounted properly.
>>> May be issue with changes regarding using fstab/labels vs UUID.
>>>
>>> Best regards,
>>> --
>>> Mateusz Loskot, http://mateusz.loskot.net
>>>
>>>
> As for Ubuntu and Arch on same machine, Ubutnu was a good way for me to
> learn. Once I felt comfortable, I switched to Arch, and NEVER LOOK BACK !!
>  :-)
> But I am still a, let's say a n00b++, and this issue is puzzling me.
> Yes, /boot and /usr are not on the root /, and you are right, the boot CAN
> NOT be empty, it is just NOT mounted.
> It seems I can do everything from Ubuntu, but I am not so sure to know
> how. I will try to figure out, and LEARN, again and again...
>


Re: [arch-general] can not login after upgrade

2012-06-12 Thread Arno Gaboury

Le 12. 06. 12 21:57, Δημήτρης Ζέρβας a écrit :

oh yes, it's not mounted at all, that's why you can't see it from ubuntu
(arch&  ubuntu? how could you? :P)
it's not a problem, just mount the boot partition to //boot
and the /boot partition CAN'T be empty, because you can't login, but you
actually boot!

(\_ /) copy the bunny to your profile
(0.o ) to help him achieve world domination.
(>  <) come join the dark side.
/_|_\ (we have cookies.)


On Tue, Jun 12, 2012 at 10:52 PM, Mateusz Loskot  wrote:


On 12 June 2012 20:50, Δημήτρης Ζέρβας<01tto...@gmail.com>  wrote:

another guy had problems with his VPS...
when he updated he lost any connection with the VPS
do you have /boot on a separate partition?


Indeed, and if it is on separate partition it's probably not
getting mounted properly.
May be issue with changes regarding using fstab/labels vs UUID.

Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net



As for Ubuntu and Arch on same machine, Ubutnu was a good way for me to 
learn. Once I felt comfortable, I switched to Arch, and NEVER LOOK BACK 
!!  :-)

But I am still a, let's say a n00b++, and this issue is puzzling me.
Yes, /boot and /usr are not on the root /, and you are right, the boot 
CAN NOT be empty, it is just NOT mounted.
It seems I can do everything from Ubuntu, but I am not so sure to know 
how. I will try to figure out, and LEARN, again and again...


Re: [arch-general] can not login after upgrade

2012-06-12 Thread Kacper Żuk

W dniu 12.06.2012 21:59, Arno Gaboury pisze:

After some reading across the forum, I see I am not the only one with
this issue. my /usr and /boot are both on a separate partition from /.
It seems this cause the issue.
As far as I can understand, the solution seems to add the Hook back and
rebuilt the image.

Is this correct??

How can I do that? Form a live cd? Or can I do anything from Ubuntu?


If that's the issue, you can mount your root partition in Ubuntu, chroot 
to it (read Change Root article on archwiki), edit /etc/mkinitcpio.conf 
and run mkinitcpio -p linux.


Re: [arch-general] can not login after upgrade

2012-06-12 Thread Denis A . Altoé Falqueto
On Tue, Jun 12, 2012 at 4:59 PM, Arno Gaboury  wrote:
> After some reading across the forum, I see I am not the only one with this
> issue. my /usr and /boot are both on a separate partition from /. It seems
> this cause the issue.
> As far as I can understand, the solution seems to add the Hook back and
> rebuilt the image.
>
> Is this correct??
>
> How can I do that? Form a live cd? Or can I do anything from Ubuntu?

Arch install image can boot into an installed system. You can then add
usr, fsck and shutdown hooks, as instructed in mkinitcpio.conf and
rebuild the image with mkinitcpio -p linux.

Hope that helps.

-- 
A: Because it obfuscates the reading.
Q: Why is top posting so bad?
For more information, please read: http://idallen.com/topposting.html

---
Denis A. Altoe Falqueto
Linux user #524555
---


Re: [arch-general] can not login after upgrade

2012-06-12 Thread Δημήτρης Ζέρβας
"add the Hook back and rebuilt the image." O_o

(\_ /) copy the bunny to your profile
(0.o ) to help him achieve world domination.
(> <) come join the dark side.
/_|_\ (we have cookies.)


On Tue, Jun 12, 2012 at 10:59 PM, Arno Gaboury wrote:

> Le 12. 06. 12 21:47, Arno Gaboury a écrit :
>
>  Hi all,
>>
>> I am running a fresh update X86_64 Archlinux on BTRFS.
>>
>> I left my box unused for near one month (15/05-12/06). I did a system
>> update today, following all latest news:
>> -first updated pacman
>> - moved to systemd and libusbx, did all the updates. Everything went OK.
>> -upgraded the filesystem with the --force option.
>>
>> No errors at all.
>>
>> When rebooting, I did not see the usual init process details with all
>> services, going to the login prompt VERY quickly (a few sec).
>> At the login prompt, here is what I have:
>>
>> Archlinux 3.4.2-1-ARCH
>> (none)login:
>>
>>
>> I can type whatever I want (all user names, or anything else), I am
>> always back to the propmt. I can no more login.
>>
>> I dual boot with Ubuntu. From Ubuntu, I see my Arch /boot folder is
>> empty!!
>>
>> I have no proposal in Grub2 to boot from a previous version.
>>
>> So now, what shall I do ?
>>
>> TY for any help, as I am a litle disapointed and first time with such a
>> big problem.
>>
>>
> After some reading across the forum, I see I am not the only one with this
> issue. my /usr and /boot are both on a separate partition from /. It seems
> this cause the issue.
> As far as I can understand, the solution seems to add the Hook back and
> rebuilt the image.
>
> Is this correct??
>
> How can I do that? Form a live cd? Or can I do anything from Ubuntu?
>


Re: [arch-general] can not login after upgrade

2012-06-12 Thread Arno Gaboury

Le 12. 06. 12 21:47, Arno Gaboury a écrit :

Hi all,

I am running a fresh update X86_64 Archlinux on BTRFS.

I left my box unused for near one month (15/05-12/06). I did a system
update today, following all latest news:
-first updated pacman
- moved to systemd and libusbx, did all the updates. Everything went OK.
-upgraded the filesystem with the --force option.

No errors at all.

When rebooting, I did not see the usual init process details with all
services, going to the login prompt VERY quickly (a few sec).
At the login prompt, here is what I have:

Archlinux 3.4.2-1-ARCH
(none)login:


I can type whatever I want (all user names, or anything else), I am
always back to the propmt. I can no more login.

I dual boot with Ubuntu. From Ubuntu, I see my Arch /boot folder is empty!!

I have no proposal in Grub2 to boot from a previous version.

So now, what shall I do ?

TY for any help, as I am a litle disapointed and first time with such a
big problem.



After some reading across the forum, I see I am not the only one with 
this issue. my /usr and /boot are both on a separate partition from /. 
It seems this cause the issue.
As far as I can understand, the solution seems to add the Hook back and 
rebuilt the image.


Is this correct??

How can I do that? Form a live cd? Or can I do anything from Ubuntu?


Re: [arch-general] can not login after upgrade

2012-06-12 Thread Δημήτρης Ζέρβας
oh yes, it's not mounted at all, that's why you can't see it from ubuntu
(arch & ubuntu? how could you? :P)
it's not a problem, just mount the boot partition to //boot
and the /boot partition CAN'T be empty, because you can't login, but you
actually boot!

(\_ /) copy the bunny to your profile
(0.o ) to help him achieve world domination.
(> <) come join the dark side.
/_|_\ (we have cookies.)


On Tue, Jun 12, 2012 at 10:52 PM, Mateusz Loskot  wrote:

> On 12 June 2012 20:50, Δημήτρης Ζέρβας <01tto...@gmail.com> wrote:
> > another guy had problems with his VPS...
> > when he updated he lost any connection with the VPS
> > do you have /boot on a separate partition?
>
> Indeed, and if it is on separate partition it's probably not
> getting mounted properly.
> May be issue with changes regarding using fstab/labels vs UUID.
>
> Best regards,
> --
> Mateusz Loskot, http://mateusz.loskot.net
>


Re: [arch-general] can not login after upgrade

2012-06-12 Thread Mateusz Loskot
On 12 June 2012 20:50, Δημήτρης Ζέρβας <01tto...@gmail.com> wrote:
> another guy had problems with his VPS...
> when he updated he lost any connection with the VPS
> do you have /boot on a separate partition?

Indeed, and if it is on separate partition it's probably not
getting mounted properly.
May be issue with changes regarding using fstab/labels vs UUID.

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net


Re: [arch-general] can not login after upgrade

2012-06-12 Thread Δημήτρης Ζέρβας
another guy had problems with his VPS...
when he updated he lost any connection with the VPS
do you have /boot on a separate partition?

(\_ /) copy the bunny to your profile
(0.o ) to help him achieve world domination.
(> <) come join the dark side.
/_|_\ (we have cookies.)


On Tue, Jun 12, 2012 at 10:47 PM, Arno Gaboury wrote:

> Hi all,
>
> I am running a fresh update X86_64 Archlinux on BTRFS.
>
> I left my box unused for near one month (15/05-12/06). I did a system
> update today, following all latest news:
> -first updated pacman
> - moved to systemd and libusbx, did all the updates. Everything went OK.
> -upgraded the filesystem with the --force option.
>
> No errors at all.
>
> When rebooting, I did not see the usual init process details with all
> services, going to the login prompt VERY quickly (a few sec).
> At the login prompt, here is what I have:
>
> Archlinux 3.4.2-1-ARCH
> (none)login:
>
>
> I can type whatever I want (all user names, or anything else), I am always
> back to the propmt. I can no more login.
>
> I dual boot with Ubuntu. From Ubuntu, I see my Arch /boot folder is empty!!
>
> I have no proposal in Grub2 to boot from a previous version.
>
> So now, what shall I do ?
>
> TY for any help, as I am a litle disapointed and first time with such a
> big problem.
>
>