help with grub on partition

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

help with grub on partition

Postby steveie » Tue May 06, 2008 1:39 pm

I HAVE RECENTLY PARTITIONED MY HARD RIVE TO MAKE THE MINT PARTITION BIGGER ITS NOW BOOTS UP TO THE SPLASH SCREEN AND WHEN I SELECT MINT (ALSO XP IN THE LIST) AN ERROR MESSAGE COME BACK WITH ERROR 22 NO PARTITION FOUND
THE MINT PARTITION WAS HDA6 ITS NOW HDA2 I THEN REINSTALLED MINT FROM SCRATCH AND ALL BOOTS UP NO PROBLEM AND USED ACRONIS (ON XP) WITH WHICH I HAVE MADE HARD DRIVE IMAGES (MINT AND XP) MINT RELOADS FROM ACRONIS BUT THEN WHEN I GET TO THE SPLASH SCREEN THE ERROR 22 MESSAGE AGAIN
TO ME THE ACRONIS IMAGE WHICH HAS ALL THE SETTINGS SEEMS TO MAKE THE PARTITION BE HDA6,IF THAT MAKES SENSE
ANY ONE HELP?
CHEERS
STEVE

Husse
Level 23
Level 23
Posts: 19595
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: help with grub on partition

Postby Husse » Thu May 08, 2008 6:04 am

Please don't use only MAJOR letters
If for some reason the partition has changed from hda6 to hda2 you have to change menu.lst accordingly
Is this Daryna? There you should get sda...
Anyway boot the live CD
find your Mint on the hard disk and navigate to /boot/grub
Open menu.lst for editing, on the live CD just double click (in the installed version you would have to open a terminal and do gksudo gedit /boot/grub/menu.lst - use this in case I'm wrong - there's no password on the live CD)
You will find two entries like this
title Linux Mint, kernel 2.6.22-14-generic
root (hd0,5)
kernel /boot/vmlinuz-2.6.22-14-generic root=/dev/hda6 ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
boot

title Linux Mint, kernel 2.6.22-14-generic (recovery mode)
root (hd0,5)
kernel /boot/vmlinuz-2.6.22-14-generic root=/dev/hda6 ro single
initrd /boot/initrd.img-2.6.22-14-generic
boot

Change
root (hd0,5) to root (hd0,1)
and
/dev/hda6 to /dev/hda2
twice
The number after root is to be different as that is "grub speak" and grub starts counting from zero
Save and reboot
Image
Don't fix it if it ain't broken, don't break it if you can't fix it

Guest

Re: help with grub on partition

Postby Guest » Thu May 08, 2008 6:38 pm

Thanks for the advice all is fine now after i worked out what was what ,what a fantastic new computer language i have to learn
Sorry if the MAJOR letters offended you

Husse
Level 23
Level 23
Posts: 19595
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: help with grub on partition

Postby Husse » Fri May 09, 2008 6:59 am

Sorry if the MAJOR letters offended you

It yells at you from the page, and it is also customary in forums never to use capital letters except for very special cases
Welcome to Mint
Image
Don't fix it if it ain't broken, don't break it if you can't fix it

User avatar
Fred
Level 10
Level 10
Posts: 3351
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Re: help with grub on partition

Postby Fred » Sun May 11, 2008 1:08 am

It also makes it much harder to read, which is not what you want when asking for help with a problem. :-)

Fred
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.


Return to “Installation & Boot”

Who is online

Users browsing this forum: mts, Vaboen and 22 guests