[Bug 717321] New: Broken Grub boot menu - Wrong disk destination in menu.lst
https://bugzilla.novell.com/show_bug.cgi?id=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c0 Summary: Broken Grub boot menu - Wrong disk destination in menu.lst Classification: openSUSE Product: openSUSE 12.1 Version: Milestone 5 Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Bootloader AssignedTo: jsrain@suse.com ReportedBy: terje@nordland-teknikk.no QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20100101 Firefox/6.0.2 On an Asus M4A89 GTD Pro/USB3 based machine with scsi and sata disks I had on beforehand properly installed and working in dualboot openSUSE Tumbleweed/Gnome x86_64 installed on /dev/sda1 openSUSE 11.4/Gnome x86_64 installed on /dev/sdc3 1. First I tried a 12.1 M5 Update installation from NET-DVD on the 11.4/sdc3 system disk. This resulted in a broken grub boot menu that didn't work and returned the following error message: Kernel (hd0,2)/boot/vmlinuz-3.0.0-4-desktop root=/dev/sdc3 .... Error 22: No such partition 2. Afterwards I also tried a 12.1 M5/Gnome3 New Installation, and got the same error. 3. Doing a Rescue logon and mounting /dev/sdc3, the first sections of the /boot/grub/menu.lst contained: ------------- # Modified by YaST2. Last modification on lø. sep. 10 18:01:39 CEST 2011 # THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader # Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader default 0 timeout 8 gfxmenu (hd2,2)/boot/message ###Don't change this comment - YaST2 identifier: Original name: linux### title Desktop -- openSUSE 12.1 Milestone 5 - 3.0.0-4 kernel (hd0,2)/boot/vmlinuz-3.0.0-4-desktop root=/dev/sdc3 resume=/dev/disk/by-id/scsi-200e09e0000baec4c-part1 splash=silent quiet showopts vga=0x31a initrd (hd0,2)/boot/initrd-3.0.0-4-desktop ----------- That is, while fxmenu points to the right disk (hd2,2), both the kernel line and initrd line have got wrong disk designation (hd0,2) and the same errors occure in the Failsafe section not showed here. This is a new bug in 12.1, as both 11.4 and Tumbleweed have worked correct. Reproducible: Always Steps to Reproduce: 1. Update and New Installation on /dev/sdc3 as described above 2. 3. Actual Results: Broken Grub boot menu, Error 22 Expected Results: Should install and create correct disk destination as openSUSE 11.4 and Tumbleweed did on the same machine. -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c1 Jiri Srain <jsrain@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |terje@nordland-teknikk.no AssignedTo|jsrain@suse.com |snwint@suse.com --- Comment #1 from Jiri Srain <jsrain@suse.com> 2011-09-15 12:41:26 UTC --- Could you, please, attach the installation logs? -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c2 Terje J. Hanssen <terje@nordland-teknikk.no> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|terje@nordland-teknikk.no | --- Comment #2 from Terje J. Hanssen <terje@nordland-teknikk.no> 2011-09-15 15:45:58 UTC --- Created an attachment (id=451026) --> (http://bugzilla.novell.com/attachment.cgi?id=451026) /var/log/YaST2/* -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c3 --- Comment #3 from Steffen Winterfeldt <snwint@suse.com> 2011-09-16 08:45:33 CEST --- Created an attachment (id=451134) --> (http://bugzilla.novell.com/attachment.cgi?id=451134) driver update with fixed perl-Bootloader Could you test with the attached driverupdate? To use it, put it somewhere and point the 'dud' boot option to it. For example: 'dud=ftp://some_server/foo'. Please watch the console messages to make sure the driverupdate was applied. -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c Steffen Winterfeldt <snwint@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |terje@nordland-teknikk.no -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c4 --- Comment #4 from Terje J. Hanssen <terje@nordland-teknikk.no> 2011-09-19 10:36:56 UTC --- As this bug was generated from the installation media (DVD iso), I have no idea how I'm able to test the driver update. As I use a rewriteable DVD+RW disk, I can possibly update packages there and retry with a installatio update. Though, I had hoped to wait with the next installation until also the Gnome3 desktop works on my hardware https://bugzilla.novell.com/show_bug.cgi?id=717377#c Could you possibly explain what to do and and how to test this? -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c5 --- Comment #5 from Steffen Winterfeldt <snwint@suse.com> 2011-09-19 13:27:03 CEST --- If you don't have a network, you can put the update on an usb stick and use something like dud=disk:/foo_update. -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c6 --- Comment #6 from Terje J. Hanssen <terje@nordland-teknikk.no> 2011-09-21 21:46:22 UTC --- I've never tried a driver update disk before, so I'm sorry this still goes a little over my head. I have currently no usb stick available. What I have is a local rewriteable CD/DVD/BD-device. Beside I have some network connection through the ADS router (modem) between two home machines, that is I can use ssh and sftp from the actual machine to logon by ip-address to the other openSUSE mobile workstation *). I have downloaed the file bug-717321_bl10 in my home directory on the latter. So if we can continue from here, I can try to follow detailed instructions further ;) I think the command option should be entered on the first installation screen after first booting from the installation DVD (?) ;) But what is the purpose, is it to test a full new installation on the first machine again to see if the disk destination will be right in menu.lst? *) Note I've also installed 12.1 on the mobile workstation which has several distributions installed in multiboot, but on the same physical single disk partioned as required. On this machine the disk destionations became correct in menu.lst. But what I had to do on this machine to get the installation program running, was to enter 'nomodeset' option on the first boot screen. -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c7 Steffen Winterfeldt <snwint@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEEDINFO |ASSIGNED InfoProvider|terje@nordland-teknikk.no | Severity|Critical |Normal --- Comment #7 from Steffen Winterfeldt <snwint@suse.com> 2011-09-22 15:30:21 CEST --- never mind; I've been able to reproduce the issue -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c8 Steffen Winterfeldt <snwint@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 - Medium |P1 - Urgent CC| |bwiedemann@suse.com, | |snwint@suse.com AssignedTo|snwint@suse.com |jsuchome@suse.com Severity|Normal |Major --- Comment #8 from Steffen Winterfeldt <snwint@suse.com> 2011-09-22 16:04:06 CEST --- It's actually an udev related issue. Latest udev stores its data in /run. So, when yast prepares it's install target it needs not only to bind mount /dev, /proc, and /sys, but also /run. This might also affect sle11-sp2, haven't checked yet. Jiri, is that your area? -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c9 Jiří Suchomel <jsuchome@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |locilka@suse.com --- Comment #9 from Jiří Suchomel <jsuchome@suse.com> 2011-09-22 14:15:20 UTC --- Well, probably yes, but I'm not sure where. It's faster to ask: Lukas, where is this done? -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c10 Lukas Ocilka <locilka@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED CC| |locilka@suse.com, | |ug@suse.com InfoProvider|locilka@suse.com | --- Comment #10 from Lukas Ocilka <locilka@suse.com> 2011-09-22 14:27:00 UTC --- It's "$something --bind", which means: clients/bootloader_finish.ycp: mount -v --bind /dev ${targetdir}/dev clients/bootloader_finish.ycp: y2milestone ("mount --bind cmd: %1", cmd); clients/bootloader_finish.ycp: y2milestone ("mount --bind /dev /mnt/dev output: %1", out); clients/inst_prepdisk.ycp: + "mount -v --bind /dev '" + String::Quote(Storage::PathToDestdir("/dev")) + "'"; clients/inst_kickoff.ycp: "/bin/rm -rf '%1/dev/' && /bin/mkdir -p '%1/dev/' && /bin/mount -v --bind '/dev/' '%1/dev/'", include/autoinstall/io.ycp: string cmd = "mount -v --bind `grep "+cdrom_device+" /proc/mounts |cut -f 2 -d \\ ` "+mount_point+";"; I'd say clients/inst_kickoff.ycp for the update process but also clients/bootloader_finish.ycp for storing the bootloader configuration and also clients/inst_prepdisk.ycp for the installation IMO worth creating a simple library (or include file) and calling it from all the other places. Uwe, you might be interested as well. Also please adjust list <string> umount_these = ["/proc", "/sys", "/dev"]; in clients/umount_finish.ycp -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c11 --- Comment #11 from Jiří Suchomel <jsuchome@suse.com> 2011-09-22 14:46:36 UTC --- (In reply to comment #10)
Also please adjust list <string> umount_these = ["/proc", "/sys", "/dev"]; in clients/umount_finish.ycp
Well, this one is the only clearly understandable place. But for others: bootloader_finish.ycp is part of yast2-bootloader, inst_prepdisk.ycp part of yast2-storage and inst_kickoff.ycp part of yast2-packager. Don't we really have a common place where that bind-mounting is done together? -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c12 --- Comment #12 from Jiří Suchomel <jsuchome@suse.com> 2011-09-23 06:35:46 UTC --- Created an attachment (id=452662) --> (http://bugzilla.novell.com/attachment.cgi?id=452662) patch for inst_storage.ycp Well, disk preparation seems to be correct place for these mounts. Thomas, what do you think about this patch? -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c13 Jiří Suchomel <jsuchome@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO CC| |fehr@suse.com InfoProvider| |snwint@suse.com --- Comment #13 from Jiří Suchomel <jsuchome@suse.com> 2011-09-23 06:38:21 UTC --- Adding Thomas to CC (storage code). Steffen, could you test the patch during installation? (I could, but I do not know how to verify it helps) -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c14 Jiří Suchomel <jsuchome@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #452662|0 |1 is obsolete| | --- Comment #14 from Jiří Suchomel <jsuchome@suse.com> 2011-09-23 06:39:49 UTC --- Created an attachment (id=452668) --> (http://bugzilla.novell.com/attachment.cgi?id=452668) corrected patch for /usr/share/YaST2/clients/inst_prepdisk.ycp -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c15 --- Comment #15 from Steffen Winterfeldt <snwint@suse.com> 2011-09-23 08:44:39 CEST --- Do you have a complete package? -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c16 --- Comment #16 from Jiří Suchomel <jsuchome@suse.com> 2011-09-23 07:08:39 UTC --- (In reply to comment #15)
Do you have a complete package?
https://build.opensuse.org/package/show?package=yast2-storage&project=home%3Ajsuchome and yast2-installation for unmounting: https://build.opensuse.org/package/show?package=yast2-installation&project=home%3Ajsuchome -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c17 Steffen Winterfeldt <snwint@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|snwint@suse.com | --- Comment #17 from Steffen Winterfeldt <snwint@suse.com> 2011-09-23 10:18:59 CEST --- no, does not work. /run is not mounted -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c19 Jiří Suchomel <jsuchome@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |fehr@suse.com --- Comment #19 from Jiří Suchomel <jsuchome@suse.com> 2011-09-23 08:26:05 UTC --- y2log: cmd mount -v --bind /run '/mnt/run' mount: mount point /mnt/run does not exist Does the directory need to be created before? Thomas, can you check the patch? -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c20 --- Comment #20 from Steffen Winterfeldt <snwint@suse.com> 2011-09-23 10:26:38 CEST --- I think it's this one: 2011-09-23 10:13:41 <1> d146.suse.de(10147) [YCP] clients/inst_prepdisk.ycp:84 cmd mkdir -vp '/mnt/dev'; cp --preserve=all --recursive --remove-destination /lib/udev/devices/* '/mnt/dev'; mount -v --bind /dev '/mnt/dev' 2011-09-23 10:13:41 <1> d146.suse.de(10147) [YCP] clients/inst_prepdisk.ycp:86 ret $["exit":0, "stderr":"", "stdout":"/dev on /mnt/dev type none (rw,bind)\n"] 2011-09-23 10:13:41 <1> d146.suse.de(10147) [YCP] clients/inst_prepdisk.ycp:93 cmd mount -v --bind /run '/mnt/run' 2011-09-23 10:13:41 <3> d146.suse.de(10147) [bash] ShellCommand.cc(shellcommand):78 mount: mount point /mnt/run does not exist 2011-09-23 10:13:41 <1> d146.suse.de(10147) [YCP] clients/inst_prepdisk.ycp:95 ret $["exit":32, "stderr":"mount: mount point /mnt/run does not exist\n", "stdout":""] 2011-09-23 10:13:41 <1> d146.suse.de(10147) [YCP] clients/inst_prepdisk.ycp:109 END of inst_prepdisk.ycp -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c21 --- Comment #21 from Jiří Suchomel <jsuchome@suse.com> 2011-09-23 08:37:25 UTC --- Would this be correct? cmd = "mkdir -vp '" + String::Quote(Storage::PathToDestdir("/run")) + "'; " + "mount -v --bind /run'" + String::Quote(Storage::PathToDestdir("/run")) + "'"; -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c23 Arvin Schnell <aschnell@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED CC| |aschnell@suse.com InfoProvider|aschnell@suse.com | --- Comment #23 from Arvin Schnell <aschnell@suse.com> 2011-09-23 10:03:45 UTC --- There's a space missing between /run and '. (BTW reminds me that the String::Quote function is busted to not include the actual quotes.) It should be identical to the cmd that bind-mounts /dev a few lines above (and without the cp). -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c24 Jiří Suchomel <jsuchome@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |snwint@suse.com --- Comment #24 from Jiří Suchomel <jsuchome@suse.com> 2011-09-23 10:29:40 UTC --- Steffen, please test again with new package: https://build.opensuse.org/package/show?package=yast2-storage&project=home%3Ajsuchome -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c25 Steffen Winterfeldt <snwint@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|snwint@suse.com | --- Comment #25 from Steffen Winterfeldt <snwint@suse.com> 2011-09-23 12:54:55 CEST --- yast is hanging somewhere after installing packages and preparing config files. Nothing is unmounted, the gui is gone but it is still running. Same machine as before. -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c26 --- Comment #26 from Jiří Suchomel <jsuchome@suse.com> 2011-09-23 11:08:14 UTC --- 2011-09-23 12:49:01 <3> d146.suse.de(10143) [qt-ui] YQUI.cc(qMessageHandler):744 Client killed. Possibly caused by X server shutdown or crash. Have you killed it? I assume unmounting would be done later, but there wasn't changes. Can you verify that /run was mounted succesfully? It was called with mkdir -vp '/mnt/run'; mount -v --bind /run '/mnt/run Don't we need any special options there? -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c27 --- Comment #27 from Steffen Winterfeldt <snwint@suse.com> 2011-09-23 13:47:10 CEST --- Mounting was ok, and the grub config also correct. The premature ending yast might not be related. I'll check. -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c28 Steffen Winterfeldt <snwint@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #28 from Steffen Winterfeldt <snwint@suse.com> 2011-09-23 14:12:30 CEST --- there's definitely something broken with install finish, but this bug is fixed -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c30 Jiří Suchomel <jsuchome@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #452668|0 |1 is obsolete| | --- Comment #30 from Jiří Suchomel <jsuchome@suse.com> 2011-09-23 12:21:32 UTC --- Created an attachment (id=452756) --> (http://bugzilla.novell.com/attachment.cgi?id=452756) patch for /usr/share/YaST2/clients/inst_prepdisk.ycp Arvin, please include this patch in y2-storage. -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c31 --- Comment #31 from Jiří Suchomel <jsuchome@suse.com> 2011-09-23 12:46:54 UTC --- I've submitted yast2-installation. I'm not sure if other places mentioned in comment 10 need this change too. Steffen: is mounting of /run needed during update? Uwe, what about autoinstallation? -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c32 --- Comment #32 from Steffen Winterfeldt <snwint@suse.com> 2011-09-23 15:16:56 CEST --- We will probably need it in all cases where we mounted /dev, /proc etc. -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c33 --- Comment #33 from Uwe Gansert <ug@suse.com> 2011-09-23 14:59:52 UTC --- in autoyast I do not mount the installed system by myself. The only case that might be affected is when you create an image with the autoyast UI. I need to check that. -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c35 Jiří Suchomel <jsuchome@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |snwint@suse.com --- Comment #35 from Jiří Suchomel <jsuchome@suse.com> 2011-10-05 09:37:33 UTC --- (In reply to comment #32)
We will probably need it in all cases where we mounted /dev, /proc etc.
The other places mentioned in comment 10 only mount /dev, not others parts. What do you, for example think about enhancing bootloader_finish.ycp, which is one of those mentioned? -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c36 Steffen Winterfeldt <snwint@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|snwint@suse.com | --- Comment #36 from Steffen Winterfeldt <snwint@suse.com> 2011-10-07 09:12:03 CEST --- It's needed there. Shouldn't we have a common function for mounting/unmounting those directories? -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c37 Jiří Suchomel <jsuchome@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jsuchome@suse.com, | |lslezak@suse.com AssignedTo|jsuchome@suse.com |snwint@suse.com --- Comment #37 from Jiří Suchomel <jsuchome@suse.com> 2011-10-07 08:53:00 UTC --- OK, so please fix yast2-bootloader. Ladislav, seems like we need it on yast2-packager (inst_kickoff.ycp) too. Look at the patch used for storage, in comment 30. -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c38 --- Comment #38 from Lukas Ocilka <locilka@suse.com> 2011-10-10 07:41:47 UTC --- (In reply to comment #36)
Shouldn't we have a common function for mounting/unmounting those directories?
See comment #10
IMO worth creating a simple library (or include file) and calling it from all the other places.
-- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c39 Craig Rogers <rogers@isi.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rogers@isi.edu --- Comment #39 from Craig Rogers <rogers@isi.edu> 2011-11-18 22:46:43 UTC --- I encountered an apparently identical problem using the openSUSE 12.1 x86_64 DVD image that was released to the public this week. Did the fix discussed above did not make it into the final release? -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c40 --- Comment #40 from Terje J. Hanssen <terje@nordland-teknikk.no> 2011-11-19 10:33:17 UTC --- Yesterday I did a new installation as a reinstallation on the same machine as initial above, using the final 12.1 x86_64 NET iso. The Grub menu now worked correctly in my case. -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c41 --- Comment #41 from Steffen Winterfeldt <snwint@suse.com> 2011-11-21 09:41:06 CET --- Craig, if there's still something wrong with your install, please open a new bug for it and attach yast logs. This issue has been fixed. -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c42 Gilles Sabourin <gilles.sabourin@free.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gilles.sabourin@free.fr --- Comment #42 from Gilles Sabourin <gilles.sabourin@free.fr> 2012-01-02 11:52:32 UTC --- Last 2011-12-29, I performed a network upgrade of my virtual openSUSE 11.4 x86_64 using virtualbox. This upgrade let my virtual machine unbootable. My partition scheme is the simplest one : only one disk, part0 is swap, part1 is root and part2 is home. However, I use LABELED partitions. After doing a rescue logon from NET CD iso, I saw that I was getting wrong menu.lst entries like "root (hd0)" instead of having "root hd(0,1)" Also, old menu entries from openSUSE 11.4 were not removed from menu.lst I am keeping this virtual openSUSE 11.4, so I can easily reproduce it. -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c43 pier andre <pier_andreit@yahoo.it> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pier_andreit@yahoo.it --- Comment #43 from pier andre <pier_andreit@yahoo.it> 2012-02-26 12:34:07 UTC --- install suse linux dual boot on toshiba C660-13Q (bootmgr is missing problem). I faced some problem installing opensuse 12.1 dual booted with windows 7 on this laptop, I solved the problems, and this is to say to developers that opensuse has this "strange" behaviour. I restored windows 7 to factory using the 2 dvd I created before, the result was a three partitioned hard disk /dev/sda1 ntfs SYSTEM flags boot and diagn /dev/sda2 ntfs WINDOWS /dev/sda3 ntfs data I used Gparted in systemrescuecd to modify partitions in this way, /dev/sda1 ntfs SYSTEM flags boot and diagn /dev/sda2 ntfs WINDOWS /dev/sda4 extended /dev/sda5 ext3 SUSE /dev/sda6 ext3 home /dev/sda7 swap /dev/sda8 ext3 dati /dev/sda3 ntfs data I rebooted and windows starts ok after a verification process, I installed opensuse 12.1 and everything went well, at reboot linux boots well. at boot grub shows two windows entry, windows1 and windows2, both gives an error, the windows1 gives this: rootnoverify (hd0,1) chainloader +1 bootmgr is missing ctrl+alt+del to restart I discovered that grub fail to recognize that in this case windows boot from /dev/sda1 and not from /dev/sda2 or /dev/sda3, so to solve the problem you have to boot in linux, go to yast>system>bootloader, select windows1 entry, click on edit, on "other system" choose /dev/sda1, click ok and approve the install of grub, or edit /boot/grub/menu.lst file changing this in windows1 section: ###Don't change this comment - YaST2 identifier: Original name: windows 1### title windows 1 rootnoverify (hd0,0)>>>>>>>>>>>>>>>>>>>>>>>>>>>> change this in (hd0,0) chainloader +1 -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c44 Terje J. Hanssen <terje@nordland-teknikk.no> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Bootloader |Bootloader Version|Milestone 5 |Milestone 3 AssignedTo|snwint@suse.com |jsrain@suse.com Product|openSUSE 12.1 |openSUSE 12.2 --- Comment #44 from Terje J. Hanssen <terje@nordland-teknikk.no> 2012-05-01 20:44:26 UTC --- The same bug appears now also in openSUSE 12.2 Milestone 3 x86_64. I did an upgrade installation using openSUSE 12.2 M3 x86_64 DVD on the /dev/sdc3 with 12.1/Tumbleweed. On beforehand the /boot/grub/menu.lst contained the disk destination (hd2,2) as follows: ###Don't change this comment - YaST2 identifier: Original name: linux### title Desktop -- openSUSE 12.1 - 3.3.3-21 root (hd2,2) kernel /boot/vmlinuz-3.3.3-21-desktop root=/dev/disk/by-id/scsi-200e09e0000baec4c-part3 resume=/dev/disk/by-id/scsi-200e09e0000baec4c-part1 splash=silent quiet showopts vga=0x345 initrd /boot/initrd-3.3.3-21-desktop ###Don't change this comment - YaST2 identifier: Original name: failsafe### title Failsafe -- openSUSE 12.1 - 3.3.3-21 root (hd2,2) kernel /boot/vmlinuz-3.3.3-21-desktop root=/dev/disk/by-id/scsi-200e09e0000baec4c-part3 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x345 initrd /boot/initrd-3.3.3-21-desktop ---------------------- After the 12.2 update installation and startup the the root partition wasn't found. Looking into the new /boot/grub/menu.lst the disk destination had changed to (hd0,2) as follows: ###Don't change this comment - YaST2 identifier: Original name: linux### title Desktop -- openSUSE 12.2 Milestone 2 - 3.3.0-2 kernel (hd0,2)/boot/vmlinuz-3.3.0-2-desktop root=/dev/sdc3 resume=/dev/disk/by-id/scsi-200e09e0000baec4c-part1 splash=silent quiet video=1920x1080 nomodeset showopts vga=0x345 initrd (hd0,2)/boot/initrd-3.3.0-2-desktop ###Don't change this comment - YaST2 identifier: Original name: failsafe### title Failsafe -- openSUSE 12.2 Milestone 2 - 3.3.0-2 kernel (hd0,2)/boot/vmlinuz-3.3.0-2-desktop root=/dev/sdc3 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x345 initrd (hd0,2)/boot/initrd-3.3.0-2-desktop -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c Jiri Srain <jsrain@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|jsrain@suse.com |snwint@suse.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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c45 Steffen Winterfeldt <snwint@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |terje@nordland-teknikk.no --- Comment #45 from Steffen Winterfeldt <snwint@suse.com> 2012-05-02 09:29:24 CEST --- please attach /var/log/YaST2/perl-BL-standalone-log -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c46 Terje J. Hanssen <terje@nordland-teknikk.no> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|terje@nordland-teknikk.no | --- Comment #46 from Terje J. Hanssen <terje@nordland-teknikk.no> 2012-05-02 18:05:35 UTC --- Created an attachment (id=489200) --> (http://bugzilla.novell.com/attachment.cgi?id=489200) /var/log/YaST2/perl-BL-standalone-log -- 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=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c Ihno Krumreich <ihno@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Other |openSUSE 12.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.
participants (1)
-
bugzilla_noreply@novell.com