[opensuse] root in extended partition (42.3)
Leap 423 upgraded from 422. Old drive has been in use probably since 10x. Bios. Generic code is in the MBR. I have 423 / in an extended partition. Grub2 is in 423 /. All was good. I used Yast2-bootloader module to change an option (boot loader password, if it matters). I then exited normally (OK) and yast rewrote/reinstalled the bootloader. Next boot failed at a blinking cursor. I booted with Parted Magic and found that Yast had set the extended partition itself as the boot partition, rather than / which was 2 or 3 partitions deep into the extended. I fixed that and rebooted normally. I went into Yast2-bootloader and Boot Loader Location was still correctly set there as Boot from Root Partition, even though that is not what it apparently wrote to the bootloader. So, my question is, is this expected behaviour? I don't remember this happening in previous releases. Thanks. Ralph -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
27.09.2017 06:01, listreader пишет:
Leap 423 upgraded from 422. Old drive has been in use probably since 10x. Bios. Generic code is in the MBR. I have 423 / in an extended partition. Grub2 is in 423 /. All was good.
I used Yast2-bootloader module to change an option (boot loader password, if it matters). I then exited normally (OK) and yast rewrote/reinstalled the bootloader.
I would not expect it to reinstall bootloader at this point - just to rewrite grub.cfg.
Next boot failed at a blinking cursor.
I booted with Parted Magic and found that Yast had set the extended partition itself as the boot partition, rather than / which was 2 or 3 partitions deep into the extended. I fixed that and rebooted normally. I went into Yast2-bootloader and Boot Loader Location was still correctly set there as Boot from Root Partition, even though that is not what it apparently wrote to the bootloader.
So, my question is, is this expected behaviour?
I say, not. Either YaST should not allow you to select logical partition at all, or it should not silently use different partition. Open bug report. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2017-09-27 05:27, Andrei Borzenkov wrote:
27.09.2017 06:01, listreader пишет:
Leap 423 upgraded from 422. Old drive has been in use probably since 10x. Bios. Generic code is in the MBR. I have 423 / in an extended partition. Grub2 is in 423 /. All was good.
I used Yast2-bootloader module to change an option (boot loader password, if it matters). I then exited normally (OK) and yast rewrote/reinstalled the bootloader.
I would not expect it to reinstall bootloader at this point - just to rewrite grub.cfg.
No, it writes it all. I did the following the other day: I partitioned and formatted new SSD disk. I copied "/", "/usr, and "/boot" to the appropiate places in SSD by using "rsync". I did not manually install grub. Instead I booted this new partition from another partition in the computer (os-probe added an entry), then started yast bootloader module. Here I just touched one thing: the number of wait seconds. As result, grub was installed appropriately and the partition could now boot on its own. Another method is to chroot the new partition, and then run yast in text mode to do it. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)
On Wed, 27 Sep 2017 06:27:16 +0300 Andrei Borzenkov <arvidjaar@gmail.com> wrote:
I booted with Parted Magic and found that Yast had set the extended partition itself as the boot partition, rather than / which was 2 or 3 partitions deep into the extended. I fixed that and rebooted normally. I went into Yast2-bootloader and Boot Loader Location was still correctly set there as Boot from Root Partition, even though that is not what it apparently wrote to the bootloader.
So, my question is, is this expected behaviour?
I say, not. Either YaST should not allow you to select logical partition at all, or it should not silently use different partition. Open bug report.
Thanks for the reply. I'll file a bug on it next day or two. Ralph -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thu, 28 Sep 2017 03:50:41 -0500 listreader <suselist@cableone.net> wrote:
On Wed, 27 Sep 2017 06:27:16 +0300 Andrei Borzenkov <arvidjaar@gmail.com> wrote:
So, my question is, is this expected behaviour?
I say, not. Either YaST should not allow you to select logical partition at all, or it should not silently use different partition. Open bug report.
Thanks for the reply. I'll file a bug on it next day or two.
My "next day or two" turned into a little longer :-/ https://bugzilla.opensuse.org/show_bug.cgi?id=1062187 Ralph -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Andrei Borzenkov
-
Carlos E. R.
-
listreader