|
Bugzilla – Full Text Bug Listing |
| Summary: | Bad grub location selected | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.0 | Reporter: | Hugo Costelha <hugo.costelha> |
| Component: | Bootloader | Assignee: | Jozef Uhliarik <juhliarik> |
| Status: | RESOLVED WONTFIX | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Major | ||
| Priority: | P5 - None | CC: | jplack |
| Version: | Factory | ||
| Target Milestone: | --- | ||
| Hardware: | 64bit | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
YAST log files
The laptop attachements asked for grub orignal related files YaST Log files The requested (grub) device.map |
||
|
Description
Hugo Costelha
2006-09-28 20:19:52 UTC
Created attachment 99877 [details]
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.
Still exactly the same behaviour with Alfa 5. 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. This time I even tryed different grub locations, but it seemed that it didn't make any difference (almost like they were ignored completely). 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. 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. 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. 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. No, probably nothing is changed - which makes it even more mysterious. Created attachment 105821 [details]
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)
Created attachment 105848 [details]
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.
What I said in comment #8 is really all I have to do to get the bootloader working. 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. 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) 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. 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. 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. 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. Can you please add the contents of /var/log/YaST2/ (bzipped2) and /boot/grub/device.map/ Created attachment 109017 [details]
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.
Created attachment 109018 [details]
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.
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) 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. 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. 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. reevaluate bug for SLE11 see above 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. assign to yast2-bootloader maintainer 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). 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. |