Results 1 to 10 of 16
Hi,
I was using gparted to make a partition and i hit create particle by accident and when i rebooted, I am getting a grub error 22. I have installed ...
- 10-31-2009 #1Just Joined!
- Join Date
- Mar 2009
- Posts
- 20
Grub Error 22
Hi,
I was using gparted to make a partition and i hit create particle by accident and when i rebooted, I am getting a grub error 22. I have installed 9.10. Can anybody please help me fix this problem.
Regards,
Vishwa
- 10-31-2009 #2
Boot from a live CD, open a terminal and post the output of
sudo fdisk -l
sudo grub
find /boot/grub/menu.lst
quit
The -l has a small L rather than a one, and you need to post the output of the find command before you type quit
- 10-31-2009 #3Just Joined!
- Join Date
- Mar 2009
- Posts
- 20
Hi,
I dont have 9.10 live cd..so i used a 8.04lts cd..hope that wouldn't matter
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x8e0eee9e
Device Boot Start End Blocks Id System
grub> find /boot/grub/menu.lst
Error 15: File not found
Regards,
Vishwa
- 11-01-2009 #4Linux Guru
- Join Date
- Jan 2009
- Location
- Dover, NH
- Posts
- 1,633
Are you sure there wasn't more to the sudo fdisk -l ? There should be partition data under it.
- 11-01-2009 #5Just Joined!
- Join Date
- Mar 2009
- Posts
- 20
hi,
yes i am sure that is all i had...
..Is it because is used the create partition table..which by the way started this whole thing..
vishwa
- 11-01-2009 #6Linux Guru
- Join Date
- Jan 2009
- Location
- Dover, NH
- Posts
- 1,633
It looks like there is no partition table. Yes, "create partition table" actually means "destroy the existing table and start with a blank slate. All information on the drive will be inaccessable." Before continuing, I need to know if there is information on that drive you want recovered. If so, there needs to be a focus on that before trying to reinstall karmic, or it'll all be lost.
- 11-01-2009 #7Just Joined!
- Join Date
- Mar 2009
- Posts
- 20
yes D-cat,
I have important data that i would like to restore...i am running a program called testdisk after i got a partedmagic live cd.. i think it is listing all the drives there..i am not sure how to restore those though?
regards,
vishwa
- 11-01-2009 #8Linux Guru
- Join Date
- Jan 2009
- Location
- Dover, NH
- Posts
- 1,633
I'm not exactly syre how testdisk works, but I'd take note of the output a/o keep the log safe (if you went that option). When testdisk finishes, run sync, then do the sudo fdisk -l again. If the partitions are listed, then you're in good shape (I'd still do a fsck on each one to fix any possible errors resulting from the partition table loss).
If it still lists no partitions, show me the output a/o log from testdisk.
- 11-01-2009 #9
Click in Testdisk option in Partedmagic Menu, select Create -- Proceed -- 'Intel' -- Analyse...
TestDisk will restore lost partitions and rewrite partition table.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 11-01-2009 #10Just Joined!
- Join Date
- Mar 2009
- Posts
- 20
Hi,
this is the output of the testdisk-->analyze and then followed by deeper search..this is the output..i have made some comments on what i noticed when i try to list files in the list..
I could list files for all other partitions except Linux Swap..
Now the problem is how to choose the type of partitions for these things..
The main partition for linux is the 66GB one.. I have windows vista installed as well.. and boot to ubuntu using Grub..
Regards,
vishwa
TestDisk 6.11, Data Recovery Utility, April 2009
Christophe GRENIER <grenier@cgsecurity.org>
Disk /dev/sda - 320 GB / 298 GiB - CHS 38914 255 63
Partition Start End Size in sectors
D FAT32 LBA 0 1 1 33002 254 63 530193132 [NO NAME]
D HPFS - NTFS 0 32 33 21939 13 42 352448848
D HPFS - NTFS 0 32 33 33002 177 7 530186240
D HPFS - NTFS 0 32 45 32676 254 63 524953945
When i select the above partition and type p to list files, i get the message that I can't open file
D Linux 21940 0 1 23854 254 60 30764472
D Linux 23855 1 1 32485 254 63 138656952
D Linux 28158 0 1 36788 253 63 138656952
can't open the above either
D Linux Swap 32486 1 1 33001 254 42 8289456
D Linux 32677 2 1 32980 254 61 4883632
D Linux Swap 32981 1 1 33001 254 41 337280
D HPFS - NTFS 33002 209 40 36987 37 42 64008192 [LENOVO]
* HPFS - NTFS 36987 37 43 38899 129 14 30722048
Structure: Ok. Use Up/Down Arrow keys to select partition.
Use Left/Right Arrow keys to CHANGE partition characteristics:
*=Primary bootable P=Primary L=Logical E=Extended D=Deleted
Keys A: add partition, L: load backup, T: change type, P: list files,
Enter: to continue
FAT32, 271 GB / 252 GiB


Reply With Quote
