
My 2 HDDs are partitioned as follows: Device Boot Id System /dev/sda1 83 Linux /dev/sda2 82 Linux swap / Solaris /dev/sda3 83 Linux /dev/sda4 * 5 Extended /dev/sda5 83 Linux /dev/sda6 83 Linux /dev/sda7 83 Linux /dev/sda8 83 Linux /dev/sda9 7 HPFS/NTFS/exFAT Disk /dev/sdb: Device Boot Id System /dev/sdb1 * 7 HPFS/NTFS/exFAT /dev/sdb2 7 HPFS/NTFS/exFAT /dev/sdb3 83 Linux /dev/sdb4 5 Extended /dev/sdb5 83 Linux I am using grub2. On sda1 I have a common bootloader for all OSs installed. On sda3 I have openSUSE 12.2 installed. On sda5 I have openSUSE 12.3 RC2 installed. On sda6 I have Tumbleweed installed. I had kernel 3.8.1 installed on oS 12.2 and also on oS 12.3 RC2. Everything worked fine. This morning I installed kernel 3.8.2-1 on oS 12.2 (sda3) and it everything went well, No hassles. I then installed kernel 3.8.2-1 on oS 12.3 RC2 (sda5) - and now I cannot boot. All the parameters in the bootloader(s) appear to be OK except when I go to boot into "safe mode" in 12.3 (sda5) I get the error message: Invalid Magic number. What the f*** is "Invalid Magic number"?! *WHAT* number?! Of all the lame-brained, inane, stupid, meaningless error messages to have ever existed this one MUST take the cake! I think this beats whatever Windows ever managed to come with - and that's saying something. The use of "Magic Mushrooms" seems most appropriate here for whoever used "Magic number" in an error message. OK, apart from knowing what this "Magic number" may be all about, any ideas of how I can boot into oS 12.3 RC2 (sda5) just to be able to, say, tun YaST2 to get back kernel 3.8.1-2? I've tried using the Recovery mode of RC2 but I don't know how to get this to boot into sda5. I can always re-install RC2 and take it from there but there MUST be a way to recover from something like this. Does anyone know, please, what can be done to 'recover' my oS 12.3 RC2 installation? BC -- Using openSUSE 12.3 x86_64 KDE 4.10.00 & kernel 3.8.2-1 on a system with- AMD FX 8-core 3.6/4.2GHz processor 16GB PC14900/1866MHz Quad Channel Corsair "Vengeance" RAM Gigabyte AMD3+ m/board; Gigabyte nVidia GTX550Ti 1GB DDR5 GPU -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

On Wed, Mar 6, 2013 at 7:07 AM, Basil Chupin wrote:
Magic number dates way way back into the medieval perios of Unix. Originally some variable that was nicknamed "magic number". It now is generally used to reference a valid filetype or filesystem type. There is a fairly comprehensive explanation of it here: http://en.wikipedia.org/wiki/Magic_number_(programming) I don't have a good suggestion for recovery - guessing... something broke when installing the new kernel. vmlinuz is wrong? the new kernel image is invalid? Is it only on 12.3RC2 or all installs? C. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

On 06/03/13 19:30, C wrote:
Thanks, C. I'll read the wikipedia entry later - I've had enough of searching the net for an explanation (but, strangely enough, the wikipedia entry did not turn up; obviously an incorrect search string on my part). And Yes, it is only on the RC2 installation as I mention in my post. Using the Compare File option in mc I did compare vmlinuz between 12.2 and RC2 and they are *identical*. The only file which was different was intird but even after copying over the one for 12.2 over to RC2 the same error msg comes up. The only way I can see out of this is to either- boot into RC2 and re-install the kernel; or re-install RC2 But with RC2 all there and functioning except for the grub2 boot process I would rather not re-install unless absolutely necessary. BC -- Using openSUSE 12.2 x86_64 KDE 4.10.00 & kernel 3.8.2-1 on a system with- AMD FX 8-core 3.6/4.2GHz processor 16GB PC14900/1866MHz Quad Channel Corsair "Vengeance" RAM Gigabyte AMD3+ m/board; Gigabyte nVidia GTX550Ti 1GB DDR5 GPU -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

2013. március 6. 9:51 napon Basil Chupin <blchupin@iinet.net.au> írta: , Basil Chupin <blchupin@iinet.net.au>, "Basil Chupin" <blchupin@iinet.net.au>
Basil: I have never worked with grub2 therefore this even might not be appropriate (I don't know how grub2 works compared to grub(1)). Just an idea: Earlier I had boot problems as well and it turned out that one of the stage images had problems. I had to reinstall grub using grub shell to fix it. (grub stage images are copied from /usr/lib/grub/ to /boot/grub when grub is installed, in case of grub1.) Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

On 06/03/13 20:37, Istvan Gabor wrote:
Thanks for you response. I have found that working with grub2 is as easy as working with grub. But it does require some acclimatisation. But it is NOT as mind-boggling as some people make it out to be.
To begin, using grub2 everything is now "grub2-<somecommand>" :-) . That's the first and the most easiest thing to come to grips with - everything else remains basically the same. I've looked at what you wrote and found that what is in usr/lib/grub2 is NOT totally copied over to /boot/grub2. I don't know what the process is but 50% of the files are copied over and given the date that they were created in /boot/grub2. But, of course, my problem at the moment is that I am unable to boot into 12.3 RC2 (on sda5) to be able to use any of the grub2 commands or to re-install the kernel. I read a few minutes ago that 12.3 is almost ready so I think that I will wait for this and install this. BC -- Using openSUSE 12.2 x86_64 KDE 4.10.00 & kernel 3.8.2-1 on a system with- AMD FX 8-core 3.6/4.2GHz processor 16GB PC14900/1866MHz Quad Channel Corsair "Vengeance" RAM Gigabyte AMD3+ m/board; Gigabyte nVidia GTX550Ti 1GB DDR5 GPU -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 El 2013-03-06 a las 21:40 +1100, Basil Chupin escribió:
May I suggest you ask on the opensuse forum? There are people there with experience on repairing grub2 ;-) - -- Cheers Carlos E. R. (from 11.4, with Evergreen, x86_64 "Celadon" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iF4EAREIAAYFAlE3pd4ACgkQja8UbcUWM1y1swD/ewAKgSP45Ji5S0b9/hEDQ0ps GFyzPIJfEp+En/Ruf9QA/iDRp+YXQNDCe60F2uvwqkpau0K1cPZy9q1P/41Q8Jji =5vEU -----END PGP SIGNATURE-----

On 07/03/13 07:23, Carlos E. R. wrote:
Thanks, Carlos, I may do that. But what I have decided to do is to wait for the Gold to become available and then install that[*]. However, finding out how to repair grub2 "crashes" would be most useful for any future "crashes". [*] I am tracking this Gold every 1/2 day or less now, and assume that it will be first visible here?: http://download.opensuse.org/distribution/ BC -- Using openSUSE 12.2 x86_64 KDE 4.10.00 & kernel 3.8.2-1 on a system with- AMD FX 8-core 3.6/4.2GHz processor 16GB PC14900/1866MHz Quad Channel Corsair "Vengeance" RAM Gigabyte AMD3+ m/board; Gigabyte nVidia GTX550Ti 1GB DDR5 GPU -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

On 2013-03-07 14:30 (GMT+1100) Basil Chupin composed:
what I have decided to do is to wait for the Gold to become available and then install that[*].
While you wait, boot any live media that contains Grub Legacy (I use Knoppix, the granddaddy of live Linux media), then: mount your /boot partition (sda1) to /mnt # cp -a /usr/lib/grub/* (or wherever you find what belongs in /boot/grub) /mnt/boot/grub/ # grub grub> find /boot/grub/stage1 (hd0,0) (hd0,2) (hd0,4) (hd0,5) based upon above output, e.g. (hd0,2) (aka /dev/sda3, your 12.2 /; /dev/sda1, your master /boot) grub> root (hd0,0) grub> setup (hd0,0) quit ensure MBR code is generic (not Grub) ensure only active (aka startable) primary is /dev/sda1 using fdisk or other tool That's all that's actually required, though creating a usable /mnt/boot/grub/menu.lst (if one does not already exist, otherwise edit appropriately) now will ease the next boot. Assuming you don't do menu.lst, then to get into 12.2: reboot grub> find /boot/vmlinuz # ensure what's expected exists grub> find /boot/initrd # ditto, e.g. (hd0,2) grub> kernel (hd0,2)/boot/vmlinuz grub> initrd (hd0,2)/boot/initrd grub> boot You may or may not need to append anything following /boot/vmlinuz, but nothing at all is probably enough to get you going. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 El 2013-03-07 a las 14:30 +1100, Basil Chupin escribió:
On 07/03/13 07:23, Carlos E. R. wrote:
I have seen a link to a howto on how to repair/reinstall grub2 in openSUSE on some posts there. I tried to find it, but failed. I'm not familiar with grub2 myself. I only have grub2 in my test RC2 install, since less than a week ago. - -- Cheers Carlos E. R. (from 11.4, with Evergreen, x86_64 "Celadon" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iF4EAREIAAYFAlE4fPIACgkQja8UbcUWM1zNLgEAhFIhUqj7II9mSPWTVFZpXWsh VXdjY7oZTS575ews0vQBAItruUzcFAOEr3Qhio+SqiGPhXCFZsj7T/pPHBge2Cmw =t5e5 -----END PGP SIGNATURE-----

On 07/03/13 22:41, Carlos E. R. wrote:
Thanks Carlos. As the adjusted Subject header shows, I solved my problem - well, NOT by somehow managing to boot into the RC2 installation but by re-installing RC2 and noting carefully what I was doing. And had I done this earlier I wouldn't have created the "Grub2 hell" for myself :-) . I learnt a few things in during this process :-) . It was all my fault by trying to be too smart and doing things ahead of time - which is what wrecked the system. As a VERY brief explanation, I mentioned that I have a "main" bootloader for ALL OSs installed (as btldr) on sda1, with12.2 installed on sda3, RC2 on sda5 and Tumbleweed on sda6. Well, each of the OSs have their *own* bootloaders installed in their root partitions; and you get *these* bootloaders fixed when you fiddle with the individual OSs *BEFORE* changing anything in the "master" bootloader (btldr) on sda1. I jumped ahead of myself, anticipating what will happen when I fiddled with RC2, and manually with btldr in sda1 - which is why I created the "hell" for myself. There is a correct way of doing things when having multiple systems with a main btldr - and I now what this is :-) . BC -- Using openSUSE 12.2 x86_64 KDE 4.10.1 & kernel 3.8.2-1 on a system with- AMD FX 8-core 3.6/4.2GHz processor 16GB PC14900/1866MHz Quad Channel Corsair "Vengeance" RAM Gigabyte AMD3+ m/board; Gigabyte nVidia GTX550Ti 1GB DDR5 GPU -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 El 2013-03-07 a las 12:41 +0100, Carlos E. R. escribió:
I have seen a link to a howto on how to repair/reinstall grub2 in openSUSE on some posts there. I tried to find it, but failed.
I found it again: <https://forums.opensuse.org/content/128-re-install-grub2-dvd-rescue.html> - -- Cheers Carlos E. R. (from 11.4, with Evergreen, x86_64 "Celadon" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iF4EAREIAAYFAlE+QMQACgkQja8UbcUWM1zI8wD/aNJSNp1NpL7QVBXWu/BIdh12 lDFI0ECDWNlbzEHysBYBAJJjFuOEUJgZ0qzmQK3T7KCReWvsi76md+5W6kzsdjG2 =Ocqu -----END PGP SIGNATURE-----

On 12/03/13 07:38, Carlos E. R. wrote:
Thanks for this link, Carlos, I've put it into my bookmarks. BC -- Using openSUSE 12.3 x86_64 with KDE 4.10.1 & kernel 3.8.2-1 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

On Wed, Mar 6, 2013 at 7:07 AM, Basil Chupin wrote:
Magic number dates way way back into the medieval perios of Unix. Originally some variable that was nicknamed "magic number". It now is generally used to reference a valid filetype or filesystem type. There is a fairly comprehensive explanation of it here: http://en.wikipedia.org/wiki/Magic_number_(programming) I don't have a good suggestion for recovery - guessing... something broke when installing the new kernel. vmlinuz is wrong? the new kernel image is invalid? Is it only on 12.3RC2 or all installs? C. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

On 06/03/13 19:30, C wrote:
Thanks, C. I'll read the wikipedia entry later - I've had enough of searching the net for an explanation (but, strangely enough, the wikipedia entry did not turn up; obviously an incorrect search string on my part). And Yes, it is only on the RC2 installation as I mention in my post. Using the Compare File option in mc I did compare vmlinuz between 12.2 and RC2 and they are *identical*. The only file which was different was intird but even after copying over the one for 12.2 over to RC2 the same error msg comes up. The only way I can see out of this is to either- boot into RC2 and re-install the kernel; or re-install RC2 But with RC2 all there and functioning except for the grub2 boot process I would rather not re-install unless absolutely necessary. BC -- Using openSUSE 12.2 x86_64 KDE 4.10.00 & kernel 3.8.2-1 on a system with- AMD FX 8-core 3.6/4.2GHz processor 16GB PC14900/1866MHz Quad Channel Corsair "Vengeance" RAM Gigabyte AMD3+ m/board; Gigabyte nVidia GTX550Ti 1GB DDR5 GPU -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

2013. március 6. 9:51 napon Basil Chupin <blchupin@iinet.net.au> írta: , Basil Chupin <blchupin@iinet.net.au>, "Basil Chupin" <blchupin@iinet.net.au>
Basil: I have never worked with grub2 therefore this even might not be appropriate (I don't know how grub2 works compared to grub(1)). Just an idea: Earlier I had boot problems as well and it turned out that one of the stage images had problems. I had to reinstall grub using grub shell to fix it. (grub stage images are copied from /usr/lib/grub/ to /boot/grub when grub is installed, in case of grub1.) Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

On 06/03/13 20:37, Istvan Gabor wrote:
Thanks for you response. I have found that working with grub2 is as easy as working with grub. But it does require some acclimatisation. But it is NOT as mind-boggling as some people make it out to be.
To begin, using grub2 everything is now "grub2-<somecommand>" :-) . That's the first and the most easiest thing to come to grips with - everything else remains basically the same. I've looked at what you wrote and found that what is in usr/lib/grub2 is NOT totally copied over to /boot/grub2. I don't know what the process is but 50% of the files are copied over and given the date that they were created in /boot/grub2. But, of course, my problem at the moment is that I am unable to boot into 12.3 RC2 (on sda5) to be able to use any of the grub2 commands or to re-install the kernel. I read a few minutes ago that 12.3 is almost ready so I think that I will wait for this and install this. BC -- Using openSUSE 12.2 x86_64 KDE 4.10.00 & kernel 3.8.2-1 on a system with- AMD FX 8-core 3.6/4.2GHz processor 16GB PC14900/1866MHz Quad Channel Corsair "Vengeance" RAM Gigabyte AMD3+ m/board; Gigabyte nVidia GTX550Ti 1GB DDR5 GPU -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 El 2013-03-06 a las 21:40 +1100, Basil Chupin escribió:
May I suggest you ask on the opensuse forum? There are people there with experience on repairing grub2 ;-) - -- Cheers Carlos E. R. (from 11.4, with Evergreen, x86_64 "Celadon" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iF4EAREIAAYFAlE3pd4ACgkQja8UbcUWM1y1swD/ewAKgSP45Ji5S0b9/hEDQ0ps GFyzPIJfEp+En/Ruf9QA/iDRp+YXQNDCe60F2uvwqkpau0K1cPZy9q1P/41Q8Jji =5vEU -----END PGP SIGNATURE-----

On 07/03/13 07:23, Carlos E. R. wrote:
Thanks, Carlos, I may do that. But what I have decided to do is to wait for the Gold to become available and then install that[*]. However, finding out how to repair grub2 "crashes" would be most useful for any future "crashes". [*] I am tracking this Gold every 1/2 day or less now, and assume that it will be first visible here?: http://download.opensuse.org/distribution/ BC -- Using openSUSE 12.2 x86_64 KDE 4.10.00 & kernel 3.8.2-1 on a system with- AMD FX 8-core 3.6/4.2GHz processor 16GB PC14900/1866MHz Quad Channel Corsair "Vengeance" RAM Gigabyte AMD3+ m/board; Gigabyte nVidia GTX550Ti 1GB DDR5 GPU -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (6)
-
Basil Chupin
-
C
-
Carlos E. R.
-
ellanios82
-
Felix Miata
-
Istvan Gabor