[Bug 728524] New: yast do not write a correct grub menu.lst and don't allow to manually fix it (other than with vi)
https://bugzilla.novell.com/show_bug.cgi?id=728524 https://bugzilla.novell.com/show_bug.cgi?id=728524#c0 Summary: yast do not write a correct grub menu.lst and don't allow to manually fix it (other than with vi) Classification: openSUSE Product: openSUSE 12.1 Version: RC 2 Platform: i686 OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jdd@dodin.org QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 see also https://bugzilla.novell.com/show_bug.cgi?id=691060 For now a very long time, yast writes on top of any menu.lst entry a line "root (hdX,Y)". The only use I see for this entry is the gfx menu position (that is not that important), because removing it do not prevent grub from booting. The problem is double: * grub have a random way of numbering the hard drives * on 12.1, yast do not follow the grub way (it does in 11.4) Reproducible: Always Steps to Reproduce: 1. 2. 3. my problem was the following (see also http://forums.opensuse.org/forums/english/get-technical-help-here/install-bo...): I had one sata drive (sata 0, boot drive) and one ide drive. I added a new sata drive on sata 1. No kernel problem, the drives where seen as sda (sata 0), sdb (IDE), sdc (sata 1). At first the boot system hanged. When I could boot (tricky - from rescue dvd) 12.1, I noticed the sata 0 drive was now (hd2,X) when it was before hd0 and yast instructed to give a new config still gave hd0. on the same system, 11.4 setted hd2. I want also to notice that it's not possible to verify this setup (the hdX,Y) in yast. This root (hdX,Y) option is not visible in the yast interface. There was long time ago a "edit the config file" in yast, but this option is no more. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=728524 https://bugzilla.novell.com/show_bug.cgi?id=728524#c1 --- Comment #1 from Jean-Daniel Dodin <jdd@dodin.org> 2011-11-05 10:09:55 UTC --- the other lines in grub menu.lst uses drive UID or name and work perfectly the grub map: cat /boot/grub/device.map (hd2) /dev/disk/by-id/ata-ST9160310AS_5SV7PWVK (fd0) /dev/fd0 (hd1) /dev/disk/by-id/ata-SAMSUNG_SP0812C_S01UJ10Y319672 (hd0) /dev/disk/by-id/ata-IC35L120AVV207-0_VNVD06G4D2PX4L the menu.lst entry: title openSUSE 12.1 root (hd2,2) kernel /boot/vmlinuz-3.1.0-1-default root=/dev/disk/by-id/ata-IC35L120AVV207-0_VNVD06G4D2PX4L-part3 splash=silent quiet showopts vga=0x317 initrd /boot/initrd-3.1.0-1-default (initially was root (hd0,2)). The only necessary change is 0<>2 -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=728524 https://bugzilla.novell.com/show_bug.cgi?id=728524#c zj jia <zjjia@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zjjia@suse.com AssignedTo|bnc-team-screening@forge.pr |yast2-maintainers@suse.de |ovo.novell.com | -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=728524 https://bugzilla.novell.com/show_bug.cgi?id=728524#c2 Martin Vidner <mvidner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|yast2-maintainers@suse.de |snwint@suse.com --- Comment #2 from Martin Vidner <mvidner@suse.com> 2011-11-09 16:44:04 CET --- I assume the logs are in bnc#691060 mentioned earlier. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=728524 https://bugzilla.novell.com/show_bug.cgi?id=728524#c3 Steffen Winterfeldt <snwint@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |jdd@dodin.org --- Comment #3 from Steffen Winterfeldt <snwint@suse.com> 2011-11-10 10:39:29 CET --- Actually, no. So, please attach yast logs for this bug.
I want also to notice that it's not possible to verify this setup (the hdX,Y) in yast. This root (hdX,Y) option is not visible in the yast interface. There was long time ago a "edit the config file" in yast, but this option is no more.
That's not true in two ways: 1st, the edit config file option is still there and 2nd, there is a menu that lets you edit the drive assignments ((hd0) <-> /dev/xxx). -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=728524 https://bugzilla.novell.com/show_bug.cgi?id=728524#c4 --- Comment #4 from Jean-Daniel Dodin <jdd@dodin.org> 2011-11-10 16:05:51 UTC --- I beg you pardon, I finally found the edit config menu entry... I have to make more tests to see if such parameters are kept through kernel updates, but I have no access to this computer since 4 days do you have an idea of the use of this parameter? The computer boots as well without it! thanks jdd -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=728524 https://bugzilla.novell.com/show_bug.cgi?id=728524#c5 --- Comment #5 from Steffen Winterfeldt <snwint@suse.com> 2011-11-11 08:40:17 CET ---
do you have an idea of the use of this parameter? The computer boots as well without it!
That depends on your config. It sets the default partition where grub reads files from. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=728524 https://bugzilla.novell.com/show_bug.cgi?id=728524#c6 Jean-Daniel Dodin <jdd@dodin.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|jdd@dodin.org | --- Comment #6 from Jean-Daniel Dodin <jdd@dodin.org> 2011-11-18 16:55:34 UTC --- I see. This is necessary in case of several disks. mystupid anyway seems to work now -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=728524 https://bugzilla.novell.com/show_bug.cgi?id=728524#c7 Jean-Daniel Dodin <jdd@dodin.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |FIXED --- Comment #7 from Jean-Daniel Dodin <jdd@dodin.org> 2011-11-18 16:56:21 UTC --- close -- 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.
participants (1)
-
bugzilla_noreply@novell.com