[Bug 461320] New: boot failed after making Windows default in grub by YaST bootloader
https://bugzilla.novell.com/show_bug.cgi?id=461320 Summary: boot failed after making Windows default in grub by YaST bootloader Product: openSUSE 11.1 Version: Final Platform: x86-64 OS/Version: openSUSE 11.1 Status: NEW Severity: Critical Priority: P5 - None Component: Bootloader AssignedTo: jsrain@novell.com ReportedBy: cba014@web.de QAContact: jsrain@novell.com Found By: --- Created an attachment (id=261665) --> (https://bugzilla.novell.com/attachment.cgi?id=261665) save_y2logs Installation was OK. Booting Windows and openSUSE worked. I changed the default boot entry from openSUSE to Windows by YaST/bootloader. No error message. But booting failed afterwards because BIOS found no bootable device. One of the problems: 2008-12-21 09:05:13 <1> linux-1mhi(3998) [YCP] bootloader/grub/misc.ycp:399 Running command /usr/sbin/parted -s /dev/sda set 3 boot on which sets boot flag on the extended partition: linux-1mhi:/home/ansgar # cat /var/log/YaST2/disk_sda-1 Device: /dev/sda Major: 8 Minor: 0 Range: 16 Cylinder: 7783 Head: 255 Sector: 63 Label: msdos MaxPrimary: 4 ExtPossible: 1 MaxLogical: 15 SizeK: 62522712 Partition: 1 /dev/sda1 120456 8 1 0 15 de primary Partition: 2 /dev/sda2 29302560 8 2 15 3648 7 primary Partition: 3 /dev/sda3 33093900 8 3 3663 4120 f extended boot Partition: 5 /dev/sda5 2104483 8 5 3663 262 82 logical Partition: 6 /dev/sda6 30989353 8 6 3925 3858 83 logical I tried several things to repair the system: booting rescue and change the boot flag did not help. Boot repairing system: YaST found an error but after repairing it found it again. Eventually I managed to boot openSUSE from disk. Then I tried YaST bootloader again. I editing the config file there, but YaST did not do the right thing again. The solution for me was: editing the config files by hand and running grub-install. linux-1mhi:/home/ansgar # grub-install 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 --force-lba (hd0) (hd0,5) Checking if "/boot/grub/stage1" exists... yes Checking if "/boot/grub/stage2" exists... yes Checking if "/boot/grub/e2fs_stage1_5" exists... yes Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 17 sectors are embedded. succeeded Running "install --force-lba --stage2=/boot/grub/stage2 /boot/grub/stage1 (hd0) (hd0)1+17 p (hd0,5)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded Done. 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=461320 User frerk.meyer@edeka.de added comment https://bugzilla.novell.com/show_bug.cgi?id=461320#c1 Frerk Meyer <frerk.meyer@edeka.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |frerk.meyer@edeka.de --- Comment #1 from Frerk Meyer <frerk.meyer@edeka.de> 2008-12-23 10:09:32 MST --- same as 445900, i needed to change the boot flags manually with fdisk, extended partition was bootable, not the linux logical partition inside. -- 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=461320 User frerk.meyer@gmx.de added comment https://bugzilla.novell.com/show_bug.cgi?id=461320#c2 Frerk Meyer <frerk.meyer@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #2 from Frerk Meyer <frerk.meyer@gmx.de> 2008-12-30 02:08:39 MST --- *** This bug has been marked as a duplicate of bug 445900 *** https://bugzilla.novell.com/show_bug.cgi?id=445900 -- 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