[Bug 355010] New: yast2 repair "restore mbr" not working.
https://bugzilla.novell.com/show_bug.cgi?id=355010 Summary: yast2 repair "restore mbr" not working. Product: openSUSE 11.0 Version: unspecified Platform: x86 OS/Version: openSUSE 11.0 Status: NEW Severity: Major Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: casualprogrammer@yahoo.com QAContact: jsrain@novell.com CC: mkoenig@novell.com, crrodriguez@novell.com Depends on: 350540 Found By: Beta-Customer When running "yast2 repair" and selecting "restore mbr" a message box is displayed, stating "Error.Can't restore MBR. No saved MBR found. After clicking OK, another message box pops up: An error occured during initrd creation. Kernel image: /boot/vmlinuz-2.6.24-rc3-git1-3-default Initrd image: /boot/initrd-2.6.24-rc3-git1-3-default Root device: /dev/disk/by-id/scsi-SATA_FUJITSU_MHV2080_NW78T662BLKF-part4 (/dev/sda4) (mounted on / as ext3) Kernel Modules: processor thermal scsi_mod libata ahci ata_piix fan jbd mbcache ext3 edd sd_mod usbcore ohci-hcd uhci-hcd ehci-hcd ff-memless hid usbhid Features: block usb resume.userspace resume.kernel Bootsplash: SuSE (1024x768), SuSE (800x600) 18748 blocks Kernel image: /boot/vmlinuz-2.6.24-rc3-git1-3-default Initrd image: /boot/initrd-2.6.24-rc3-git1-3-default /lib/mkinitrd/setup/11-storage.sh: line 270: /dev/fd/62: No such file or directory node name not found /dev/sda4: error opening volume Root device (/dev/sda4) not found ReadPartitions(): Failed to open dir /sys/block at /usr/lib/perl5/vendor_perl/5.8.8/Bootloader/Tools.pm line 258. Kernel image: /boot/vmlinuz-2.6.24-rc3-git1-3-default Initrd image: /boot/initrd-2.6.24-rc3-git1-3-default /lib/mkinitrd/setup/11-storage.sh: line 270: /dev/fd/62: No such file or directory node name not found /dev/sda4: error opening volume Root device (/dev/sda4) not found ReadPartitions(): Failed to open dir /sys/block at /usr/lib/perl5/vendor_perl/5.8.8/Bootloader/Tools.pm line 258. Kernel image: /boot/vmlinuz-2.6.24-rc3-git1-3-default Initrd image: /boot/initrd-2.6.24-rc3-git1-3-default /lib/mkinitrd/setup/11-storage.sh: line 270: /dev/fd/62: No such file or directory node name not found /dev/sda4: error opening volume Root device (/dev/sda4) not found ReadPartitions(): Failed to open dir /sys/block at /usr/lib/perl5/vendor_perl/5.8.8/Bootloader/Tools.pm line 258. Kernel image: /boot/vmlinuz-2.6.24-rc3-git1-3-default Initrd image: /boot/initrd-2.6.24-rc3-git1-3-default /lib/mkinitrd/setup/11-storage.sh: line 270: /dev/fd/62: No such file or directory node name not found /dev/sda4: error opening volume Root device (/dev/sda4) not found ReadPartitions(): Failed to open dir /sys/block at /usr/lib/perl5/vendor_perl/5.8.8/Bootloader/Tools.pm line 258. Kernel image: /boot/vmlinuz-2.6.24-rc3-git1-3-default Initrd image: /boot/initrd-2.6.24-rc3-git1-3-default /lib/mkinitrd/setup/11-storage.sh: line 270: /dev/fd/62: No such file or directory node name not found /dev/sda4: error opening volume Root device (/dev/sda4) not found ReadPartitions(): Failed to open dir /sys/block at /usr/lib/perl5/vendor_perl/5.8.8/Bootloader/Tools.pm line 258. Kernel image: /boot/vmlinuz-2.6.24-rc7-git5-2-default Initrd image: /boot/initrd-2.6.24-rc7-git5-2-default /lib/mkinitrd/setup/11-storage.sh: line 270: /dev/fd/62: No such file or directory node name not found /dev/sda4: error opening volume Root device (/dev/sda4) not found Constant subroutine main::LC_CTYPE redefined at /usr/lib/perl5/5.10.0/Exporter.pm line 66. at /sbin/update-bootloader line 7 Prototype mismatch: sub main::LC_CTYPE () vs none at /usr/lib/perl5/5.10.0/Exporter.pm line 66. at /sbin/update-bootloader line 7 Constant subroutine main::LC_NUMERIC redefined at /usr/lib/perl5/5.10.0/Exporter.pm line 66. at /sbin/update-bootloader line 7 Prototype mismatch: sub main::LC_NUMERIC () vs none at /usr/lib/perl5/5.10.0/Exporter.pm line 66. at /sbin/update-bootloader line 7 Constant subroutine main::LC_TIME redefined at /usr/lib/perl5/5.10.0/Exporter.pm line 66. at /sbin/update-bootloader line 7 Prototype mismatch: sub main::LC_TIME () vs none at /usr/lib/perl5/5.10.0/Exporter.pm line 66. at /sbin/update-bootloader line 7 Constant subroutine main::LC_COLLATE redefined at /usr/lib/perl5/5.10.0/Exporter.pm line 66. at /sbin/update-bootloader line 7 Prototype mismatch: sub main::LC_COLLATE () vs none at /usr/lib/perl5/5.10.0/Exporter.pm line 66. at /sbin/update-bootloader line 7 Constant subroutine main::LC_MONETARY redefined at /usr/lib/perl5/5.10.0/Exporter.pm line 66. at /sbin/update-bootloader line 7 Prototype mismatch: sub main::LC_MONETARY () vs none at /usr/lib/perl5/5.10.0/Exporter.pm line 66. at /sbin/update-bootloader line 7 Constant subroutine main::LC_MESSAGES redefined at /usr/lib/perl5/5.10.0/Exporter.pm line 66. at /sbin/update-bootloader line 7 Prototype mismatch: sub main::LC_MESSAGES () vs none at /usr/lib/perl5/5.10.0/Exporter.pm line 66. at /sbin/update-bootloader line 7 Constant subroutine main::LC_ALL redefined at /usr/lib/perl5/5.10.0/Exporter.pm line 66. at /sbin/update-bootloader line 7 Prototype mismatch: sub main::LC_ALL () vs none at /usr/lib/perl5/5.10.0/Exporter.pm line 66. at /sbin/update-bootloader line 7 ReadPartitions(): Failed to open dir /sys/block at /usr/lib/perl5/vendor_perl/5.10.0/Bootloader/Tools.pm line 258. Kernel image: /boot/vmlinuz-2.6.24-rc8-git1-2-default Initrd image: /boot/initrd-2.6.24-rc8-git1-2-default cp: cannot stat `/usr/lib/libdirect-1.0.so.0': No such file or directory cp: cannot stat `/usr/lib/libdirectfb-1.0.so.0': No such file or directory cp: cannot stat `/usr/lib/libfusion-1.0.so.0': No such file or directory /lib/mkinitrd/setup/11-storage.sh: line 270: /dev/fd/62: No such file or directory node name not found /dev/sda4: error opening volume Root device (/dev/sda4) not found Constant subroutine main::LC_CTYPE redefined at /usr/lib/perl5/5.10.0/Exporter.pm line 66. at /sbin/update-bootloader line 7 Prototype mismatch: sub main::LC_CTYPE () vs none at /usr/lib/perl5/5.10.0/Exporter.pm line 66. at /sbin/update-bootloader line 7 Constant subroutine main::LC_NUMERIC redefined at /usr/lib/perl5/5.10.0/Exporter.pm line 66. at /sbin/update-bootloader line 7 Prototype mismatch: sub main::LC_NUMERIC () vs none at /usr/lib/perl5/5.10.0/Exporter.pm line 66. at /sbin/update-bootloader line 7 Constant subroutine main::LC_TIME redefined at /usr/lib/perl5/5.10.0/Exporter.pm line 66. at /sbin/update-bootloader line 7 Prototype mismatch: sub main::LC_TIME () vs none at /usr/lib/perl5/5.10.0/Exporter.pm line 66. at /sbin/update-bootloader line 7 Constant subroutine main::LC_COLLATE redefined at /usr/lib/perl5/5.10.0/Exporter.pm line 66. at /sbin/update-bootloader line 7 Prototype mismatch: sub main::LC_COLLATE () vs none at /usr/lib/perl5/5.10.0/Exporter.pm line 66. at /sbin/update-bootloader line 7 Constant subroutine main::LC_MONETARY redefined at /usr/lib/perl5/5.10.0/Exporter.pm line 66. at /sbin/update-bootloader line 7 Prototype mismatch: sub main::LC_MONETARY () vs none at /usr/lib/perl5/5.10.0/Exporter.pm line 66. at /sbin/update-bootloader line 7 Constant subroutine main::LC_MESSAGES redefined at /usr/lib/perl5/5.10.0/Exporter.pm line 66. at /sbin/update-bootloader line 7 Prototype mismatch: sub main::LC_MESSAGES () vs none at /usr/lib/perl5/5.10.0/Exporter.pm line 66. at /sbin/update-bootloader line 7 Constant subroutine main::LC_ALL redefined at /usr/lib/perl5/5.10.0/Exporter.pm line 66. at /sbin/update-bootloader line 7 Prototype mismatch: sub main::LC_ALL () vs none at /usr/lib/perl5/5.10.0/Exporter.pm line 66. at /sbin/update-bootloader line 7 ReadPartitions(): Failed to open dir /sys/block at /usr/lib/perl5/vendor_perl/5.10.0/Bootloader/Tools.pm line 258. Notebook: Fujitsu Siemens Amilo Si 1520 Graphics: Fujitsu Siemens Mobile 945GM/GMS/GME, 943/940GML Express Monitor: QUANTADISPLAY LCD Monitor 1280x800@60Hz Wireless: Intel PRO/Wireless 3945ABG Network Connection Sound: 82801G (ICH7 Family) High Definition Audio Controller Desktop: gnome2-SuSE-10.3-141 YaST GUI: yast2-qt-2.16.17-5 OS: openSUSE 11.0 (i586) Alpha1 VERSION = 11.0 Kernel: 2.6.24-rc8-git1-2-default rpm -qa | grep repair | sort yast2-repair-2.16.3-5 -- 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=355010 User casualprogrammer@yahoo.com added comment https://bugzilla.novell.com/show_bug.cgi?id=355010#c1 --- Comment #1 from Casual J. Programmer <casualprogrammer@yahoo.com> 2008-01-20 16:36:27 MST --- ls /boot backup_mbr boot config-2.6.24-rc8-git1-2-default grub initrd initrd-2.6.24-rc8-git1-2-default message perl-BL_delayed_exec symsets-2.6.24-rc8-git1-2-debug.tar.gz symsets-2.6.24-rc8-git1-2-default.tar.gz symsets-2.6.24-rc8-git1-2-pae.tar.gz symsets-2.6.24-rc8-git1-2-xenpae.tar.gz symsets-2.6.24-rc8-git1-2-xen.tar.gz symtypes-2.6.24-rc8-git1-2-default.gz symvers-2.6.24-rc8-git1-2-default.gz System.map-2.6.24-rc8-git1-2-default vmlinux-2.6.24-rc8-git1-2-default.gz vmlinuz vmlinuz-2.6.24-rc8-git1-2-default -- 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=355010 User casualprogrammer@yahoo.com added comment https://bugzilla.novell.com/show_bug.cgi?id=355010#c2 --- Comment #2 from Casual J. Programmer <casualprogrammer@yahoo.com> 2008-01-20 16:37:06 MST --- Created an attachment (id=191127) --> (https://bugzilla.novell.com/attachment.cgi?id=191127) Screenshot of the situation -- 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=355010 User casualprogrammer@yahoo.com added comment https://bugzilla.novell.com/show_bug.cgi?id=355010#c3 --- Comment #3 from Casual J. Programmer <casualprogrammer@yahoo.com> 2008-01-20 16:38:48 MST --- Created an attachment (id=191128) --> (https://bugzilla.novell.com/attachment.cgi?id=191128) yast2logs -- 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=355010 User casualprogrammer@yahoo.com added comment https://bugzilla.novell.com/show_bug.cgi?id=355010#c4 --- Comment #4 from Casual J. Programmer <casualprogrammer@yahoo.com> 2008-01-20 16:41:55 MST --- Yet another message box appeared, stating: Error occured while installing GRUB GNU GRUB version 0.97 (640K lower / 3072K upper memory) [ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ] grub> setup --stage2=/boot/grub/stage2 (hd0,3) (hd0,3) Error 21: Selected disk does not exist grub> quit -- 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=355010 Bug 355010 depends on bug 350540, which changed state. Bug 350540 Summary: yast2 repair "repair file system" not working. https://bugzilla.novell.com/show_bug.cgi?id=350540 What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |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=355010 User casualprogrammer@yahoo.com added comment https://bugzilla.novell.com/show_bug.cgi?id=355010#c5 Casual J. Programmer <casualprogrammer@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |jsrain@novell.com --- Comment #5 from Casual J. Programmer <casualprogrammer@yahoo.com> 2008-01-21 02:48:51 MST --- Not sure whether this really depends on Bug 350540, or the dependency is just a result of my using Bug 350540 as template. Please 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=355010 User jsrain@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=355010#c6 Jiri Srain <jsrain@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|jsrain@novell.com | --- Comment #6 from Jiri Srain <jsrain@novell.com> 2008-01-21 04:14:26 MST --- This one looks to me like a seriously broken system (just after having a look at all the errors above). I don't think that these bugs are related. -- 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=355010 User casualprogrammer@yahoo.com added comment https://bugzilla.novell.com/show_bug.cgi?id=355010#c7 --- Comment #7 from Casual J. Programmer <casualprogrammer@yahoo.com> 2008-01-21 04:57:31 MST --- Probably you should know: System Disk is 80GB SATA Drive /dev/sda or (hd0), it has 4 primary partitions /dev/sda1 (hd0,0) Windows XP, bootable, /dev/sda2 (hd0,1) Windows XP, bootable, /dev/sda3 (hd0,2) Linux Swap and /dev/sda4 (hd0,3) openSuSE11.0a1 bootable. The boot sequence is setup by openSuSE during install and goes from MBR ( GRUB stage 1 ) of /sda to MBR ( GRUB stage 2 ) of /sda4 then controlled by /boot/grub/menu.lst. Works flawlessly for me except when I happen to wipe out an MBR by accident. This is actually what happened: I was setting up a few USB sticks as bootable rescue devices with Clonezilla and accidentally syslinux grabbed the MBR of /dev/sda4. Hence my desire to use yast2 repair. It did not work for me from the alpha1 DVD, so I booted using my GRUB boot disk and tried it from the mounted system. No go. What helped me was using the rescue system from the DVD, mount /dev/sda4 and grub-install.unsupported /dev/sda4. ( grub-install does not work from rescue, it seems to miss yast2 as helper. ) As far as yast2 repair from the DVD is concerned, the system is clean. Only if expressly asking for MBR restore, GRUB boot sector restore or menu.lst editing the problems show up. -- 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=355010 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |jsuchome@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=355010 User jsuchome@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=355010#c8 Jiří Suchomel <jsuchome@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|jsuchome@novell.com |juhliarik@novell.com --- Comment #8 from Jiří Suchomel <jsuchome@novell.com> 2008-01-22 01:24:39 MST --- This is a yast2-bootloader action, not yast2-repair. -- 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=355010 User casualprogrammer@yahoo.com added comment https://bugzilla.novell.com/show_bug.cgi?id=355010#c9 --- Comment #9 from Casual J. Programmer <casualprogrammer@yahoo.com> 2008-01-22 02:48:59 MST --- If you say so :-) I think I got there via the yast2 repair somehow. -- 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=355010 User juhliarik@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=355010#c10 --- Comment #10 from Jozef Uhliarik <juhliarik@novell.com> 2008-03-31 05:32:06 MST --- *** Bug 372235 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=372235 -- 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=355010 User tomaszmk@wp.pl added comment https://bugzilla.novell.com/show_bug.cgi?id=355010#c11 tom k <tomaszmk@wp.pl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomaszmk@wp.pl --- Comment #11 from tom k <tomaszmk@wp.pl> 2008-04-25 00:36:32 MST --- I had similar problem when was trying to reinstall GRUB fron DVD (expert tools, install new bootloader). First got a message "no package source defined", then like above: An error occured during initrd creation Root device (/dev/sda4) not found ReadPartitions(): Failed to open dir /sys/block at /usr/lib/perl5/vendor_perl/5.10.0/Bootloader/Tools.pm line 280 Error occured while installing GRUB Error 21: Selected disk does not exist -- 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=355010 User juhliarik@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=355010#c12 Jozef Uhliarik <juhliarik@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --- Comment #12 from Jozef Uhliarik <juhliarik@novell.com> 2008-06-03 05:41:40 MDT --- IMO if there is not found any saved MBR. It is not possible restore it. It is correct scenario. Problem with initrd is solved in yast2-repair-2.16.12. It should be in RC2. I did test for "restore MBR" and it works. -- 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=355010 User casualprogrammer@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=355010#c13 --- Comment #13 from Casual J. Programmer <casualprogrammer@gmail.com> 2008-06-03 10:33:57 MDT --- Hmmm.. sure it's not possible to restore something that's not there, but somehow I lived under the impression that a copy is saved during installation. -- 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