grub file damaged no linux- no windows - error 22
version 8.10 never asked about importing my windows files. I need them. Following written instructions I opened Windows clicked on remove programs and deleted 8.10. I inserted a CD of version 8.04. It loaded and asked to migrate my file. OH JOY! After the install I tried to reboot and gor error 22. NO Windows, no 8.04! WOE! The grub program seems to be damaged . The command grub> find/boot/
A heart felt thanks for your taking the time and sharing your knowledge to fiz this problem!
Steve
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu grub Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Wyatt Smith
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Please start you pc from Ubuntu 8.04 live cd and using a terminal type:
sudo fdisk -l
copy and paste result here...
Thank you
Revision history for this message
|
#2 |
Hello steve,
Did you try the "repair a broken system" feature from the alternate cd ? It has an option to reinstall grub.
you can find the appropriate cd image here :
http://
http://
Hope that it helps you.
--kalon33
Revision history for this message
|
#3 |
Usage: fdisk [-l] [-b SSZ] [-u] device
E.g.: fdisk /dev/hda (for the first IDE disk)
or: fdisk /dev/sdc (for the third SCSI disk)
or: fdisk /dev/eda (for the first PS/2 ESDI drive)
or: fdisk /dev/rd/c0d0 or: fdisk /dev/ida/c0d0 (for RAID devices)
...
ubuntu@ubuntu:~$
Hi marcobra,
Here is the information you requested.
Revision history for this message
|
#4 |
to do that using ethernetHi Nicolas,
I am downloading the file you suggested. It will take 90 minutes to complete the download. THANK YOU!
Revision history for this message
|
#5 |
But may be your hard disk is ok so please copy and paste the result of
sudo fdisk -l
fdisk -l is the lower of FDISK -L
before go on...
Thank you
Revision history for this message
|
#6 |
Nicolas, here is the information you asked for:
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4d3c4d3b
Device Boot Start End Blocks Id System
/dev/sda1 * 1 8363 67175766 7 HPFS/NTFS
/dev/sda2 8365 9598 9912105 c W95 FAT32 (LBA)
/dev/sda3 9599 9729 1052257+ d7 Unknown
Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x30e630e5
Device Boot Start End Blocks Id System
/dev/sdb1 1 4815 38676456 7 HPFS/NTFS
/dev/sdb2 4816 9729 39471705 5 Extended
/dev/sdb5 4816 9522 37808946 83 Linux
/dev/sdb6 9523 9729 1662696 82 Linux swap / Solaris
ubuntu@ubuntu:~$
Revision history for this message
|
#7 |
Nicolas,
I installed Ubuntu on my second internalhard drive as youcan see by noting sdb. I hope this bit if information helps.
Steve
Revision history for this message
|
#8 |
Oh my1 I got your names mixxed up (how stupid) and sent the replies to the wrong places. I hope you can see my posts and that you will forgive the name errors.
Embarrased, Steve
Revision history for this message
|
#9 |
Have you already tried this https:/
Thank you
Revision history for this message
|
#10 |
Yes, the returned message was that the grub file was not found. I tried that set ifinstructions a few times hoping I had made an entry error,=. I just tried again. No luck.
Revision history for this message
|
#11 |
Nicolas,
After I down load the file do I need to burn a DVD?
Revision history for this message
|
#12 |
Nicolas,
I just got a message saying the file was too large to add to my memory. I guess I have to burn it to a CD.
Revision history for this message
|
#13 |
Marcobra,
I need to leave for a short time. I'll be back... :-)
Revision history for this message
|
#14 |
Yes Steve, it's a CD image, to be burned on a cd, and then to boot like a live-cd, and then choose "repair broken system" (or recover, something like this, I forgot the exact english message) and after a loading phase, you should be able to reinstall a grub.
Revision history for this message
|
#15 |
Nicolas,
The file is too large to download. I have tried more than once. How
do I get the file to burn a CD IOs image?
I appreciate your input.
Steve
On 11/13/08, Nicolas DERIVE <email address hidden> wrote:
> Your question #51257 on grub in ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> Nicolas DERIVE proposed the following answer:
> Yes Steve, it's a CD image, to be burned on a cd, and then to boot like
> a live-cd, and then choose "repair broken system" (or recover, something
> like this, I forgot the exact english message) and after a loading
> phase, you should be able to reinstall a grub.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you are a direct
> subscriber of the question.
>
Revision history for this message
|
#16 |
You can try to manually recreate you grub directory.
From the LiveCD mount your hard drive and change root
ubuntu@ubuntu:~$ sudo mkdir /mnt/root
ubuntu@ubuntu:~$ sudo mount -t ext3 /dev/sdb5 /mnt/root
ubuntu@ubuntu:~$ sudo mount -t proc none /mnt/root/proc
ubuntu@ubuntu:~$ sudo mount -o bind /dev /mnt/root/dev
ubuntu@ubuntu:~$ sudo chroot /mnt/root bin/bash
Now create you grub directory and copy all the need files to it
root@ubuntu:/# sudo mkdir /boot/grub
root@ubuntu:/# sudo cp cp /usr/lib/
To reinstall grub
root@ubuntu:/# sudo grub
grub > find /boot/grub/stage1
This should return (hd1,4), if it does then you can
grub > root (hd1,4)
grub > setup (hd0)
grub > quit
Hope this helps
Revision history for this message
|
#17 |
You should also edit your grub menu.lst file to make sure the ubuntu entries are pointing to the correct partition. From the terminal
gksudo gedit /boot/grub/menu.lst
Find this section
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)
Change the last line and make sure it is
# groot=(hd1,4)
Save and exit. Then type this in the terminal
sudo update-grub
Revision history for this message
|
#18 |
Hi Wyatt,
I did some more research and found Auto Super Grub Disk. I followed their
instructions and all is well. I hope you never have this problem!
Thank you for your efforts.[?]
On Fri, Nov 14, 2008 at 9:47 AM, Wyatt Smith <
<email address hidden>> wrote:
> Your question #51257 on grub in ubuntu changed:
> https:/
>
> Wyatt Smith proposed the following answer:
> You should also edit your grub menu.lst file to make sure the ubuntu
> entries are pointing to the correct partition. From the terminal
>
> gksudo gedit /boot/grub/menu.lst
>
> Find this section
>
> ## default grub root device
> ## e.g. groot=(hd0,0)
> # groot=(hd0,0)
>
> Change the last line and make sure it is
>
> # groot=(hd1,4)
>
> Save and exit. Then type this in the terminal
>
> sudo update-grub
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you are a direct
> subscriber of the question.
>
Revision history for this message
|
#19 |
Thanks for your help. I used Auto Super Grub Disk. It fixed my problems. I recommend the program.
Steve
Revision history for this message
|
#20 |
Hi guys, I am recieving an ERROR 22 message as well, my copy of Auto Super Grub does not load and I can not get to the terminal . When I click the above link for the Alternate disk image for Hardy 8.04 I reveive 404 invalid address message. A further complication is that I do not have the LiveDisk, my original copy came from a down load when I had MS windows and the system rejects it now.
What do I do now? and/or how do I get back to the terminal?
you may contact me directly by email at <email address hidden>
thank you, david
Revision history for this message
|
#21 |
David,
If you have a flash drive attached I suggest you dismount it.
Take a look at your BIOS settings. You may need to rearrange the order of
places it looks for the Master Boot Record / GRUB
Try to boot from your Ubuntu disk. You may need to buy one at a book store
or download a new one on another computer.
Visit hermanzone and see if there is an answer for you there.
I hope this helps!
Steve
On Mon, Feb 16, 2009 at 4:01 AM, david johnson <
<email address hidden>> wrote:
> Your question #51257 on grub in ubuntu changed:
> https:/
>
> david johnson posted a new comment:
> Hi guys, I am recieving an ERROR 22 message as well, my copy of Auto
> Super Grub does not load and I can not get to the terminal . When I
> click the above link for the Alternate disk image for Hardy 8.04 I
> reveive 404 invalid address message. A further complication is that I do
> not have the LiveDisk, my original copy came from a down load when I had
> MS windows and the system rejects it now.
>
> What do I do now? and/or how do I get back to the terminal?
>
> you may contact me directly by email at <email address hidden>
>
> thank you, david
>
> --
> You received this question notification because you are a direct
> subscriber of the question.
>
Revision history for this message
|
#22 |
Thanks Steve,
There is no flash drive connected. I can not get past the ERROR 22 screen. How can I check the BIOS, is there a way to get inside to do this? I will try to get a new copy of Ubuntu in the mean time. Please keep the info coming,it does help and I need all the help that I can get. david
Revision history for this message
|
#23 |
Problem under control.
Thank you Steve,
Herman Zone has an excellent explination of what to do and not to do when playing around with MBR/BIOS. Your suggestion saved me a lot of time and frustration. I reccommend to Hermanzone to anyone who does not fully understand the function and purpose of MBR or the proper use of such powerful programming as Get Parted Live. It is very easy to make a very big mistake.
Again, thank you Steve, david
Revision history for this message
|
#24 |
Problem under control.
Thank you Steve,
Herman Zone has an excellent explination of what to do and not to do when playing around with MBR/BIOS. Your suggestion saved me a lot of time and frustration. I reccommend to Hermanzone to anyone who does not fully understand the function and purpose of MBR or the proper use of such powerful programming as Get Parted Live. It is very easy to make a very big mistake.
Again, thank you Steve, david
_______
From: Steve Sammons <email address hidden>
To: <email address hidden>
Sent: Monday, February 16, 2009 7:03:43 PM
Subject: Re: [Question #51257]: grub file damaged no linux- no windows - error 22
Question #51257 on grub in ubuntu changed:
https:/
Steve Sammons posted a new comment:
David,
If you have a flash drive attached I suggest you dismount it.
Take a look at your BIOS settings. You may need to rearrange the order of
places it looks for the Master Boot Record / GRUB
Try to boot from your Ubuntu disk. You may need to buy one at a book store
or download a new one on another computer.
Visit hermanzone and see if there is an answer for you there.
I hope this helps!
Steve
On Mon, Feb 16, 2009 at 4:01 AM, david johnson <
<email address hidden>> wrote:
> Your question #51257 on grub in ubuntu changed:
> https:/
>
> david johnson posted a new comment:
> Hi guys, I am recieving an ERROR 22 message as well, my copy of Auto
> Super Grub does not load and I can not get to the terminal .. When I
> click the above link for the Alternate disk image for Hardy 8.04 I
> reveive 404 invalid address message. A further complication is that I do
> not have the LiveDisk, my original copy came from a down load when I had
> MS windows and the system rejects it now.
>
> What do I do now? and/or how do I get back to the terminal?
>
> you may contact me directly by email at <email address hidden>
>
> thank you, david
>
> --
> You received this question notification because you are a direct
> subscriber of the question.
>
--
You received this question notification because you are a direct
subscriber of the question.
Revision history for this message
|
#25 |
David,
I'm glad I could help you. It is frustrating to find things don't work as
you expected them to.
Steve
On Tue, Feb 17, 2009 at 1:36 AM, david johnson <
<email address hidden>> wrote:
> Your question #51257 on grub in ubuntu changed:
> https:/
>
> david johnson posted a new comment:
> Problem under control.
> Thank you Steve,
> Herman Zone has an excellent explination of what to do and not to do when
> playing around with MBR/BIOS. Your suggestion saved me a lot of time and
> frustration. I reccommend to Hermanzone to anyone who does not fully
> understand the function and purpose of MBR or the proper use of such
> powerful programming as Get Parted Live. It is very easy to make a very big
> mistake.
> Again, thank you Steve, david
>
>
>
> _______
> From: Steve Sammons <email address hidden>
> To: <email address hidden>
> Sent: Monday, February 16, 2009 7:03:43 PM
> Subject: Re: [Question #51257]: grub file damaged no linux- no windows -
> error 22
>
> Question #51257 on grub in ubuntu changed:
> https:/
>
> Steve Sammons posted a new comment:
> David,
>
> If you have a flash drive attached I suggest you dismount it.
>
> Take a look at your BIOS settings. You may need to rearrange the order of
> places it looks for the Master Boot Record / GRUB
>
> Try to boot from your Ubuntu disk. You may need to buy one at a book store
> or download a new one on another computer.
>
> Visit hermanzone and see if there is an answer for you there.
>
> I hope this helps!
>
> Steve
>
> On Mon, Feb 16, 2009 at 4:01 AM, david johnson <
> <email address hidden>> wrote:
>
> > Your question #51257 on grub in ubuntu changed:
> > https:/
> >
> > david johnson posted a new comment:
> > Hi guys, I am recieving an ERROR 22 message as well, my copy of Auto
> > Super Grub does not load and I can not get to the terminal .. When I
> > click the above link for the Alternate disk image for Hardy 8.04 I
> > reveive 404 invalid address message. A further complication is that I do
> > not have the LiveDisk, my original copy came from a down load when I had
> > MS windows and the system rejects it now.
> >
> > What do I do now? and/or how do I get back to the terminal?
> >
> > you may contact me directly by email at <email address hidden>
> >
> > thank you, david
> >
> > --
> > You received this question notification because you are a direct
> > subscriber of the question.
> >
>
> --
> You received this question notification because you are a direct
> subscriber of the question.
>
> You received this question notification because you are a direct
> subscriber of the question.
>