LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Closed Thread
 
Search this Thread
Old 10-27-2005, 08:48 PM   #1
kmorsch
LQ Newbie
 
Registered: Oct 2005
Posts: 4

Rep: Reputation: 0
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.
 
Old 10-27-2005, 09:24 PM   #2
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Rep: Reputation: 50
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
 
Old 10-27-2005, 09:31 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,224

Rep: Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019
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.
 
Old 10-27-2005, 09:35 PM   #4
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Rep: Reputation: 50
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

Last edited by titanium_geek; 10-27-2005 at 09:39 PM.
 
Old 10-27-2005, 09:47 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,224

Rep: Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019
Quote:
Originally posted by titanium_geek
... we are linux whizzes here, I'm afraid, not windows whizzes.
Speak for yourself !!! ...
A Linux install had unintended consequences - we'll get it sorted.
 
Old 10-27-2005, 09:50 PM   #6
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Rep: Reputation: 50
Meaning we are more partial to linux solutions... not that we are TOTALLY clueless about windows.

seriously- what possesed you to DELETE the partition? it's not like its a virus or something.

titanium_geek
 
Old 10-27-2005, 11:28 PM   #7
kmorsch
LQ Newbie
 
Registered: Oct 2005
Posts: 4

Original Poster
Rep: Reputation: 0
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.
 
Old 10-27-2005, 11:30 PM   #8
kmorsch
LQ Newbie
 
Registered: Oct 2005
Posts: 4

Original Poster
Rep: Reputation: 0
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?
 
Old 10-27-2005, 11:33 PM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,224

Rep: Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019
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.
 
Old 10-28-2005, 08:24 AM   #10
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Rep: Reputation: 50
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

Last edited by titanium_geek; 04-23-2008 at 12:56 PM.
 
Old 12-21-2008, 12:45 PM   #11
mono-factor
LQ Newbie
 
Registered: Dec 2008
Posts: 17

Rep: Reputation: 0
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

Last edited by mono-factor; 12-21-2008 at 12:47 PM.
 
Old 12-21-2008, 12:58 PM   #12
CJS
Member
 
Registered: May 2008
Location: California, USA
Distribution: Ubuntu 8.10
Posts: 247

Rep: Reputation: 49
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.

Last edited by CJS; 12-21-2008 at 02:20 PM.
 
Old 12-21-2008, 02:09 PM   #13
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 2,530
Blog Entries: 3

Rep: Reputation: 209Reputation: 209Reputation: 209
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.

Last edited by Drakeo; 12-21-2008 at 02:10 PM.
 
Old 12-21-2008, 02:16 PM   #14
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,676

Rep: Reputation: 730Reputation: 730Reputation: 730Reputation: 730Reputation: 730Reputation: 730Reputation: 730
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.
 
Old 12-21-2008, 05:57 PM   #15
upchucky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 113

Rep: Reputation: 16
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
 
1 members found this post helpful.
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gentoo-Im dumb and deleted /boot/boot Grub Says: Error 26 : Too many symbolic links smehi Linux - Software 5 06-24-2006 06:25 AM
Grub Error 17: Cannot mount selected partition and other Grub problems Sebastian Naitsabes Linux - General 1 07-05-2005 08:33 AM
deleted linux partition adn the boot loader was deleted also,now i have only gnu grub boris199 Linux - Laptop and Netbook 2 01-29-2005 04:53 PM
GRUB Section2 load error, partition error. Ryle Linux - General 1 06-27-2004 02:55 PM
Grub - Deleted Partition digipsythe Linux - Newbie 1 04-12-2004 12:38 AM


All times are GMT -5. The time now is 06:49 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration