[opensuse-factory] Reboot partition option
One thing that used to be in openSUSE was the ability to choose which partition was booted on reboot. This very useful feature appears to be missing in 42.2. Any chance it could be brought back? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 03/10/2017 02:31 PM, James Knott wrote:
Are you sure your using KDM? its no longer the default for KDE sddm is. -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adelaide Australia, UTC+10:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B
On 09/03/17 11:08 PM, Simon Lees wrote:
When using sddm, log out so that you see the log in screen. Look to the bottom left corner of the screen. You will see different DE options for your reboot. Roman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2017-03-10 21:13, Roman Bysh wrote:
On 10/03/17 03:05 PM, James Knott wrote:
Some desktops call a grub tool that tells grub what to boot next time. mayby grub2-once. - -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREIAAYFAljDCwMACgkQja8UbcUWM1z2ewD9GPnv2QEV8seMlRkigcV/Upw1 cWX5uRDUIRh5OuVnciIBAIjiT2yoxHnvPeEq3hpHGS2FeROIUq9sTYW7AzBMUEmt =zMgs -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 10/03/17 03:13 PM, Roman Bysh wrote:
Follow Up The Yast2 Boot Loader offers a selection for booting. Start up Yast2 Boot Loader and click on the Bootloader Options tab. Under Default Boot Section select a different partition. Is this what you are looking for? Roman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 03/10/2017 03:24 PM, Roman Bysh wrote:
No. I don't want to change the default partition. What I have been doing for years, prior to moving to 42.2 was on the desktop, when selecting reboot, being able to select what was booted into. I could, for example, select Windows or memtest. Then the computer would reboot and instead of the Grub menu coming up, boot into whatever I selected. It was a very useful feature for any dual boot system. On my computer, the default is Linux. However, on occasion I may wish to boot into Windows. I could specify that when I chose to reboot. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 03/10/2017 03:13 PM, Roman Bysh wrote:
I know how to use the Grub menu to boot into a partition. What I was referring to was selecting the boot partition, as I rebooted the system, so that I don't have to wait for the Grub menu to come up, to select the partition. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2017-03-10 21:25, James Knott wrote:
I have the vague recollection of the feature being dropped somewhere. However, the tool that does the trick is grub2-once, and I also see a systemd service that restores the situation back. So maybe there is also another systemd service to trigger it once. cer@minas-tirith:~> locate grub2-once /etc/systemd/system/sysinit.target.wants/grub2-once.service /usr/lib/systemd/system/grub2-once.service /usr/sbin/grub2-once cer@minas-tirith:~> - -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREIAAYFAljDD34ACgkQja8UbcUWM1zMUQD7BMMaXcOsk1xG4FFVw/a/d4VS tIu/WNRgEtJwSR03TqwBAJh+yLNBO6DoLRuJFQuD493O/C5Q5XV4iaRXs+uzaYhx =Rbwq -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 03/10/2017 03:41 PM, Carlos E. R. wrote:
I have the vague recollection of the feature being dropped somewhere.
It was definitely in 13.1.
That command does the trick, but has to be run as root. I suppose I could create a script with sudo to do it as a mere mortal. However, it would be nice if it was available from the desktop, as it used to be. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 10/03/17 03:25 PM, James Knott wrote:
The Yast Bootloader has a feature to "Hide the Menu". I just tested it and the Grub2 menu no longer appears. Roman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 03/10/2017 03:54 PM, Roman Bysh wrote:
You are way off on the wrong track. In 13.1 and earlier, it was a simple matter to choose what was booted after a reboot. That is no longer available. In 13.1, I could select reboot from the desktop, select the desired partition from a drop down list and then reboot right into the desired partition. In addition to 13.1, I could choose from Windows and memtest and did not have to select after the Grub menu came up. This was a very useful feature that's no longer available, unless I roll my own with grub2-once. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 10/03/17 03:58 PM, James Knott wrote:
Yes. I'm looking at it right now. That was in KDE4. I clicked on Leave->Restart A "Restart computer" pop-up appears with an orange icon button on the desktop. When I clicked on the orange restart button a small window shows a boot list. Very nice. I would submit a bug report for 42.3 so that they can import this feature. Roman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am Freitag, 10. März 2017, 22:23:51 CET schrieb Roman Bysh:
I would submit a bug report for 42.3 so that they can import this feature.
Won't help. It's impossible to "import" this feature, it would need to be written from scratch. Nothing that openSUSE will do, and in particular not for 42.3. Also in KDE4 it only works if you are using KDM as display/login manager, because that feature is actually provided by KDM. KDM has been dropped upstream though, just like Plasma1/KDE4. An upstream feature request for sddm is here btw: https://github.com/sddm/sddm/issues/604 I remember a similar feature request for Plasma5 too (to bring back the selection on the logout screen), but AFAIR the KDE developers responded that this would need support on a lower level (systemd e.g.) first. Can't find that now though. Kind Regards, Wolfgang -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2017-03-11 00:11, Wolfgang Bauer wrote:
Perhaps this: /etc/systemd/system/sysinit.target.wants/grub2-once.service /usr/lib/systemd/system/grub2-once.service - -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREIAAYFAljDOxYACgkQja8UbcUWM1wENgD/a/kezT7J77bFXG3PO/1Wu8a7 eg/KZW1rIPg17CXtxB0A/3HbNEydzjNLk2gUJNklBxpJSoftveIcmXMLFM2s2joS =ysP5 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Wolfgang Bauer composed on 2017-03-11 00:11 (UTC+0100):
Roman Bysh composed:
I would submit a bug report for 42.3 so that they can import this feature.
Won't help.
It's impossible to "import" this feature, it would need to be written from scratch. Nothing that openSUSE will do, and in particular not for 42.3.
An upstream feature request for sddm is here btw: https://github.com/sddm/sddm/issues/604
Did the functionality get lost by Plasma, or by Grub2? If the latter, and the HD is not GPT, then switch back to Grub, keeping KDM as-is. Grub is still included in both Leap and TW, just not installable at during initial installation. It's the only bootloader any of my Distribution or TW installations use. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2017-03-11 02:07, Felix Miata wrote:
No, no. Grub has the functionality in grub2-once. And systemd has it in bootcycle.service and grub2-once.service. - -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREIAAYFAljDVmwACgkQja8UbcUWM1wKIwD+KkVuvN0bRDy0TNDb/Bh+eOBo dzuDYJJqiZK+0hbxFaQA/jzfnSrx39J1BhTJbBuOO/7yf5ZOLo13uQWUmEiOzhMy =+3cF -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Carlos E. R. composed on 2017-03-11 02:44 (UTC+0100):
Felix Miata wrote:
No, no.
Grub has the functionality in grub2-once.
And systemd has it in bootcycle.service and grub2-once.service.
Have you tried them? What does having them mean, that the piece that's missing would have to be supplied by upstream KDE? Is more than just one piece missing? -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2017-03-11 02:59, Felix Miata wrote:
No, I haven't tried because I don't need them. But I happen know that the grub2 tools do work, they are used for hibernation. Thus it is KDE* which is at fault here. - -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREIAAYFAljDXboACgkQja8UbcUWM1y3bAD/eALOEHfj0bEepZ+9cCmTvu+f k7eioEpH1ce/pucCfJEA+wT8fspr9UK/DTUqUMoe8ERKbQ994fnz0+GeUm4M9icu =nZpM -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am Samstag, 11. März 2017, 02:44:12 schrieb Carlos E. R.:
And systemd has it in bootcycle.service and grub2-once.service.
Wrong. That's the exact opposite. grub2-once.service *unsets* the boot entry on boot, which was necessary in previous versions on btrfs because grub2 couldn't reset it itself, and that's still the case for LVM I think (but I'm not sure). It doesn't allow to *boot* a specific entry. Kind Regards, Wolfgang -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2017-03-11 14:27, Wolfgang Bauer wrote:
Yes, it is the reset, thus something else will set it. - -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREIAAYFAljD/bAACgkQja8UbcUWM1xd6QD/X2W7LVR5xhaTnbbXZLVQ7lff x0/cVA54pqkCaT36J/cA/2YaGl7uML1lm9vbTGnhAR8me0oENK9LVmwyr06dlJ13 =eZ0C -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am Samstag, 11. März 2017, 14:37:52 schrieb Carlos E. R.:
Yes, it is the reset, thus something else will set it.
The tools grub2-once and grub2-reboot. And (as you actually wrote previously) a hibernate script (/usr/lib/systemd/system-sleep/grub2.sleep) sets a boot entry too (it just calls grub2-once to do so) to prevent booting a different OS when resuming. Kind Regards, Wolfgang -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am Freitag, 10. März 2017, 20:07:55 schrieb Felix Miata:
Did the functionality get lost by Plasma, or by Grub2?
Grub2 has not lost this functionality. Grub2 does support choosing an entry for the next boot (since ever it is in openSUSE AFAIR), it offers the tools grub2-once and grub2-reboot for that. It is Plasma that doesn't offer a menu to select the boot entry any more. But as I wrote, that functionality was/is in KDM actually, and it does still work fine (on the KDM login screen). And KDM does not only support grub2, but also grub(1) and lilo. For grub2 it actually does only call grub2-reboot (as KDM's backend runs as root, it can do that). But again, KDM has been dropped upstream 2 years ago. Plasma5 has no specific support for KDM therefore, and it wouldn't work with other DMs anyway. Btw, it is possible to call KDM's functions via kdmctl, and in theory it should also be possible to instruct it to boot a specific boot menu entry (as user!) via something like "kdmctl shutdown reboot = boot_entry". But I haven't gotten to work this here in a quick test (it keeps saying "noent no such boot option" whatever I try). Kind Regards, Wolfgang -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am Freitag, 10. März 2017, 21:05:49 CET schrieb James Knott:
Click on the "Shutdown" icon in the bottom *right* corner. You'll find a restart option there that will allow you to choose which grub2 entry to boot. That feature is exclusive to kdm though, sddm does *not* have that, and I don't think any other DM. Kind Regards, Wolfgang -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 03/10/2017 05:37 PM, Wolfgang Bauer wrote:
Click on the "Shutdown" icon in the bottom *right* corner. You'll find a restart option there that will allow you to choose which grub2 entry to boot.
While shutdown is there, with the downward "arrow", there is no boot selection there. I had looked at that earlier. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
I've made screenshot with KDM for other old dicussion about this: http://susepaste.org/16569954 James Knott писал 2017-03-11 12:04:
Am Freitag, 10. März 2017, 22:04:33 schrieb James Knott:
Are you using grub2 or something else? You need to set which boot loader is used in kdm's config. See the BootManager option in /usr/share/kde4/config/kdm/kdmrc. Grub2 is the default in openSUSE. It works fine here on 42.2 with grub2, both on KDM's greeter and in Plasma1/KDE4 (which I have installed here alongside Plasma5, compiled myself). Kind Regards, Wolfgang -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (8)
-
Axel Braun
-
Carlos E. R.
-
Felix Miata
-
James Knott
-
Konstantin Voinov
-
Roman Bysh
-
Simon Lees
-
Wolfgang Bauer