(SOLVED) Need help editing GRUB in LMDE 32 bit

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

(SOLVED) Need help editing GRUB in LMDE 32 bit

Postby beantown on Sat Jan 08, 2011 2:46 pm

I now have three operating systems, XP, MINT10 and now LMDE32 bit version. In LMDE when I installed the the Nvidia drivers it added the 686 kernel to grub. It left the 486 entry in Grub. How do I remove the old 486 kernel entry in Grub? Can I just remove the 486 Kernel portion in Grub.cfg and then update Grub??? I've actually done pretty good at figuring out issue that have arisen with the help from the awesome forums for Linux Mint. Feeling pretty good about that considering the n00b that I am to Linux. I just took some patience. I just can't find any info on this Grub issue.
I have fallen in love with Mint10 Julia and Mint Debian runs awesome on my computer! The Mint team has done a fantastic job!!!
I want to thank you for any help.
Sincerely,
Shane

Here is my Grub.cfg
(Please note the bold section in question.)

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="5"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi

function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}

function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos8)'
search --no-floppy --fs-uuid --set b62fd2e0-1c1a-40ef-8307-71a1509caaca
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos8)'
search --no-floppy --fs-uuid --set b62fd2e0-1c1a-40ef-8307-71a1509caaca
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
set timeout=10
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos8)'
search --no-floppy --fs-uuid --set b62fd2e0-1c1a-40ef-8307-71a1509caaca
insmod png
if background_image /boot/grub/linuxmint.png; then
set color_normal=black/black
set color_highlight=magenta/black
else
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/06_mint_theme ###
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos8)'
search --no-floppy --fs-uuid --set b62fd2e0-1c1a-40ef-8307-71a1509caaca
insmod png
if background_image /boot/grub/linuxmint.png ; then
set color_normal=white/black
set color_highlight=white/light-gray
else
set menu_color_normal=white/black
set menu_color_highlight=white/light-gray
fi
### END /etc/grub.d/06_mint_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'LinuxMint GNU/Linux, with Linux 2.6.32-5-686' --class linuxmint --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos8)'
search --no-floppy --fs-uuid --set b62fd2e0-1c1a-40ef-8307-71a1509caaca
echo 'Loading Linux 2.6.32-5-686 ...'
linux /boot/vmlinuz-2.6.32-5-686 root=UUID=b62fd2e0-1c1a-40ef-8307-71a1509caaca ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-5-686
}
menuentry 'LinuxMint GNU/Linux, with Linux 2.6.32-5-686 (recovery mode)' --class linuxmint --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos8)'
search --no-floppy --fs-uuid --set b62fd2e0-1c1a-40ef-8307-71a1509caaca
echo 'Loading Linux 2.6.32-5-686 ...'
linux /boot/vmlinuz-2.6.32-5-686 root=UUID=b62fd2e0-1c1a-40ef-8307-71a1509caaca ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-5-686
}
menuentry 'LinuxMint GNU/Linux, with Linux 2.6.32-5-486' --class linuxmint --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos8)'
search --no-floppy --fs-uuid --set b62fd2e0-1c1a-40ef-8307-71a1509caaca
echo 'Loading Linux 2.6.32-5-486 ...'
linux /boot/vmlinuz-2.6.32-5-486 root=UUID=b62fd2e0-1c1a-40ef-8307-71a1509caaca ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-5-486
}
menuentry 'LinuxMint GNU/Linux, with Linux 2.6.32-5-486 (recovery mode)' --class linuxmint --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos8)'
search --no-floppy --fs-uuid --set b62fd2e0-1c1a-40ef-8307-71a1509caaca
echo 'Loading Linux 2.6.32-5-486 ...'
linux /boot/vmlinuz-2.6.32-5-486 root=UUID=b62fd2e0-1c1a-40ef-8307-71a1509caaca ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-5-486

}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sda1)" {
insmod part_msdos
insmod ntfs
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set 50b0d67eb0d66a4c
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Linux Mint 10, 2.6.35-22-generic (/dev/sdb1) (on /dev/sdb1)" {
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos1)'
search --no-floppy --fs-uuid --set ac6cff8f-86fa-4bc7-a523-0c12f32340d6
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=ac6cff8f-86fa-4bc7-a523-0c12f32340d6 ro quiet splash
initrd /boot/initrd.img-2.6.35-22-generic
}
menuentry "Linux Mint 10, 2.6.35-22-generic (/dev/sdb1) -- recovery mode (on /dev/sdb1)" {
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos1)'
search --no-floppy --fs-uuid --set ac6cff8f-86fa-4bc7-a523-0c12f32340d6
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=ac6cff8f-86fa-4bc7-a523-0c12f32340d6 ro single
initrd /boot/initrd.img-2.6.35-22-generic
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
Last edited by beantown on Sat Jan 08, 2011 3:49 pm, edited 1 time in total.
beantown
Level 1
Level 1
 
Posts: 11
Joined: Thu Dec 02, 2010 12:52 pm
Location: BFE N.C.

Linux Mint is funded by ads and donations.
 

Re: Need help editing GRUB in LMDE 32 bit

Postby willie42 on Sat Jan 08, 2011 3:07 pm

Well if its just the Entry in grub then you will need to update grub

Code: Select all
sodo update-grub


if you are using grub2 then its

Code: Select all
sudo update-grub-pc


If the old kernel is still there then you will need to remove the old Kernel and that can be done thru the package manager.


hope this helps

:D
Comptia A+ Certified Technician
Comptia Network + Certified Technician
You can not have Success without Failures.
User avatar
willie42
Level 7
Level 7
 
Posts: 1977
Joined: Tue Jun 22, 2010 7:52 pm
Location: Oak Ridge, TN USA

Re: Need help editing GRUB in LMDE 32 bit SOLVED

Postby beantown on Sat Jan 08, 2011 3:36 pm

willie42 wrote:Well if its just the Entry in grub then you will need to update grub

Code: Select all
sodo update-grub


if you are using grub2 then its

Code: Select all
sudo update-grub-pc


If the old kernel is still there then you will need to remove the old Kernel and that can be done thru the package manager.


hope this helps

:D

Mark this thread SOLVED thanks to Willie!!! WOW 21 minutes and I had an answer to my problem. Your faster than Mickey Dees at lunch time! :lol:

Thank you Willie for the fast response! :D I tried to update Grub, no go, came up with the same 486 entry. Went to package manager and there was the 486 Kernel. Marked for removal, ran the removal, reboot and BAM, the 486 entry was GONZO!!! Should LMDE have grub2? Might just leave well enough alone. Any benefits to grub 2?

We have just about completely put M$ in the trashcan. Running Mint Julia in dual boot on our Notebook, that little Compaq V2000 screams with Mint on it! Desktop has XP, Mint 10 and now running Debian 32 bit in a triple boot scenario and my server runs just Mint 10. All three PCs are much happier running Mint than M$ by far. My wife is now a Mint convert, can't get her to use XPee if I had too! LOL

Thanks again for your help!!! This place is AWESOME to say the least!
Sincerely,
Shane
beantown
Level 1
Level 1
 
Posts: 11
Joined: Thu Dec 02, 2010 12:52 pm
Location: BFE N.C.

Re: (SOLVED) Need help editing GRUB in LMDE 32 bit

Postby willie42 on Sat Jan 08, 2011 3:50 pm

you are very welcome and have a great day :D

edit: I would say if its not broke dont fix it unless you want to play around. I never could get grub2 working for me.
Comptia A+ Certified Technician
Comptia Network + Certified Technician
You can not have Success without Failures.
User avatar
willie42
Level 7
Level 7
 
Posts: 1977
Joined: Tue Jun 22, 2010 7:52 pm
Location: Oak Ridge, TN USA


Return to Installation & Boot

Who is online

Users browsing this forum: No registered users and 4 guests