https://bugzilla.novell.com/show_bug.cgi?id=208870
Summary: Bad grub location selected Product: openSUSE 10.2 Version: Alpha 4 Platform: 64bit OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Installation AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: hugo.costelha@gmail.com QAContact: jsrain@novell.com
I had SUSE Linux 10.1 installed, and I was trying openSUSE 10.2, to help improving it by bug reporting.
I had just one SATA drive installed with SUSE 10.1, so I installed an IDE hard-drive and started openSUSE 10.2 installation from the CDs.
Initially openSUSE 10.2 sugested to use the SATA drive, so I changed it to use the IDE drive, and proceeded with the install.
When it made the first reboot, the old (SUSE 10.1) GRUB appeared (with no reference to openSUSE 10.2) and booted the 10.1. So, the grub install location was badly selected.
https://bugzilla.novell.com/show_bug.cgi?id=208870
------- Comment #1 from hugo.costelha@gmail.com 2006-09-28 14:22 MST ------- Created an attachment (id=99877) --> (https://bugzilla.novell.com/attachment.cgi?id=99877&action=view) YAST log files
The YAST log files contains a lot more stuff, since I only saved the log a couple of days after the installation was concluded.
https://bugzilla.novell.com/show_bug.cgi?id=208870
cthiel@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |odabrunz@novell.com |screening@forge.provo.novell| |.com |
https://bugzilla.novell.com/show_bug.cgi?id=208870
------- Comment #2 from hugo.costelha@gmail.com 2006-10-10 13:57 MST ------- Still exactly the same behaviour with Alfa 5.
https://bugzilla.novell.com/show_bug.cgi?id=208870
------- Comment #3 from hugo.costelha@gmail.com 2006-11-10 15:26 MST ------- Still the same with Beta2.
I do not know if it helps, but it seems that openSUSE thinks that the first Disk is the IDE instead of the SATA one.
One of the strange things that happens is that booting without the boot cd, and booting from the boot CD with "Boot from Disk" selction, is not the same.
When I boot directly from disk it boots from the SATA, giving me the SUSE 10.1 installed grub. Booting from the CD choosing "Boot from harddisk" boots from the IDE giving me the 10.2 installed grub.
https://bugzilla.novell.com/show_bug.cgi?id=208870
hugo.costelha@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|Alpha 4 |Beta 2
https://bugzilla.novell.com/show_bug.cgi?id=208870
------- Comment #4 from hugo.costelha@gmail.com 2006-11-10 15:31 MST ------- This time I even tryed different grub locations, but it seemed that it didn't make any difference (almost like they were ignored completely).
https://bugzilla.novell.com/show_bug.cgi?id=208870
------- Comment #5 from hugo.costelha@gmail.com 2006-11-16 07:43 MST ------- To day I tryed installing directly from factory to a laptop, and result was really bad.
Installing on a laptop with an empty hardrive resulted in an invalid grub location. I started the installation and went for lunch, and when I cam back, the installation had stopped because the laptop wasn't able to boot from disk when it rebooted during installation.
https://bugzilla.novell.com/show_bug.cgi?id=208870
hugo.costelha@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Blocker OS/Version|Other |Linux
------- Comment #6 from hugo.costelha@gmail.com 2006-11-16 09:00 MST ------- Changin to blocker, as the default grub installation on a "new" empty computer leads to a unbootable system, meaning that openSUSE would not work, and would not even complete its installation procedure.
https://bugzilla.novell.com/show_bug.cgi?id=208870
------- Comment #7 from stefan.fent@novell.com 2006-11-16 11:10 MST ------- I assume you have only one disk in your Laptop, so we're talking about two different things here: Comment #1-4: This is known and worked on. (Will be fixed in next version)
Comment #5-6: Can you please provide the logs for this (obviously) different machine? /var/log/YaST2/* /boot/grub/[device.map, menu.lst], /etc/grub.conf And the laptop type, as this seems to be somehow special.
https://bugzilla.novell.com/show_bug.cgi?id=208870
hugo.costelha@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |hugo.costelha@gmail.com
------- Comment #8 from hugo.costelha@gmail.com 2006-11-16 11:14 MST ------- Yeah, the first cases were reported on a two disk desktop, while this last one was on a NEC versa FS900, a centrino laptop with an IDE disk.
In this later case I got openSUSE 10.2 beta2plus installed by starting the rescue system and doing
# mount /dev/hda2 /mnt # grub-install --root-directory=/mnt /dev/hda # umount /mnt # reboot
This way I was able to get grub to appear on boot, and continue with the installation.
I do not know if doind what I did changed the files you mentioned, but nevertheless, I will post them here soon.
https://bugzilla.novell.com/show_bug.cgi?id=208870
------- Comment #9 from stefan.fent@novell.com 2006-11-16 11:30 MST ------- No, probably nothing is changed - which makes it even more mysterious.
https://bugzilla.novell.com/show_bug.cgi?id=208870
hugo.costelha@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED
------- Comment #10 from hugo.costelha@gmail.com 2006-11-16 11:37 MST ------- Created an attachment (id=105821) --> (https://bugzilla.novell.com/attachment.cgi?id=105821&action=view) The laptop attachements asked for
Well, in the meantime, as I said, I did a few things to try to get GRUB working, including running the Repair from the install CD.
If you think a new install would help you better, just say so (in that case tell me if I should do some "grub erase" or something)
https://bugzilla.novell.com/show_bug.cgi?id=208870
------- Comment #11 from hugo.costelha@gmail.com 2006-11-16 12:37 MST ------- Created an attachment (id=105848) --> (https://bugzilla.novell.com/attachment.cgi?id=105848&action=view) grub orignal related files
I decided to try again just to make sure, and the result was the same wrong one, I get "no operating system" on boot during the installation, so the install does not complete.
Now I am sending the original "untouched" grub files et al.
https://bugzilla.novell.com/show_bug.cgi?id=208870
------- Comment #12 from hugo.costelha@gmail.com 2006-11-16 12:41 MST ------- What I said in comment #8 is really all I have to do to get the bootloader working.
https://bugzilla.novell.com/show_bug.cgi?id=208870
stefan.fent@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED
------- Comment #13 from stefan.fent@novell.com 2006-11-17 01:57 MST ------- Ok, so you stumble across a bug in Beta2 that is fixed in beta2plus: the /etc/grub.conf was wrong, which was fixed by gub-install.
Closing this bug will be working in RC1.
https://bugzilla.novell.com/show_bug.cgi?id=208870
------- Comment #14 from hugo.costelha@gmail.com 2006-11-23 15:58 MST ------- Well, I do not know if this is enough to reopen the bug report, but openSUSE 10.2 RC1 still chooses a bad location for the grub.
It still thinks that the first disk is the /dev/hda, while in fact it is the /dev/sda. Is there a way to correct this detection? (if yes, then this should be reopened)
https://bugzilla.novell.com/show_bug.cgi?id=208870
------- Comment #15 from hugo.costelha@gmail.com 2006-11-23 16:06 MST ------- Damm, and no matter what, I cannot get openSUSE 10.2 to repair and install a correct bootloader. I used exactly the same options of my SUSE 10.1 install (which is the one in /dev/sda) and the result is not the same.
Basically I have ---> SUSE 10.1 /dev/sda1 swap /dev/sda2 / /dev/sda3 /home ---> openSUSE 10.2 /dev/hda1 swap /dev/hda2 / /dev/hda3 /home
I tryed to install the bootloader (from YaST) in /dev/sda2, which is the one that SUSE 10.1 uses, but it still allways boot usinf the 10.1 grub install.
https://bugzilla.novell.com/show_bug.cgi?id=208870
hugo.costelha@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |
------- Comment #16 from hugo.costelha@gmail.com 2006-12-08 09:56 MST ------- Not that the final version is out, I tought it was time to update my main installation from SUSE 10.1 to openSUSE 10.2...I was wrong.
It seems that this bug was not solved yet, so now, after the installation was finished, I get a "No Operating System" when I turn on my computer.
Since I cannot boot the newly installed system, I imagined I could try to reapair it by starting from the CD, but I cannot! I even unpluged my IDE disk (remaining just the SATA one, which is the main disk), but I get "Error 21: Selected disk does not exist".
I will keep trying different things, but I sure think this should be fixed. This is completely a showstopper for someone new to Linux, something that would make him go away for good.
https://bugzilla.novell.com/show_bug.cgi?id=208870
hugo.costelha@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|Beta 2 |Final
https://bugzilla.novell.com/show_bug.cgi?id=208870
------- Comment #17 from hugo.costelha@gmail.com 2006-12-08 10:01 MST ------- Just to make it clear, I am talking about my desktop, the AMD64 which has a SATA disk (the first disk device) and the IDE disk.
https://bugzilla.novell.com/show_bug.cgi?id=208870
------- Comment #18 from greg.riedesel@wwu.edu 2006-12-08 16:38 MST ------- I had a similar problem, though it might source differently. https://bugzilla.novell.com/show_bug.cgi?id=227324 I also had SATA drives as my HDs. No idea if this qualifies as a duplicate of this one, though.
https://bugzilla.novell.com/show_bug.cgi?id=208870
stefan.fent@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO Info Provider| |hugo.costelha@gmail.com
------- Comment #19 from stefan.fent@novell.com 2006-12-10 06:00 MST ------- Can you please add the contents of /var/log/YaST2/ (bzipped2) and /boot/grub/device.map/
https://bugzilla.novell.com/show_bug.cgi?id=208870
------- Comment #20 from hugo.costelha@gmail.com 2006-12-10 10:16 MST ------- Created an attachment (id=109017) --> (https://bugzilla.novell.com/attachment.cgi?id=109017&action=view) YaST Log files
In the meantime, I disconnected my IDE drive, thus keeping only my SATA drive, and performed an update from the installation CD (I actually just updated the kernel). This way I was able to get the system properly installed and working fine. Then I replugged my IDE and know everything is working.
SO clearly the problem is that when my IDE driver is connected, SUSE thinks it is the first drive, while in the computer bios the SATA drive is the first one my default.
https://bugzilla.novell.com/show_bug.cgi?id=208870
hugo.costelha@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED
------- Comment #21 from hugo.costelha@gmail.com 2006-12-10 10:18 MST ------- Created an attachment (id=109018) --> (https://bugzilla.novell.com/attachment.cgi?id=109018&action=view) The requested (grub) device.map
Once again I remember you that I disconnect my IDE drive for the instalation to work, so the files might be different from what original was there, when I tryed to install having both drives connected.
https://bugzilla.novell.com/show_bug.cgi?id=208870
stefan.fent@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |hugo.costelha@gmail.com
------- Comment #22 from stefan.fent@novell.com 2006-12-18 11:55 MST ------- The logs don't help much then. :-( I guess that the BIOS IDs get mixed up somehow, but I needed logs to prove and to debug.
Do you have the possibility to install via ssh? Then you could just start the installation, wait until the proposal is done and scp /var/log/YaST2 somewhere. (w/o having to reinstall everything)
https://bugzilla.novell.com/show_bug.cgi?id=208870
------- Comment #23 from hugo.costelha@gmail.com 2006-12-18 11:59 MST ------- Could you give me a pointer has to how can I do it through ssh?
I cannot promise I will do this fast, since this wee is xmas and I am quite busy, but I will try it as soon as possible.
https://bugzilla.novell.com/show_bug.cgi?id=208870
------- Comment #24 from stefan.fent@novell.com 2006-12-18 13:20 MST ------- you need an dhcp server, then just enter 'usessh=1 sshpassword=<password>' at the isolinux prompt, then after kernel and initrd are loaded, you'll get the address and the command to start on the console. then you can just ssh -X root@<ip-address> and start yast.
https://bugzilla.novell.com/show_bug.cgi?id=208870
hugo.costelha@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Info Provider|hugo.costelha@gmail.com | Resolution| |LATER
------- Comment #25 from hugo.costelha@gmail.com 2007-01-03 07:47 MST ------- I am currenlty with very short time, specially considering that other people are now using the computer also.
When the first SUSE 10.3 alpha gets out, I will try and report back.
If someone crosses this problem, as a fix you can swithc the boot order on the bios, or disconnect the IDE drive during installation.
https://bugzilla.novell.com/show_bug.cgi?id=208870
User jplack@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=208870#c26
Joachim Plack jplack@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jplack@novell.com AssignedTo|odabrunz@novell.com |jplack@novell.com
--- Comment #26 from Joachim Plack jplack@novell.com 2008-03-19 22:19:47 MST --- reevaluate bug for SLE11
https://bugzilla.novell.com/show_bug.cgi?id=208870
User jplack@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=208870#c27
Joachim Plack jplack@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|LATER |
--- Comment #27 from Joachim Plack jplack@novell.com 2008-03-19 22:21:31 MST --- see above
https://bugzilla.novell.com/show_bug.cgi?id=208870
User jplack@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=208870#c28
Joachim Plack jplack@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|Blocker |Major Status|REOPENED |ASSIGNED Component|Installation |Installation Product|openSUSE 10.2 |openSUSE 11.0 Version|Final |Factory
--- Comment #28 from Joachim Plack jplack@novell.com 2008-03-20 07:17:52 MST --- At a glance unclear what the remaining problem is: - may be something around BIOS disk reordering
Should be rechecked in openSUSE factory. No blocker btw.
https://bugzilla.novell.com/show_bug.cgi?id=208870
Stanislav Visnovsky visnov@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |visnov@novell.com Component|Installation |Booting
https://bugzilla.novell.com/show_bug.cgi?id=208870
User jplack@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=208870#c29
Joachim Plack jplack@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|jplack@novell.com |juhliarik@novell.com Status|ASSIGNED |NEW
--- Comment #29 from Joachim Plack jplack@novell.com 2008-07-15 05:21:54 MDT --- assign to yast2-bootloader maintainer
https://bugzilla.novell.com/show_bug.cgi?id=208870
User hugo.costelha@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=208870#c30
--- Comment #30 from Hugo Costelha hugo.costelha@gmail.com 2008-07-15 06:15:50 MDT --- If I am the only one which had this problem, then it is probably better to just close it, and lead your efforst elsewehere, since switching the disk order in the bios solves the problem.
I haven't tested it with openSUSE 11.0, since during the installation I already had the disks in the order (which prevented the problem in the previous versions).
https://bugzilla.novell.com/show_bug.cgi?id=208870
User juhliarik@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=208870#c31
Jozef Uhliarik juhliarik@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX
--- Comment #31 from Jozef Uhliarik juhliarik@novell.com 2008-07-27 10:49:49 MDT --- yast2-bootloader uses yast2-storage for obtaining info about disks. The ordering is depend on bios_id (0x80 - the first, 0x81 - the seconf, etc.) I am sorry I use only ordering by bios_id from yast2-storage.