Grub Error 22, deleted partition
Hi, I am new to Linux and I have a big problem already.
My friend installed Knoppix on my hard drive as a partition. I thought he was only giving me the Live CD to try out so when I found out it was installed I deleted the partition through windows xp computer management>disk management feature. If something is going to be installed I didn't want knoppix. When I restarted the computer, I get the Dell Logo followed by GRUB Loading Stage 1.5 GRUB Loading, Please wait... ERROR 22 Other times it will say Floppy diskette seek failure, press F1, and then when you press that, you get the GRUB Error. Dell support cannot help me, I know nothing about Linux. I have a windows reinstallation disk, but it will not recognize it on boot even though I change the boot sequence for cd rom to be 1st. I don't know where else to turn, please help! I understand that I must someone get a windows boot disk and type fixmbr or something, but I am not that well versed in computers. I need further instruction. |
Hello and Welcome to LQ!
Sorry you had such a negative experience with Linux- I hope you won't be prejudiced against it in the future. :) Ok- down to business: You need to get into a windows rescue mode type thing. You can do this with a windows bootdisk, (floppy or cd) you just need to go into the bios and change the boot order to be the floppy/cd first (even take away the hdd as a boot option so it is forced to try hard on the floppy/cd) then, when you are into windows and get to a commandline, type fixmbr. that should be it. titanium_geek |
Re: Grub Error 22, deleted partition
Quote:
Quote:
Do you still have the Knoppix CD, or some other Linux LiveCD ???. If so we can use that to diagnose your situation. |
if you can't get into windows, a possible solution would be to fix grub using a liveCD (such as knoppix) and use that to boot to windows- we are linux whizzes here, I'm afraid, not windows whizzes. That wouldn't be that bad.
http://www.gnu.org/software/grub/man...1_002e5-errors http://www.google.com/search?hl=en&q...=Google+Search titanium_geek |
Quote:
A Linux install had unintended consequences - we'll get it sorted. |
Meaning we are more partial to linux solutions... not that we are TOTALLY clueless about windows. :D
seriously- what possesed you to DELETE the partition? it's not like its a virus or something. titanium_geek |
I deleted it because I wanted a different distro of linux on it and I didn't know how else to get it off =(
I don't have the knoppix disc anymore, I only have some live ubuntu cds. I changed the settings in bios. it simply won't boot from any sort of disc. Dell support are the dumbest people in the universe, i feel like i will never get my computer back. |
also, does anyone know where i can get a windows bootdisk, besides making one because it sounds hard a time consuming. and does a bootdisk actually work, since its not booting from cdrom?
|
Not booting any CD is a different problem.
Try rebooting, and while the "Dell" splash screen is displayed hit the "one time boot menu" key - on mine it's F12. You should be able to select the CD from there. When you get Ubuntu up, issue the following from a terminal (aka command) screen Code:
fdisk -l |
Grin. Don't worry, we all do stupid stuff on our linux boxes (Dont even ASK how many I have killed. :( )
For future reference: don't "delete partition" but leave it where it is, you can install the linux you want over the top of it. Tell Dell that you can't boot ANYTHING from the CD drive. Are you (or someone you know) able to put another CD drive in? or connect a USB (etc) CD drive? I had problems booting from one of my CD drives, the fix was to boot from another one (but I had to use the first one to read from after the boot) titanium_geek |
Im prety stupid
i just did the same thing as the other guy there, and now i cant do anything because of my error2.
But i can use my Knopix CD. Can anyone help me please? sudo fdisk -l Disk /dev/hda: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 3824 30716248+ 7 HPFS/NTFS /dev/hda2 3825 3881 457852+ 7 HPFS/NTFS /dev/hda3 3882 4726 6787462+ 7 HPFS/NTFS /dev/hda4 4727 9729 40186597+ 5 Extended Disk /dev/sda: 20.0 GB, 20003880960 bytes 255 heads, 63 sectors/track, 2432 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 2431 19526976 7 HPFS/NTFS |
Mono-factor, are you getting a Grub error 2, or a Grub error 22 like the OP of this thread? Do you get your Grub error before seeing a Grub menu, or after you get the Grub menu and select an OS to boot? Also, your fdisk output does not show any linux partitions. Are you using something like Wubi to install Linux inside of Windows? Please provide more information about your problem.
|
put the live dis in open a terminal type sudo fdisk mbr then password then reboot windows. if it does not reboot to window burn this iso http://forjamari.linex.org/frs/downl...isk_0.9774.iso
some how and put it in and reboot your windows. this is the linux way of fixing windoze. because know one ever builds emergency boot disk. that is a windows product and i stay away from it. |
Quote:
When you get this working, download a copy of SuperGrubDisk for future use. |
yes, actually advanced supergrub is the one you want, it can fix win and linux boot mbr, the advanced part is that it has a few more bells and whistles that do not assume you know what you are doing.
anytime there is work done with partitions there is always a risk in messing up the partitions and mbr, but it is easily repaired if patience and a cool head is kept. if you can get the knoppix live cd again it is a very valuable tool used to fix broken windows and linux |
Sorry for my typo, it is error 22, i get this errro before the grub menu appears.
what i did was deleat my ubuntu partiotn from computer management (being stupid i didint think of the grub i installed) and now when i turn on my computer i get a error when grub try to find any partions. Does anyone know if install grub again would it fix the problem? because i am newb to linux. plus on the other side why is ubuntu so badddd, i rather have knopix insttalled on my harddrive if it was possibile. |
Since you deleted Ubuntu, I assume you only have Windows on that HDD? If so, you can restore a Windows MBR by booting the Windows XP Install CD, go to the "recovery console" and run:
Code:
fixmbr Code:
bootrec /fixmbr Code:
sudo lilo -M /dev/sda mbr |
do you know any good linux OS that light-weight like knopix?
and thanx im gonna try that out. can i do this from anyother live cd? |
Quote:
Quote:
|
Hi did wha you told me, i think i have that lilo thing since it didnt state it is a unreconisable command (im sorry for my stupidity T_T); i did that command and it didnt work.
I do want a linux OS, do you think if i installed disro it may solve the problem or should i install another grub? how is kubuntu, is that realativly heavy? (i bet you know im a window user ^_^) |
I would go ahead and install another distro since you plan on doing that anyway, and the distro should install its own boot loader. What happened after you ran the lilo command and rebooted? Still the same Grub error?
|
Yeah still got that same error
But im still thankfull for your help ^_^ this may sound stupid but can you show me where to find one with no broken links please? |
What do you mean broken links? What links are you referring to?
|
I recently had the same problem. Duel booted windows and linux, deleted the partiton, hen got the same grub error 22 and couldnet boot. Tried a bunch of stuff from the forums, when that dident work just started trying stuff, Heres what I did to fix it. Boot from a windows boot disk (you may need to configure the BIOs to boot from cd rom first) then enter the windows recovery console. In the commad prompt just type fixboot (add a drive letter if needed ex fixboot E:, I dident have to though since it booted from my C: drive). This will create a new partition boot sector. It will ask are you sure, say yes and tada thats should do it. hope this helps
|
As titanium_geek said in the first reply, you should be able to change the boot order so that you can boot from cd/dvd.
When you start the machine you should see a brief prompt to press F1 or Del or something similar to enter setup. This is the bios setup. Use the arrow keys and look for a menu that specify the boot options. You will be able to set the machine to boot from CD or DVD first, then harddrive in there. Once thats done you can put in the Ubuntu DVD (the 9.04 is getting some great reviews). Install that in the space where you deleted knoppix. The ubuntu DVD will re-install grub and give you an option to boot windows as well. Mons |
Tutorial
|
Two problems:
1. That video does not seem relevant to the discussion in this thread---and the author speaks so poorly it is very hard to understand. 2. You are reviving an old thread. |
I was having this problem too. Seeing as Linux found a way to screw me over, even after being deleted, I thought to myself, "This is probably the most kick ass OS ever," so I reinstalled it, and what do you know? Problem solved. Linux saves computer...again. In any case, just get a boot disk of whatever distro you want and install it again the same way you did the first time. You might need to open the boot menu when your computer starts up (mash f12 at the Dell logo) and scroll to the second option, boot from optical drive I believe it is. Hope this helped.
|
Ohh forget all these ... take windows cd and reinstall the Windows operating system. While new installation make sure don't delete your data choose the partition accordingly.
I am saying this as you are not comfortable with linux so handle this situation in which you are best. So resolve the issue with Windows. Thanks a lot |
Old thread, last reply not helpful, OP long gone.....
Yep---time to close. |
All times are GMT -5. The time now is 01:05 AM. |