Grub Error 22

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
owweeee
Level 1
Level 1
Posts: 47
Joined: Sat Sep 12, 2009 10:47 pm
Location: Swansea, Wales
Contact:

Grub Error 22

Post by owweeee »

Hi

I'm having trouble with Grub. I recently added linux mint as a duel boot with XP. I kept getting Grub error 17,whihc I fixed by reloading grub back onto my system. However now I keep getting Error 22 "No such partition" when I try to load into Linux Mint or any of the linux choices and "NTLDR is missing" when I try to get into XP.

Anybody got any Ideas?

Hard drives:

Code: Select all

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x5ca16b37

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63   311484284   155742111    c  W95 FAT32 (LBA)
/dev/sda2       311484285   748147049   218331382+   c  W95 FAT32 (LBA)

Disk /dev/sdb: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x000e234c

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1        80100090    87907679     3903795    7  HPFS/NTFS
/dev/sdb2           16065    80100089    40042012+   f  W95 Ext'd (LBA)
/dev/sdb3        87907680    91811474     1951897+  82  Linux swap / Solaris
/dev/sdb4   *    91811475   234436544    71312535   83  Linux
/dev/sdb5           16128    80100089    40041981    7  HPFS/NTFS

Partition table entries are not in disk order
menu.lst:

Code: Select all

title		Linux Mint 7 Gloria, kernel 2.6.28-11-generic
root		(hd1,3)
kernel		/boot/vmlinuz-2.6.28-11-generic root=/dev/sdb4 ro quiet splash 
initrd		/boot/initrd.img-2.6.28-11-generic
quiet

title		Linux Mint 7 Gloria, kernel 2.6.28-11-generic (recovery mode)
root		(hd1,3)
kernel		/boot/vmlinuz-2.6.28-11-generic root=/dev/sdb4 ro single
initrd		/boot/initrd.img-2.6.28-11-generic

title		Linux Mint 7 Gloria, memtest86+
root		(hd1,3)
kernel		/boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title		Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sdb1
title		Windows NT/2000/XP (loader)
rootnoverify	(hd1,0)
savedefault
makeactive
map		(hd0) (hd1)
map		(hd1) (hd0)
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
AK Dave

Re: Grub Error 22

Post by AK Dave »

teehee: "duel boot" makes me think "duelling banjos" which then leads me to think about Deliverance. I think the phrase you wanted was "dual boot".

I'm trying to figure out what you've done, but it appears that you have 2 drives in your computer. The first drive has Windows. The second drive has Linux. I can't tell where you have grub installed, but it should be on the first drive and probably is on the second drive.

Question: What reputable dual-boot how-to guide did you follow? I need to know so I know what steps you took so I can figure out where you may have gone wrong. If you didn't follow a reputable guide, then there is where you went wrong and I need to know. Thats where I want to start with this.

I suspect that what you'll need to do to fix this is to get hold of a supergrub liveCD, use it, and fix grub. Its relatively painless. But it may not be necessary.
User avatar
owweeee
Level 1
Level 1
Posts: 47
Joined: Sat Sep 12, 2009 10:47 pm
Location: Swansea, Wales
Contact:

Re: Grub Error 22

Post by owweeee »

Given the amount of time I've been trying to put Linux onto my system duel feels more right then dual. :)

Both XP and Mint are on the same drive,
XP system partition is sdb2
Mint partition is sdb4

I used the following technique to get rid of the error 17, which worked, I just now have error 22
http://www.howtogeek.com/howto/ubuntu/r ... es-it-out/
User avatar
owweeee
Level 1
Level 1
Posts: 47
Joined: Sat Sep 12, 2009 10:47 pm
Location: Swansea, Wales
Contact:

Re: Grub Error 22

Post by owweeee »

Hi

I did some more playing about and I finally got it to work.
Although the partions are on /dev/sdb for some reason its hd0 for grub. Anyway thanks for your help
Locked

Return to “Installation & Boot”