[opensuse-factory] Bring back kexec for rebooting the first half of the installation
Hello List Mates, Remember back in 11.3 - 11.4. kexec started after the first half of the installation - right after Grub was installed and configured. Kexec started the reboot and the installation proceeded into the second half -- auto configuring, setting up the printer etc... We didn't even have to press the <enter> key to "Boot from Hard Drive". I thought this was a great way of installing openSUSE! Is there a chance that this can be brought back? Cheers! Roman --------------------------------------------------------------- openSUSE -- Get it! Discover it! Share it! --------------------------------------------------------------- http://linuxcounter.net/ #179293 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Roman Bysh wrote:
Hello List Mates,
Remember back in 11.3 - 11.4. kexec started after the first half of the installation - right after Grub was installed and configured.
Kexec started the reboot and the installation proceeded into the second half -- auto configuring, setting up the printer etc...
We didn't even have to press the <enter> key to "Boot from Hard Drive".
I thought this was a great way of installing openSUSE!
Is there a chance that this can be brought back?
What is the benefit? When I install, the reboot into the 2nd half still happens automagically. -- Per Jessen, Zürich (17.8°C) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Wed, Jul 4, 2012 at 3:03 AM, Per Jessen
Is there a chance that this can be brought back?
What is the benefit? When I install, the reboot into the 2nd half still happens automagically.
From my pov, it once saved me from significant work since the install process wouldn't properly install grub on a sw-raid setup. Instead of having to fix that from a rescue CD, I could fix it before rebooting right after install.
Not sure it's a whoppingly significant advantage, but I did appreciate it. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Claudio Freire wrote:
On Wed, Jul 4, 2012 at 3:03 AM, Per Jessen
wrote: Is there a chance that this can be brought back?
What is the benefit? When I install, the reboot into the 2nd half still happens automagically.
From my pov, it once saved me from significant work since the install process wouldn't properly install grub on a sw-raid setup. Instead of having to fix that from a rescue CD, I could fix it before rebooting right after install.
Not sure it's a whoppingly significant advantage, but I did appreciate it.
I guess the issue is that the boot-up (boot loader etc.) isn't properly exercised when the 2nd phase is started with kexec. I think I remember situations where a machine is installed+booted over PXE - when the 2nd phase happens via kexec and no local boot-loader is installed, it doesn't quite work. Definitely a corner-case though. Anyway, I was just wondering what Roman saw as a significant benefit of using kexec. -- Per Jessen, Zürich (18.4°C) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Wed 04 Jul 2012 03:08:36 AM EDT, Per Jessen wrote:
Claudio Freire wrote:
On Wed, Jul 4, 2012 at 3:03 AM, Per Jessen
wrote: Is there a chance that this can be brought back?
What is the benefit? When I install, the reboot into the 2nd half still happens automagically.
From my pov, it once saved me from significant work since the install process wouldn't properly install grub on a sw-raid setup. Instead of having to fix that from a rescue CD, I could fix it before rebooting right after install.
Not sure it's a whoppingly significant advantage, but I did appreciate it.
I guess the issue is that the boot-up (boot loader etc.) isn't properly exercised when the 2nd phase is started with kexec. I think I remember situations where a machine is installed+booted over PXE - when the 2nd phase happens via kexec and no local boot-loader is installed, it doesn't quite work. Definitely a corner-case though. Anyway, I was just wondering what Roman saw as a significant benefit of using kexec.
I found the installation ran in a more expeditious manner rather than shutting down, waiting for the DVD to boot up. And, selecting "Boot from hard drive" or selecting "Installation". Roman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 07/04/2012 03:56 PM, Roman Bysh wrote:
On Wed 04 Jul 2012 03:08:36 AM EDT, Per Jessen wrote:
Claudio Freire wrote:
On Wed, Jul 4, 2012 at 3:03 AM, Per Jessen
wrote: Is there a chance that this can be brought back?
What is the benefit? When I install, the reboot into the 2nd half still happens automagically.
From my pov, it once saved me from significant work since the install process wouldn't properly install grub on a sw-raid setup. Instead of having to fix that from a rescue CD, I could fix it before rebooting right after install.
Not sure it's a whoppingly significant advantage, but I did appreciate it.
I guess the issue is that the boot-up (boot loader etc.) isn't properly exercised when the 2nd phase is started with kexec. I think I remember situations where a machine is installed+booted over PXE - when the 2nd phase happens via kexec and no local boot-loader is installed, it doesn't quite work. Definitely a corner-case though. Anyway, I was just wondering what Roman saw as a significant benefit of using kexec.
I found the installation ran in a more expeditious manner rather than shutting down, waiting for the DVD to boot up. And, selecting "Boot from hard drive" or selecting "Installation".
Roman
All that just to run "Automatic Configuration"! Isn't running "kexec" part of the automatic configuration process? Doing the manual booting and pressing a key to boot from the hard drive doesn't feel like like a 'modern way' of installing an operating system. I don't remember doing this with Ubuntu do you? -- Cheers! Roman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Wednesday 2012-07-04 22:08, Roman Bysh wrote:
All that just to run "Automatic Configuration"! Isn't running "kexec" part of the automatic configuration process?
Why even use kexec? Modern systems could just chroot into the just-installed system! However, doing a total system reboot has its benefits: it tests that the bootloader is working properly. Because sometimes, it has occurred that there was some error installing grub, and if you don't reboot but kexec or chroot, you may never know. Think of it: system has not been rebooted ever since, is now in deep production, gets a kernel update. Instead of 5 minutes downtime, you're going to have in the excess of 30 to get grub straight again using a rescue image. And grub2 being on the horizon means: testing it all over again.
I don't remember doing this with Ubuntu do you?
Better a safe system than a ship playing fanfares while it is about to sink. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 07/04/2012 04:25 PM, Jan Engelhardt wrote:
On Wednesday 2012-07-04 22:08, Roman Bysh wrote:
All that just to run "Automatic Configuration"! Isn't running "kexec" part of the automatic configuration process?
Why even use kexec? Modern systems could just chroot into the just-installed system!
However, doing a total system reboot has its benefits: it tests that the bootloader is working properly. Because sometimes, it has occurred that there was some error installing grub, and if you don't reboot but kexec or chroot, you may never know.
Think of it: system has not been rebooted ever since, is now in deep production, gets a kernel update. Instead of 5 minutes downtime, you're going to have in the excess of 30 to get grub straight again using a rescue image.
And grub2 being on the horizon means: testing it all over again.
I don't remember doing this with Ubuntu do you?
Better a safe system than a ship playing fanfares while it is about to sink.
Well if you put it that way. I have to agree with you. It's better to do a hard reboot for true changes to appear. Cheers! Roman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Wed, Jul 4, 2012 at 5:41 PM, Roman Bysh
On 07/04/2012 04:25 PM, Jan Engelhardt wrote:
However, doing a total system reboot has its benefits: it tests that the bootloader is working properly. Because sometimes, it has occurred that there was some error installing grub, and if you don't reboot but kexec or chroot, you may never know. ... Well if you put it that way. I have to agree with you. It's better to do a hard reboot for true changes to appear.
But, honestly, mid-install is not the time to test that. It makes fixing it harder - because the system isn't fully configured yet. If I was installing a server, I'd reboot it at least once. To be sure. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Wed, Jul 04, 2012 at 05:45:23PM -0300, Claudio Freire wrote:
On Wed, Jul 4, 2012 at 5:41 PM, Roman Bysh
wrote: On 07/04/2012 04:25 PM, Jan Engelhardt wrote:
However, doing a total system reboot has its benefits: it tests that the bootloader is working properly. Because sometimes, it has occurred that there was some error installing grub, and if you don't reboot but kexec or chroot, you may never know. ... Well if you put it that way. I have to agree with you. It's better to do a hard reboot for true changes to appear.
But, honestly, mid-install is not the time to test that. It makes fixing it harder - because the system isn't fully configured yet.
If I was installing a server, I'd reboot it at least once. To be sure.
Yeah, you would hope so, but as someone who currently has a machine that the 12.2 beta will install properly, and "reboot" into the working system afterward, yet fails to boot from a cold reboot due to it being a EFI-based system, it is really annoying. I'd much rather find out the install failed earlier... But as I'm not working on the installer, I really don't have much to say about it :) Now if only we shipped a EFI-stub-enabled kernel, that would solve a lot of my issues, but that's a different topic... greg k-h -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Wed 04 Jul 2012 03:56:40 PM EDT, Roman Bysh wrote:
On Wed 04 Jul 2012 03:08:36 AM EDT, Per Jessen wrote:
Claudio Freire wrote:
On Wed, Jul 4, 2012 at 3:03 AM, Per Jessen
wrote: Is there a chance that this can be brought back?
What is the benefit? When I install, the reboot into the 2nd half still happens automagically.
From my pov, it once saved me from significant work since the install process wouldn't properly install grub on a sw-raid setup. Instead of having to fix that from a rescue CD, I could fix it before rebooting right after install.
Not sure it's a whoppingly significant advantage, but I did appreciate it.
I guess the issue is that the boot-up (boot loader etc.) isn't properly exercised when the 2nd phase is started with kexec. I think I remember situations where a machine is installed+booted over PXE - when the 2nd phase happens via kexec and no local boot-loader is installed, it doesn't quite work. Definitely a corner-case though. Anyway, I was just wondering what Roman saw as a significant benefit of using kexec.
I found the installation ran in a more expeditious manner rather than shutting down, waiting for the DVD to boot up. And, selecting "Boot from hard drive" or selecting "Installation".
Roman
Now we know why "kexec" was removed from the installation process. Roman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (6)
-
Claudio Freire
-
Greg KH
-
Jan Engelhardt
-
Per Jessen
-
Roman Bysh
-
Romanator