[Bug 228290] New: Yast2 Xen virtual machine installation ends up with "Error 2: Bad file or directory type" when installing GRUB
https://bugzilla.novell.com/show_bug.cgi?id=228290 Summary: Yast2 Xen virtual machine installation ends up with "Error 2: Bad file or directory type" when installing GRUB Product: openSUSE 10.2 Version: Final Platform: x86-64 OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: aleksander.adamowski.novell@altkom.pl QAContact: jsrain@novell.com I'm trying to install a new Xen virtual machine using Yast2 on openSuSe 10.2 final on a x86_64 machine. All goes well until after package installation it comes to GRUB installation. When trying to install GRUB, the following error occurs: ┌────────────────────┐ Finishing Basic Installation ┌───────────────────────────────────────────────────────────────────────────┐ │ Error occurred 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 possi││ ││ completions of a device/filename. ] ││ ││grub> setup --stage2=/boot/grub/stage2 (hd0,0) (hd0,0) ││ ││ Checking if "/boot/grub/stage1" exists... no ││ ││ Checking if "/grub/stage1" exists... no ││ ││ ││ ││Error 2: Bad file or directory type ││ ││grub> quit ┴│ │└├───────────────────────────────────────────────────────────────────┤────┘│ │ [OK] │ └───────────────────────────────────────────────────────────────────────────┘ │ └────────────────────┘ [Back] [Abort] [Next] According to GRUB docs (http://www.gnu.org/software/grub/manual/html_node/Stage2-errors.html): 2 : Bad file or directory type This error is returned if a file requested is not a regular file, but something like a symbolic link, directory, or FIFO. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=228290 ------- Comment #1 from aleksander.adamowski.novell@altkom.pl 2006-12-13 09:44 MST ------- What's interesting, when I went back from bootloader installation, the installer got straight to installed system reboot stage, and it has succeeded, so GRUB apparently was set up. I changed the installation location to MBR, though, before hitting "back". Hitting "Finish" was still givine the "Bad file or directory type" at that moment. So the precise sequence of steps for me was: 1) messed with some additional bootloader settings (debug mode, generic boot code) 2) tried "Finish", got the "Bad file or directory type" error 3) undone the changes to the settings 4) changed boot loader location to MBR 5) tried "Finish", got the "Bad file or directory type" error 6) chose "start from scratch" 7) after noticing that all entries were cleared, hit "Back" in hope of trying entering boot loader setup again 8) after hitting "Back", got the "reboot installed system" stage, no way to enter GRUB setup again 9) rebooted the virual machine - GRUB worked fine. I didn't have the time to test whether GRUB would boot like this without changing anything during its setup. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=228290 mhorvath@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |duwe@novell.com |screening@forge.provo.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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=228290 mhorvath@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |aleksander.adamowski.novell@altkom.pl ------- Comment #3 from mhorvath@novell.com 2007-01-24 03:04 MST ------- I'm sorry for the delay. Could you please attach your yast logs (http://en.opensuse.org/Bugs/YaST), the /var/log/messages from the installation and your xen configuration? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=228290 aleksander.adamowski.novell@altkom.pl changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Info Provider|aleksander.adamowski.novell@| |altkom.pl | Resolution| |INVALID ------- Comment #4 from aleksander.adamowski.novell@altkom.pl 2007-02-08 08:47 MST ------- Unfortunately I'm unable to reproduce the problem again - regardless of boot manager settings. It seems the problem was temporary - sorry for the spam. -- 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, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com