Bug 619837 - Boot fails after installation using autoyast on raid-1
Summary: Boot fails after installation using autoyast on raid-1
Status: RESOLVED DUPLICATE of bug 626132
Alias: None
Product: openSUSE 11.3
Classification: openSUSE
Component: AutoYaST (show other bugs)
Version: RC 2
Hardware: x86-64 openSUSE 11.3
: P2 - High : Major (vote)
Target Milestone: ---
Assignee: Josef Reidinger
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-05 07:45 UTC by Peter Pointner
Modified: 2010-10-05 15:07 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
menu.lst and y2log after installation, rules and classes directories (355.92 KB, application/x-compressed-tar)
2010-07-05 07:45 UTC, Peter Pointner
Details
Y2logs (582.22 KB, application/x-gzip)
2010-07-05 22:19 UTC, Forgotten User wVahB7imRu
Details
menu.lst with incorrect root (1.22 KB, text/plain)
2010-07-05 22:23 UTC, Forgotten User wVahB7imRu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Pointner 2010-07-05 07:45:15 UTC
Created attachment 373734 [details]
menu.lst and y2log after installation, rules and classes directories

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100317 SUSE/3.5.9-0.1.1 Firefox/3.5.9

I use autoyast to create 3 raid-1 sets for /, swap and /data. The file /boot/grub/menu.lst contains bad lines like
  kernel (hd0,681)/boot/vmlinuz...
where the 681 seems to be a random number. The system will boot after editing with grub to (hd0,0) for kernel and initrd (and maybe replacing resume=... with noresume, I am not yet sure with that).


Reproducible: Always
Comment 1 Forgotten User wVahB7imRu 2010-07-05 22:19:37 UTC
Created attachment 373823 [details]
Y2logs
Comment 2 Forgotten User wVahB7imRu 2010-07-05 22:23:39 UTC
Created attachment 373825 [details]
menu.lst with incorrect root

Has (hd0,5) as root device.  Should be (hd0,0). Also, should the kernel root path read "root=/dev/md0" as in previous installs like 11.2?
Comment 3 Forgotten User wVahB7imRu 2010-07-05 22:25:23 UTC
I hit this one too. Seems like this issue re-appears every other release. In my case, the root device was set for (hd0,5) when it should have been (hd0,0). My files are attached. Please ask if you need additional info.
Comment 4 Forgotten User wVahB7imRu 2010-07-07 09:38:24 UTC
I performed another install and found that the boot setup on the installation summary screen is incorrect. There are two lines that read

Boot from MBR enabled. 'disable'
Boot from / is disabled. 'enable'

If I enable "boot from /" the installation succeeds and grub is set up correctly. This should be enabled by default.
Comment 5 Jozef Uhliarik 2010-07-14 10:00:33 UTC
It seems that there is problem with perl-Bootloader and detection of "/" partition. Josef please check it.
Comment 6 Peter Pointner 2010-07-19 08:19:18 UTC
The problem seems to go away when I define a <bootloader> section in my autoyast control files. menu.lst then contains a separate line root (hd0,0), and the kernel line has no hd() part.

I need the bootloader section anyway, so for me, this part of the problem seems solved.
Comment 7 Peter Pointner 2010-07-19 09:19:40 UTC
I have to correct my previous post, maybe it was just luck. Another test gave me a menu.lst with "kernel (hd 0,3)/boot ...", should have been (hd 0,0).

The same file contains "root (hd0,0)" for the section defined in the xml file, which is correct.
Comment 8 Josef Reidinger 2010-10-05 15:07:25 UTC
Hi, it is related to combination of software raid, 11.3 and persistent device names. It is already fixed in update channel and should not appear in 11.4 (C) :)

*** This bug has been marked as a duplicate of bug 626132 ***