Grub Error 22

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help

Grub Error 22

Postby owweeee on Tue Sep 15, 2009 3:14 pm

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)
Running Linux Mint 16 Petra 64bit with Cinnamon
owweeee
Level 1
Level 1
 
Posts: 30
Joined: Sat Sep 12, 2009 10:47 pm
Location: Swansea, Wales

Linux Mint is funded by ads and donations.
 

Re: Grub Error 22

Postby AK Dave on Tue Sep 15, 2009 6:01 pm

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
AK Dave
Level 6
Level 6
 
Posts: 1042
Joined: Wed May 14, 2008 3:39 pm
Location: Anchorage, AK USA

Re: Grub Error 22

Postby owweeee on Tue Sep 15, 2009 7:28 pm

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/
Running Linux Mint 16 Petra 64bit with Cinnamon
owweeee
Level 1
Level 1
 
Posts: 30
Joined: Sat Sep 12, 2009 10:47 pm
Location: Swansea, Wales

Re: Grub Error 22

Postby owweeee on Wed Sep 16, 2009 5:28 am

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
Running Linux Mint 16 Petra 64bit with Cinnamon
owweeee
Level 1
Level 1
 
Posts: 30
Joined: Sat Sep 12, 2009 10:47 pm
Location: Swansea, Wales


Return to Installation & Boot

Who is online

Users browsing this forum: No registered users and 26 guests