Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a clean system that has no operating system on it. I ran fdisk and erased all partitions so that I could configure them while installing SUSE 10.2. However I got the Grub error 22 error message. I even created one large partition for the entire hd and got the same message. Then I formatted the drive just to see if that would help, and it didn't. I still get the grub error 22 message when booting from the 1st installation disk.
I can boot from Knoppix so I know my hardware is working. What should I do next? This is my first time ever trying to install Linux. Most people with this message posting are dual boot, but I am not. So what should I do?
Error 22 usually indicates that GRUB is looking on the wrong partition. Then again, if that happened even with a snigle partition, this cannot be the problem. What kind of disk are we talking about: SATA or PATA? Any more disks in that computer, anything else that could have influence on disk numbering (such as a USB stick, optical drives, ...)?
22 : "Must load Multiboot kernel before modules"
This error is returned if the module load command is used before loading a Multiboot kernel. It only makes sense in this case anyway, as GRUB has no idea how to communicate the presence of location of such modules to a non-Multiboot-aware kernel.
Error 22 usually indicates that GRUB is looking on the wrong partition. Then again, if that happened even with a snigle partition, this cannot be the problem. What kind of disk are we talking about: SATA or PATA? Any more disks in that computer, anything else that could have influence on disk numbering (such as a USB stick, optical drives, ...)?
I only have a CDROM drive in the computer, no other hard drives. Both the CDROM and the hard drive show up in the bios and work when I boot with Knoppix. Theseate SATA drives. I do not have any USB flash drives in the machine.
Should I try the installation with the hard drive formatted? Should I fdisk and erase all paritions?
What was on the disk before your used fdisk? The error 22 system is known to come up when a linux partition is not only formatted but deleted. Any chance you had a linux distro on there before you ran fdisk? And did you use linux fdisk or ms fdisk?
If you're booting the CD, it shouldn't even try the disk MBR. The fact that Knoppix works shows how it should happen. From Knoppix, do this from a terminal to erase the loader code in the disk MBR (might need root)
This is what I was thinking - most others have solved this by cleaning mbr by their favorite method. eg. Sure - you can invoke grub-install (man grub-install). Of course syg00's suggestion will fill the mbr with zeros... possibly better.
When i entered:
dd if=/dev/zero of=/dev/sda count=446 bs=1
I get the message
dd if=/dev/zero of=/dev/sda count=446 bs=1
Sorry to be so remedial. I am great with Windows but suck at Lunix so far.
What was on the disk before your used fdisk? The error 22 system is known to come up when a linux partition is not only formatted but deleted. Any chance you had a linux distro on there before you ran fdisk? And did you use linux fdisk or ms fdisk?
I used ms fdisk. I have tried with an unpartitioned hard drive, a partitioned but unformatted hard drive, and a partitioned fat32 formatted hard drive.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.