LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Grub Error 22, deleted partition (https://www.linuxquestions.org/questions/linux-newbie-8/grub-error-22-deleted-partition-377590/)

kmorsch 10-27-2005 08:48 PM

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.

titanium_geek 10-27-2005 09:24 PM

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

syg00 10-27-2005 09:31 PM

Re: Grub Error 22, deleted partition
 
Quote:

Originally posted by kmorsch
... so when I found out it was installed I deleted the partition
Doesn't always pay to be too rash.
Quote:

... 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.
What messages do you get - only the grub messages ???.
Do you still have the Knoppix CD, or some other Linux LiveCD ???. If so we can use that to diagnose your situation.

titanium_geek 10-27-2005 09:35 PM

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

syg00 10-27-2005 09:47 PM

Quote:

Originally posted by titanium_geek
... we are linux whizzes here, I'm afraid, not windows whizzes.
Speak for yourself !!! ... :p
A Linux install had unintended consequences - we'll get it sorted.

titanium_geek 10-27-2005 09:50 PM

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

kmorsch 10-27-2005 11:28 PM

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.

kmorsch 10-27-2005 11:30 PM

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?

syg00 10-27-2005 11:33 PM

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
(that's ell as in list), and post the output back here.

titanium_geek 10-28-2005 08:24 AM

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

mono-factor 12-21-2008 12:45 PM

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

CJS 12-21-2008 12:58 PM

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.

Drakeo 12-21-2008 02:09 PM

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.

yancek 12-21-2008 02:16 PM

Quote:

also, does anyone know where i can get a windows bootdisk
http://www.bootdisk.com/

When you get this working, download a copy of SuperGrubDisk for future use.

upchucky 12-21-2008 05:57 PM

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


All times are GMT -5. The time now is 09:25 AM.