Page 1 of 1

Re: Grub error 22

Posted: Fri Jul 24, 2009 9:31 pm
by DrHu
I think your /boot/grub/menu.1st may be mis-configured
--I would check that first
I don't know what GAG does to grub which I think is likely being used by GAG to boot the Linux bootloader for Mint

Grub errors
http://www.uruk.org/orig-grub/errors.html

Check your system and partitions
--a guide to explain an install and Grub multiboot install.. (Ubuntu)
http://members.iinet.net.au/~herman546/p23.html
GAG, as a boot manager is also manipulating partitions to hide/unhide them, so exactly what it does to grub, I don't know for sure

The usual way to start a second bootloader, is to use the boot menu and within its menu structure (contents) to use, which transfers the first bootloader or boot manger's control to the second partition and allowx (grub)its menus to work
for example grub (mint_-->chainloader +1 Windows OS
chainloader +1
..other OS data to boot
boot
--or in GRUB itself, you just change the boot order
--to set Mint or Windows as the default (selection 0) menu selection, the top item in the grub menu list on the screen at boot..
http://www.linuxselfhelp.com/gnu/grub/h ... rub_4.html

My /boot/grub/menu.1st

Code: Select all

## ## End Default Options ##

title		Linux Mint 7 Gloria, kernel 2.6.28-13-generic
root		(hd0,4)
kernel		/boot/vmlinuz-2.6.28-13-generic root=/dev/sda5 ro quiet 
initrd		/boot/initrd.img-2.6.28-13-generic
quiet

title		Linux Mint 7 Gloria, kernel 2.6.28-13-generic (recovery mode)
root		(hd0,4)
kernel		/boot/vmlinuz-2.6.28-13-generic root=/dev/sda5 ro single
initrd		/boot/initrd.img-2.6.28-13-generic

title		Linux Mint 7 Gloria, kernel 2.6.28-11-generic
root		(hd0,4)
kernel		/boot/vmlinuz-2.6.28-11-generic root=/dev/sda5 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		(hd0,4)
kernel		/boot/vmlinuz-2.6.28-11-generic root=/dev/sda5 ro single
initrd		/boot/initrd.img-2.6.28-11-generic

title		Linux Mint 7 Gloria, memtest86+
root		(hd0,4)
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/sda1
title		Microsoft Windows XP Professional
rootnoverify	(hd0,0)
savedefault
makeactive
chainloader	+1  
As you can see my /boot/grub/menu.1st boots my windows XP
--from the first hard drive hd0,0 (the c:\ drive)
  • rootnoverify (hd0,0)
    savedefault
    makeactive
    chainloader +1

Re: Grub error 22

Posted: Sat Aug 01, 2009 11:09 pm
by DrHu
SilverFox wrote:well all i've managed to do is create a folder called menu.lst that i cant delete :oops: so i thought i better just ask how to edit the menu.lst file and delete the folder i created
I would check /boot/grub/menu.1st file as the first step, fix that up before deleting any menu.1st folders..
--just don't mix them up (in your mind..)

Open as root in nautilus (file manager), the parent directory of that menu.1st folder, and move to trash or delete..

Easiest way is probably use nautilus file manager, go to the /boot/grub directory (folder), right-click and open as root
--the file manager background will change to red after you have entered your user login password (as that first user is in the root and admin groups), and has system access functions available

Select /boot/grub/menu.1st , edit then save the file (remember you opend as root), so it will save changes

Or just go direct, alt F2 to open a run dialog, then gksu gedit /boot/grub/menu.1st
--same as above, edit, then save