Mailinglist Archive: opensuse-bugs (2150 mails)

< Previous Next >
[Bug 463033] grub not installed when selected target only root on md RAID1 logical

https://bugzilla.novell.com/show_bug.cgi?id=463033

https://bugzilla.novell.com/show_bug.cgi?id=463033#c27


Felix Miata <mrmazda@xxxxxxxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Component|Installation |Installation
Version|Milestone 2 |Final
Resolution|FIXED |
Product|openSUSE 11.3 |openSUSE 13.1
OS/Version|openSUSE 11.3 |openSUSE 13.1

--- Comment #27 from Felix Miata <mrmazda@xxxxxxxxxxxxx> 2014-04-12 15:16:59
EDT ---
(In reply to comment #26)
I think it works meanwhile.

Possibly it's OK with Grub2. I think likely not exactly using Grub Legacy.
Maybe it's good as it can be WRT Grub Legacy though?

I was tired when doing a host big31 13.1 installation from dvd iso late last
night, so have only fuzzy recollection of the details. Except for the ending dd
section of comment 18, this installation went pretty much the same if not
exactly as described there. My best recollection is that nothing improved over
my 11.4 installation last reported here, or the 12.2 installation I never
mentioned here. As Josef mentioned it's still unsupported to install Grub
Legacy to RAID1 /, so still 13.1 has no option available to install to the /
filesystem. I proceeded in spite of the red warning that the bootloader target
selected was not acceptable, and at bootloader installation step got a failure
message as with prior installations.

In spite of having deselected installation to MBR, this is the content of
/etc/grub.conf:

setup --stage2=/boot/grub/stage2 --force-lba (hd0) (hd0)
quit

On the 11.4 system on which I am now writing this, which test host big31 is a
virtual clone of, /etc/grub.conf contains:

setup --stage2=/boot/grub/stage2 --force-lba (hd0,8) (hd0,8)
setup --stage2=/boot/grub/stage2 --force-lba (hd1,8) (hd1,8)
quit

The difference may represent a negative change since I opened this bug. It
seems "Enable Redundancy for MD Array" selection needs to be absent or
disallowed unless MBR is selected first. That might contribute to a usable
/etc/grub.conf being created.

The menu.lst stanzas as written could not boot:

title openSUSE
root (hd0)
kernel /boot/vmlinuz root=/dev/...
initrd /boot/initrd
..

Yet, at first boot I needed only to enter Grub Legacy's edit mode and s/root
(hd0)/root (hd0,8)/ (1/2 of md1) to boot into the newly installed 13.1 system
on md1, which had had 11.0 installed originally, and 12.2 after 11.4 had been
installed to md2 (hd0,9&hd1,9). Prior to installation I booted 11.4 and ran
mkfs.ext4 on the target md1, which means the disk sectors to which Grub had
previously been installed and functional were not disturbed.

Thus it seems this might actually be fixable in the sense that YaST could do
the whole job in a fashion that manual intervention on first boot is
unnecessary. -> reopen as 13.1 until such time as I can configure a system
without Grub having previously been written to the target mdX, solely to try
again with Factory and confirm the rewritten in Ruby YaST hasn't changed
anything materially.

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >