Re: [systemd-devel] needed steps to get rebootless upgrade

2014-02-18 Thread Vasiliy Tolstov
2014-02-18 0:29 GMT+04:00 H. Peter Anvin h...@zytor.com: Well, kexec passes an initramfs like any other boot. Thanks. If that possible to not load initrd via kexec, but use already unpacked image in the memory? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru

Re: [systemd-devel] needed steps to get rebootless upgrade

2014-02-18 Thread H. Peter Anvin
On 02/18/2014 02:32 AM, Vasiliy Tolstov wrote: 2014-02-18 0:29 GMT+04:00 H. Peter Anvin h...@zytor.com: Well, kexec passes an initramfs like any other boot. Thanks. If that possible to not load initrd via kexec, but use already unpacked image in the memory? Not if it is an (init)ramfs. If

Re: [systemd-devel] needed steps to get rebootless upgrade

2014-02-17 Thread Lennart Poettering
On Mon, 17.02.14 08:16, Vasiliy Tolstov (v.tols...@selfip.ru) wrote: Hi all. I'm very interesting on creating system like cromeos that can do upgrade without reboot. ChromeOS doesn't support reboot-less upgrades. In case of using systemd - what i need to do? I have two disk (ramdisk)

Re: [systemd-devel] needed steps to get rebootless upgrade

2014-02-17 Thread Koen Kooi
Op 17 feb. 2014, om 14:50 heeft Lennart Poettering lenn...@poettering.net het volgende geschreven: On Mon, 17.02.14 08:16, Vasiliy Tolstov (v.tols...@selfip.ru) wrote: Hi all. I'm very interesting on creating system like cromeos that can do upgrade without reboot. ChromeOS doesn't

Re: [systemd-devel] needed steps to get rebootless upgrade

2014-02-17 Thread H. Peter Anvin
On 02/17/2014 06:40 AM, Koen Kooi wrote: If we stretch the definition of 'reboot' a bit, would it be possible to shutdown, jump back into the initramfs, do the updates and jump to the main rootfs again? It assumes you have an initramfs and all your apps will close, but the machine doesn't

Re: [systemd-devel] needed steps to get rebootless upgrade

2014-02-17 Thread Koen Kooi
Op 17 feb. 2014, om 17:03 heeft H. Peter Anvin h...@zytor.com het volgende geschreven: On 02/17/2014 06:40 AM, Koen Kooi wrote: If we stretch the definition of 'reboot' a bit, would it be possible to shutdown, jump back into the initramfs, do the updates and jump to the main rootfs again?

Re: [systemd-devel] needed steps to get rebootless upgrade

2014-02-17 Thread Vasiliy Tolstov
2014-02-17 18:40 GMT+04:00 Koen Kooi k...@dominion.thruhere.net: If we stretch the definition of 'reboot' a bit, would it be possible to shutdown, jump back into the initramfs, do the updates and jump to the main rootfs again? It assumes you have an initramfs and all your apps will close,

Re: [systemd-devel] needed steps to get rebootless upgrade

2014-02-17 Thread H. Peter Anvin
On 02/17/2014 12:01 PM, Vasiliy Tolstov wrote: 2014-02-17 18:40 GMT+04:00 Koen Kooi k...@dominion.thruhere.net: If we stretch the definition of 'reboot' a bit, would it be possible to shutdown, jump back into the initramfs, do the updates and jump to the main rootfs again? It assumes you

Re: [systemd-devel] needed steps to get rebootless upgrade

2014-02-17 Thread Vasiliy Tolstov
2014-02-18 0:07 GMT+04:00 H. Peter Anvin h...@zytor.com: kexec? Is that possible to keep ramdisk while doing kexec? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru ___ systemd-devel mailing list

Re: [systemd-devel] needed steps to get rebootless upgrade

2014-02-17 Thread H. Peter Anvin
Well, kexec passes an initramfs like any other boot. On February 17, 2014 12:27:34 PM PST, Vasiliy Tolstov v.tols...@selfip.ru wrote: 2014-02-18 0:07 GMT+04:00 H. Peter Anvin h...@zytor.com: kexec? Is that possible to keep ramdisk while doing kexec? -- Sent from my mobile phone. Please