Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello, I have an Suse 9.3 installation in one partition and Windows XP on the other one like this:
/dev/hda1 Linux
/dev/hda2 W95
/dev/hda5 HPFS/NTFS
/dev/hda6 Linux swap
/dev/hda7 Linux
I needed some space so I deleted the hda5 partition using fdisk. After rebooting I have an Grub Error 22 saying that the partition doesn't exist. I think it is trying to boot from hda5 instead of hda1.
I tried Super Grub Disk, and it says it fixed grub, but after a reboot I still get the same message.
What can I do please? What aditional information do you guys need in order to help me?
Thanks in advance,
henu
PS: I don't know if this thread belongs here, if not, please tell me where should it be
Last edited by henu; 11-10-2009 at 01:16 PM.
Reason: Added a PS
The booting partition was /dev/hda7, but after I deleted partition /dev/hda5, the booting partition should be on /dev/hda6 (I think so), but I believe grub is still trying to boot from /dev/hda7.
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369
Rep:
Quote:
Originally Posted by henu
Actually I have to correct something:
The booting partition was /dev/hda7, but after I deleted partition /dev/hda5, the booting partition should be on /dev/hda6 (I think so), but I believe grub is still trying to boot from /dev/hda7.
Ok, thank you very much, here is all the requested info:
output of fdisk -l:
Code:
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xa85da85d
Device Boot Start End Blocks Id System
/dev/sda1 1 2551 20490876 83 Linux
/dev/sda2 2552 9729 57657285 f W95 Ext'd (LBA)
/dev/sda5 8866 8928 506016 82 Linux swap / Solaris
/dev/sda6 8929 9729 6434001 83 Linux
Disk /dev/sdb: 16.0 GB, 16030597120 bytes
32 heads, 63 sectors/track, 15530 cylinders
Units = cylinders of 2016 * 512 = 1032192 bytes
Disk identifier: 0x7712506d
Device Boot Start End Blocks Id System
/dev/sdb1 1 15530 15654208+ b W95 FAT32
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.