LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 02-02-2013, 06:27 PM   #1
billie
LQ Newbie
 
Registered: Feb 2013
Posts: 6

Rep: Reputation: Disabled
Question My grub entries seem to be replicating!


I just finished setting up fifteen oses (all linux.) My grub2 is a mess; many more entries than there should be. I suspect that this is partly because Mageia came with grub legacy, and I didn't realize it. So I have over 15 really wrong entries, plus a couple of valid duplicates. A couple of entries are odd-looking, e.g. linux non-fb. What I really don't understand is why, since with each new OS grub.cfg should be generated anew, I keep getting the same errors. Also, I don't have an /etc/fstab file in ubuntu, just fstab.d, which appears to be empty. I would really appreciate any help. Thanks in advance
 
Old 02-02-2013, 08:03 PM   #2
Nbiser
Member
 
Registered: Oct 2012
Location: Maryland
Distribution: Fedora, Slackware, Debian, Ubuntu, Knoppix, Helix,
Posts: 284
Blog Entries: 7

Rep: Reputation: 42
Have you read what the entries say, some of them could be restore and backup for the different OSs. It would help to have error messages and a complete listing of what your Grub is displaying for us to see.
 
Old 02-03-2013, 11:11 AM   #3
billie
LQ Newbie
 
Registered: Feb 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
I'm breaking up the .cfg file into two parts because of length:
#
# 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
set have_grubenv=true
load_env
fi
set default="0"
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 recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}

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

insmod part_msdos
insmod ext2
set root='(hd0,msdos18)'
search --no-floppy --fs-uuid --set=root 55bb3b49-f4fd-4074-a8d0-499a9a0f5c15
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos18)'
search --no-floppy --fs-uuid --set=root 55bb3b49-f4fd-4074-a8d0-499a9a0f5c15
set locale_dir=($root)/boot/grub/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "${linux_gfx_mode}" != "text" ]; then load_video; fi
menuentry 'Peppermint, with Linux 3.2.0-23-generic' --class peppermint --class gnu-linux --class gnu --class os {
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos18)'
search --no-floppy --fs-uuid --set=root 55bb3b49-f4fd-4074-a8d0-499a9a0f5c15
linux /boot/vmlinuz-3.2.0-23-generic root=UUID=55bb3b49-f4fd-4074-a8d0-499a9a0f5c15 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.2.0-23-generic
 
Old 02-03-2013, 11:11 AM   #4
billie
LQ Newbie
 
Registered: Feb 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
}
menuentry 'Peppermint, with Linux 3.2.0-23-generic (recovery mode)' --class peppermint --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos18)'
search --no-floppy --fs-uuid --set=root 55bb3b49-f4fd-4074-a8d0-499a9a0f5c15
echo 'Loading Linux 3.2.0-23-generic ...'
linux /boot/vmlinuz-3.2.0-23-generic root=UUID=55bb3b49-f4fd-4074-a8d0-499a9a0f5c15 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.2.0-23-generic
}
### END /etc/grub.d/10_linux ###

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

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos18)'
search --no-floppy --fs-uuid --set=root 55bb3b49-f4fd-4074-a8d0-499a9a0f5c15
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos18)'
search --no-floppy --fs-uuid --set=root 55bb3b49-f4fd-4074-a8d0-499a9a0f5c15
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Bodhi Linux, with Linux 3.7.0-7-generic (on /dev/sda10)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos10)'
search --no-floppy --fs-uuid --set=root 4422fa02-f4c0-4eb8-9f7c-bd87abe1d76f
linux /boot/vmlinuz-3.7.0-7-generic root=UUID=4422fa02-f4c0-4eb8-9f7c-bd87abe1d76f ro splash quiet $vt_handoff
initrd /boot/initrd.img-3.7.0-7-generic
}
menuentry "Bodhi Linux, with Linux 3.7.0-7-generic (recovery mode) (on /dev/sda10)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos10)'
search --no-floppy --fs-uuid --set=root 4422fa02-f4c0-4eb8-9f7c-bd87abe1d76f
linux /boot/vmlinuz-3.7.0-7-generic root=UUID=4422fa02-f4c0-4eb8-9f7c-bd87abe1d76f ro recovery nomodeset
initrd /boot/initrd.img-3.7.0-7-generic
}
menuentry "LinuxMint' --class linuxmint --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-83586c6d-10fa-4343-ab9e-fdcca2183d87 (on /dev/sda11)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos11)'
search --no-floppy --fs-uuid --set=root 83586c6d-10fa-4343-ab9e-fdcca2183d87
linux /boot/vmlinuz-3.5.0-17-generic root=UUID=83586c6d-10fa-4343-ab9e-fdcca2183d87 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.5.0-17-generic
}
menuentry "LinuxMint, with Linux 3.5.0-17-generic' --class linuxmint --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-17-generic-advanced-83586c6d-10fa-4343-ab9e-fdcca2183d87 (on /dev/sda11)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos11)'
search --no-floppy --fs-uuid --set=root 83586c6d-10fa-4343-ab9e-fdcca2183d87
linux /boot/vmlinuz-3.5.0-17-generic root=UUID=83586c6d-10fa-4343-ab9e-fdcca2183d87 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.5.0-17-generic
}
menuentry "LinuxMint, with Linux 3.5.0-17-generic (recovery mode)' --class linuxmint --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-17-generic-recovery-83586c6d-10fa-4343-ab9e-fdcca2183d87 (on /dev/sda11)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos11)'
search --no-floppy --fs-uuid --set=root 83586c6d-10fa-4343-ab9e-fdcca2183d87
linux /boot/vmlinuz-3.5.0-17-generic root=UUID=83586c6d-10fa-4343-ab9e-fdcca2183d87 ro recovery nomodeset
initrd /boot/initrd.img-3.5.0-17-generic
}
menuentry "Ubuntu, with Linux 3.5.0-17-generic (on /dev/sda15)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.5.0-17-generic--367872b1-a44c-4aa7-bdda-9f4aa1c21971 (on /dev/sda11)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos11)'
search --no-floppy --fs-uuid --set=root 83586c6d-10fa-4343-ab9e-fdcca2183d87
linux /boot/vmlinuz-3.5.0-17-generic root=UUID=367872b1-a44c-4aa7-bdda-9f4aa1c21971 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.5.0-17-generic
}
menuentry "Ubuntu, with Linux 3.5.0-17-generic (recovery mode) (on /dev/sda15)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.5.0-17-generic-root=UUID=367872b1-a44c-4aa7-bdda-9f4aa1c21971 ro recovery nomodeset-367872b1-a44c-4aa7-bdda-9f4aa1c21971 (on /dev/sda11)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos11)'
search --no-floppy --fs-uuid --set=root 83586c6d-10fa-4343-ab9e-fdcca2183d87
linux /boot/vmlinuz-3.5.0-17-generic root=UUID=367872b1-a44c-4aa7-bdda-9f4aa1c21971 ro recovery nomodeset
initrd /boot/initrd.img-3.5.0-17-generic
}
menuentry "Linux Mint 14 Nadia (14) (on /dev/sda15)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.5.0-17-generic--367872b1-a44c-4aa7-bdda-9f4aa1c21971 (on /dev/sda11)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos11)'
search --no-floppy --fs-uuid --set=root 83586c6d-10fa-4343-ab9e-fdcca2183d87
linux /boot/vmlinuz-3.5.0-17-generic root=UUID=83586c6d-10fa-4343-ab9e-fdcca2183d87 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.5.0-17-generic
}
menuentry "Ubuntu, with Linux 3.2.0-36-generic-pae (on /dev/sda12)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos12)'
search --no-floppy --fs-uuid --set=root c79f7c3d-dace-43c8-b1fe-4eb3184baafd
linux /boot/vmlinuz-3.2.0-36-generic-pae root=UUID=c79f7c3d-dace-43c8-b1fe-4eb3184baafd ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.2.0-36-generic-pae
}
menuentry "Ubuntu, with Linux 3.2.0-36-generic-pae (recovery mode) (on /dev/sda12)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos12)'
search --no-floppy --fs-uuid --set=root c79f7c3d-dace-43c8-b1fe-4eb3184baafd
linux /boot/vmlinuz-3.2.0-36-generic-pae root=UUID=c79f7c3d-dace-43c8-b1fe-4eb3184baafd ro recovery nomodeset
initrd /boot/initrd.img-3.2.0-36-generic-pae
}
menuentry "Ubuntu, with Linux 3.2.0-29-generic-pae (on /dev/sda12)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos12)'
search --no-floppy --fs-uuid --set=root c79f7c3d-dace-43c8-b1fe-4eb3184baafd
linux /boot/vmlinuz-3.2.0-29-generic-pae root=UUID=c79f7c3d-dace-43c8-b1fe-4eb3184baafd ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.2.0-29-generic-pae
}
menuentry "Ubuntu, with Linux 3.2.0-29-generic-pae (recovery mode) (on /dev/sda12)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos12)'
search --no-floppy --fs-uuid --set=root c79f7c3d-dace-43c8-b1fe-4eb3184baafd
linux /boot/vmlinuz-3.2.0-29-generic-pae root=UUID=c79f7c3d-dace-43c8-b1fe-4eb3184baafd ro recovery nomodeset
initrd /boot/initrd.img-3.2.0-29-generic-pae
}
menuentry "Ubuntu, with Linux 3.2.0-27-generic-pae (on /dev/sda12)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos12)'
search --no-floppy --fs-uuid --set=root c79f7c3d-dace-43c8-b1fe-4eb3184baafd
linux /boot/vmlinuz-3.2.0-27-generic-pae root=UUID=c79f7c3d-dace-43c8-b1fe-4eb3184baafd ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.2.0-27-generic-pae
}
menuentry "Ubuntu, with Linux 3.2.0-27-generic-pae (recovery mode) (on /dev/sda12)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos12)'
search --no-floppy --fs-uuid --set=root c79f7c3d-dace-43c8-b1fe-4eb3184baafd
linux /boot/vmlinuz-3.2.0-27-generic-pae root=UUID=c79f7c3d-dace-43c8-b1fe-4eb3184baafd ro recovery nomodeset
initrd /boot/initrd.img-3.2.0-27-generic-pae
}
menuentry "Ubuntu, with Linux 3.2.0-26-generic-pae (on /dev/sda12)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos12)'
search --no-floppy --fs-uuid --set=root c79f7c3d-dace-43c8-b1fe-4eb3184baafd
linux /boot/vmlinuz-3.2.0-26-generic-pae root=UUID=c79f7c3d-dace-43c8-b1fe-4eb3184baafd ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.2.0-26-generic-pae
}
menuentry "Ubuntu, with Linux 3.2.0-26-generic-pae (recovery mode) (on /dev/sda12)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos12)'
search --no-floppy --fs-uuid --set=root c79f7c3d-dace-43c8-b1fe-4eb3184baafd
linux /boot/vmlinuz-3.2.0-26-generic-pae root=UUID=c79f7c3d-dace-43c8-b1fe-4eb3184baafd ro recovery nomodeset
initrd /boot/initrd.img-3.2.0-26-generic-pae
}
menuentry "Ubuntu, with Linux 3.2.0-23-generic-pae (on /dev/sda12)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos12)'
search --no-floppy --fs-uuid --set=root c79f7c3d-dace-43c8-b1fe-4eb3184baafd
linux /boot/vmlinuz-3.2.0-23-generic-pae root=UUID=c79f7c3d-dace-43c8-b1fe-4eb3184baafd ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.2.0-23-generic-pae
}
menuentry "Ubuntu, with Linux 3.2.0-23-generic-pae (recovery mode) (on /dev/sda12)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos12)'
search --no-floppy --fs-uuid --set=root c79f7c3d-dace-43c8-b1fe-4eb3184baafd
linux /boot/vmlinuz-3.2.0-23-generic-pae root=UUID=c79f7c3d-dace-43c8-b1fe-4eb3184baafd ro recovery nomodeset
initrd /boot/initrd.img-3.2.0-23-generic-pae
}
menuentry "Fuduntu 2013.1 (Punny Name Serious Distro) (on /dev/sda13)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos13)'
search --no-floppy --fs-uuid --set=root fde15ce1-4709-4484-bad4-266969bce63d
linux /boot/vmlinuz-3.6.11-1.fu2013.i686 root=/dev/sda13
initrd /boot/initramfs-3.6.11-1.fu2013.i686.img
}
menuentry "Fuduntu 2013.1 (Punny Name Serious Distro) (on /dev/sda13)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos13)'
search --no-floppy --fs-uuid --set=root fde15ce1-4709-4484-bad4-266969bce63d
linux /boot/vmlinuz-3.6.9-1.fu2013.i686 root=/dev/sda13
initrd /boot/initramfs-3.6.9-1.fu2013.i686.img
}
menuentry "linux (on /dev/sda14)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos14)'
search --no-floppy --fs-uuid --set=root 3f60e3d7-60b3-4485-856f-30fc200b7d8d
linux /boot/vmlinuz BOOT_IMAGE=linux root=UUID=3f60e3d7-60b3-4485-856f-30fc200b7d8d quiet vmalloc=256M acpi=on resume=UUID=6b26131d-bd0c-4c2d-a081-1f8317aa49fc splash=silent vga=788
initrd (hd0,13)/boot/initrd.img
}
menuentry "linux-nonfb (on /dev/sda14)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos14)'
search --no-floppy --fs-uuid --set=root 3f60e3d7-60b3-4485-856f-30fc200b7d8d
linux /boot/vmlinuz BOOT_IMAGE=linux-nonfb root=UUID=3f60e3d7-60b3-4485-856f-30fc200b7d8d quiet vmalloc=256M acpi=on resume=UUID=6b26131d-bd0c-4c2d-a081-1f8317aa49fc
initrd (hd0,13)/boot/initrd.img
}
menuentry "failsafe (on /dev/sda14)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos14)'
search --no-floppy --fs-uuid --set=root 3f60e3d7-60b3-4485-856f-30fc200b7d8d
linux /boot/vmlinuz BOOT_IMAGE=failsafe root=UUID=3f60e3d7-60b3-4485-856f-30fc200b7d8d quiet failsafe vmalloc=256M acpi=on
initrd (hd0,13)/boot/initrd.img
}
menuentry "lDebian_6.0 (on /dev/sda14)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos14)'
search --no-floppy --fs-uuid --set=root 3f60e3d7-60b3-4485-856f-30fc200b7d8d
linux /boot/vmlinuz BOOT_IMAGE=lDebian_6.0 root=UUID=3721609f-573f-4ee3-a812-d53ac45a3e23
initrd (hd0,13)/boot/initrd.img
}
menuentry "Rosa (on /dev/sda14)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos14)'
search --no-floppy --fs-uuid --set=root 3f60e3d7-60b3-4485-856f-30fc200b7d8d
linux /boot/vmlinuz BOOT_IMAGE=Rosa root=UUID=eb3857f3-c549-4909-8c50-18633a7a629a
initrd (hd0,13)/boot/initrd.img
}
menuentry "Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-d9d34027-c16e-4fba-ab49-11c5919a09f2 (on /dev/sda15)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos15)'
search --no-floppy --fs-uuid --set=root d9d34027-c16e-4fba-ab49-11c5919a09f2
linux /boot/vmlinuz-3.5.0-22-generic root=UUID=d9d34027-c16e-4fba-ab49-11c5919a09f2 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.5.0-22-generic
}
menuentry "Ubuntu, with Linux 3.5.0-22-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-22-generic-advanced-d9d34027-c16e-4fba-ab49-11c5919a09f2 (on /dev/sda15)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos15)'
search --no-floppy --fs-uuid --set=root d9d34027-c16e-4fba-ab49-11c5919a09f2
linux /boot/vmlinuz-3.5.0-22-generic root=UUID=d9d34027-c16e-4fba-ab49-11c5919a09f2 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.5.0-22-generic
}
menuentry "Ubuntu, with Linux 3.5.0-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-22-generic-recovery-d9d34027-c16e-4fba-ab49-11c5919a09f2 (on /dev/sda15)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos15)'
search --no-floppy --fs-uuid --set=root d9d34027-c16e-4fba-ab49-11c5919a09f2
linux /boot/vmlinuz-3.5.0-22-generic root=UUID=d9d34027-c16e-4fba-ab49-11c5919a09f2 ro recovery nomodeset
initrd /boot/initrd.img-3.5.0-22-generic
}
menuentry "Ubuntu, with Linux 3.5.0-17-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-17-generic-advanced-d9d34027-c16e-4fba-ab49-11c5919a09f2 (on /dev/sda15)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos15)'
search --no-floppy --fs-uuid --set=root d9d34027-c16e-4fba-ab49-11c5919a09f2
linux /boot/vmlinuz-3.5.0-17-generic root=UUID=d9d34027-c16e-4fba-ab49-11c5919a09f2 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.5.0-17-generic
}
menuentry "Ubuntu, with Linux 3.5.0-17-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-17-generic-recovery-d9d34027-c16e-4fba-ab49-11c5919a09f2 (on /dev/sda15)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos15)'
search --no-floppy --fs-uuid --set=root d9d34027-c16e-4fba-ab49-11c5919a09f2
linux /boot/vmlinuz-3.5.0-17-generic root=UUID=d9d34027-c16e-4fba-ab49-11c5919a09f2 ro recovery nomodeset
initrd /boot/initrd.img-3.5.0-17-generic
}
menuentry "Linux Mint 14 Nadia (14) (on /dev/sda15)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos15)'
search --no-floppy --fs-uuid --set=root d9d34027-c16e-4fba-ab49-11c5919a09f2
linux /boot/vmlinuz-3.5.0-17-generic root=UUID=83586c6d-10fa-4343-ab9e-fdcca2183d87 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.5.0-17-generic
}
menuentry "Debian 6.0 (on /dev/sda16)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos16)'
search --no-floppy --fs-uuid --set=root 45e51a97-f716-4e8e-83c3-57c2cf82e2bd
linux /boot/vmlinuz BOOT_IMAGE=Debian_6.0 root=/dev/sda16
initrd (hd0,15)/boot/initrd.img
}
menuentry "Zorin (on /dev/sda16)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos16)'
search --no-floppy --fs-uuid --set=root 45e51a97-f716-4e8e-83c3-57c2cf82e2bd
linux /boot/vmlinuz BOOT_IMAGE=Zorin root=UUID=e9981279-5473-4383-af4f-480c1e80dc7d
initrd (hd0,15)/boot/initrd.img
}
menuentry "Ubuntu (on /dev/sda16)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos16)'
search --no-floppy --fs-uuid --set=root 45e51a97-f716-4e8e-83c3-57c2cf82e2bd
linux /boot/vmlinuz BOOT_IMAGE=Ubuntu root=UUID=367872b1-a44c-4aa7-bdda-9f4aa1c21971
initrd (hd0,15)/boot/initrd.img
}
menuentry "Rosa (on /dev/sda16)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos16)'
search --no-floppy --fs-uuid --set=root 45e51a97-f716-4e8e-83c3-57c2cf82e2bd
linux /boot/vmlinuz BOOT_IMAGE=Rosa root=UUID=eb3857f3-c549-4909-8c50-18633a7a629a
initrd (hd0,15)/boot/initrd.img
}
menuentry "Bodhi (on /dev/sda16)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos16)'
search --no-floppy --fs-uuid --set=root 45e51a97-f716-4e8e-83c3-57c2cf82e2bd
linux /boot/vmlinuz BOOT_IMAGE=Bodhi root=UUID=4422fa02-f4c0-4eb8-9f7c-bd87abe1d76f
initrd (hd0,15)/boot/initrd.img
}
menuentry "Mint 14 (on /dev/sda16)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos16)'
search --no-floppy --fs-uuid --set=root 45e51a97-f716-4e8e-83c3-57c2cf82e2bd
linux /boot/vmlinuz BOOT_IMAGE=Mint_14 root=UUID=83586c6d-10fa-4343-ab9e-fdcca2183d87
initrd (hd0,15)/boot/initrd.img
}
menuentry "Oz Black Opal (on /dev/sda16)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos16)'
search --no-floppy --fs-uuid --set=root 45e51a97-f716-4e8e-83c3-57c2cf82e2bd
linux /boot/vmlinuz BOOT_IMAGE=Oz_Black_Opal root=UUID=c79f7c3d-dace-43c8-b1fe-4eb3184baafd
initrd (hd0,15)/boot/initrd.img
}
menuentry "PClinuxOS (on /dev/sda16)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos16)'
search --no-floppy --fs-uuid --set=root 45e51a97-f716-4e8e-83c3-57c2cf82e2bd
linux /boot/vmlinuz BOOT_IMAGE=PClinuxOS root=UUID=3f60e3d7-60b3-4485-856f-30fc200b7d8d
initrd (hd0,15)/boot/initrd.img
}
menuentry "linux (on /dev/sda16)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos16)'
search --no-floppy --fs-uuid --set=root 45e51a97-f716-4e8e-83c3-57c2cf82e2bd
linux /boot/vmlinuz BOOT_IMAGE=linux root=UUID=45e51a97-f716-4e8e-83c3-57c2cf82e2bd
initrd (hd0,15)/boot/initrd.img
}
menuentry "desktop586 3.4.24-3.mga2 (on /dev/sda16)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos16)'
search --no-floppy --fs-uuid --set=root 45e51a97-f716-4e8e-83c3-57c2cf82e2bd
linux /boot/vmlinuz-3.4.24-desktop586-3.mga2 BOOT_IMAGE=desktop586_3.4.24-3.mga2 root=UUID=45e51a97-f716-4e8e-83c3-57c2cf82e2bd
initrd (hd0,15)/boot/initrd-3.4.24-desktop586-3.mga2.img
}
menuentry "PearLinux, with Linux 3.2.0-35-generic-pae (on /dev/sda17)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos17)'
search --no-floppy --fs-uuid --set=root dd2cef01-be59-487c-8d5b-df6c2f85f36f
linux /boot/vmlinuz-3.2.0-35-generic-pae root=UUID=dd2cef01-be59-487c-8d5b-df6c2f85f36f ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.2.0-35-generic-pae
}
menuentry "PearLinux, with Linux 3.2.0-35-generic-pae (recovery mode) (on /dev/sda17)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos17)'
search --no-floppy --fs-uuid --set=root dd2cef01-be59-487c-8d5b-df6c2f85f36f
linux /boot/vmlinuz-3.2.0-35-generic-pae root=UUID=dd2cef01-be59-487c-8d5b-df6c2f85f36f ro recovery nomodeset
initrd /boot/initrd.img-3.2.0-35-generic-pae
}
menuentry "Zorin, with Linux 3.2.0-36-generic-pae (on /dev/sda19)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos19)'
search --no-floppy --fs-uuid --set=root a64b87a4-1cda-48ca-afb0-c8e3c50d3097
linux /boot/vmlinuz-3.2.0-36-generic-pae root=UUID=a64b87a4-1cda-48ca-afb0-c8e3c50d3097 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.2.0-36-generic-pae
}
menuentry "Zorin, with Linux 3.2.0-36-generic-pae (recovery mode) (on /dev/sda19)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos19)'
search --no-floppy --fs-uuid --set=root a64b87a4-1cda-48ca-afb0-c8e3c50d3097
linux /boot/vmlinuz-3.2.0-36-generic-pae root=UUID=a64b87a4-1cda-48ca-afb0-c8e3c50d3097 ro recovery nomodeset
initrd /boot/initrd.img-3.2.0-36-generic-pae
}
menuentry "Zorin, with Linux 3.2.0-32-generic-pae (on /dev/sda19)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos19)'
search --no-floppy --fs-uuid --set=root a64b87a4-1cda-48ca-afb0-c8e3c50d3097
linux /boot/vmlinuz-3.2.0-32-generic-pae root=UUID=a64b87a4-1cda-48ca-afb0-c8e3c50d3097 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.2.0-32-generic-pae
}
menuentry "Zorin, with Linux 3.2.0-32-generic-pae (recovery mode) (on /dev/sda19)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos19)'
search --no-floppy --fs-uuid --set=root a64b87a4-1cda-48ca-afb0-c8e3c50d3097
linux /boot/vmlinuz-3.2.0-32-generic-pae root=UUID=a64b87a4-1cda-48ca-afb0-c8e3c50d3097 ro recovery nomodeset
initrd /boot/initrd.img-3.2.0-32-generic-pae
}
menuentry "Ubuntu, with Linux 3.2.0-36-generic-pae (on /dev/sda20)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos20)'
search --no-floppy --fs-uuid --set=root 68532c6e-0b10-4e2c-a732-9b454d3db143
linux /boot/vmlinuz-3.2.0-36-generic-pae root=UUID=68532c6e-0b10-4e2c-a732-9b454d3db143 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.2.0-36-generic-pae
}
menuentry "Ubuntu, with Linux 3.2.0-36-generic-pae (recovery mode) (on /dev/sda20)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos20)'
search --no-floppy --fs-uuid --set=root 68532c6e-0b10-4e2c-a732-9b454d3db143
linux /boot/vmlinuz-3.2.0-36-generic-pae root=UUID=68532c6e-0b10-4e2c-a732-9b454d3db143 ro recovery nomodeset
initrd /boot/initrd.img-3.2.0-36-generic-pae
}
menuentry "Ubuntu, with Linux 3.2.0-35-generic-pae (on /dev/sda20)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos20)'
search --no-floppy --fs-uuid --set=root 68532c6e-0b10-4e2c-a732-9b454d3db143
linux /boot/vmlinuz-3.2.0-35-generic-pae root=UUID=68532c6e-0b10-4e2c-a732-9b454d3db143 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.2.0-35-generic-pae
}
menuentry "Ubuntu, with Linux 3.2.0-35-generic-pae (recovery mode) (on /dev/sda20)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos20)'
search --no-floppy --fs-uuid --set=root 68532c6e-0b10-4e2c-a732-9b454d3db143
linux /boot/vmlinuz-3.2.0-35-generic-pae root=UUID=68532c6e-0b10-4e2c-a732-9b454d3db143 ro recovery nomodeset
initrd /boot/initrd.img-3.2.0-35-generic-pae
}
menuentry "Ubuntu, with Linux 3.2.0-34-generic-pae (on /dev/sda20)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos20)'
search --no-floppy --fs-uuid --set=root 68532c6e-0b10-4e2c-a732-9b454d3db143
linux /boot/vmlinuz-3.2.0-34-generic-pae root=UUID=68532c6e-0b10-4e2c-a732-9b454d3db143 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.2.0-34-generic-pae
}
menuentry "Ubuntu, with Linux 3.2.0-34-generic-pae (recovery mode) (on /dev/sda20)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos20)'
search --no-floppy --fs-uuid --set=root 68532c6e-0b10-4e2c-a732-9b454d3db143
linux /boot/vmlinuz-3.2.0-34-generic-pae root=UUID=68532c6e-0b10-4e2c-a732-9b454d3db143 ro recovery nomodeset
initrd /boot/initrd.img-3.2.0-34-generic-pae
}
menuentry "Pinguy OS, with Linux 3.2.0-25-generic (on /dev/sda21)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos21)'
search --no-floppy --fs-uuid --set=root c3e231a3-7454-4ff7-b076-ba9211eaa384
linux /boot/vmlinuz-3.2.0-25-generic root=UUID=c3e231a3-7454-4ff7-b076-ba9211eaa384 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.2.0-25-generic
}
menuentry "Pinguy OS, with Linux 3.2.0-25-generic (recovery mode) (on /dev/sda21)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos21)'
search --no-floppy --fs-uuid --set=root c3e231a3-7454-4ff7-b076-ba9211eaa384
linux /boot/vmlinuz-3.2.0-25-generic root=UUID=c3e231a3-7454-4ff7-b076-ba9211eaa384 ro recovery nomodeset
initrd /boot/initrd.img-3.2.0-25-generic
}
menuentry "CentOS (2.6.32-279.19.1.el6.i686) (on /dev/sda6)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set=root 9db5e275-7ced-4f54-a1f5-2fea5591ffa7
linux /boot/vmlinuz-2.6.32-279.19.1.el6.i686 ro root=UUID=9db5e275-7ced-4f54-a1f5-2fea5591ffa7 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
initrd /boot/initramfs-2.6.32-279.19.1.el6.i686.img
}
menuentry "CentOS (2.6.32-279.el6.i686) (on /dev/sda6)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set=root 9db5e275-7ced-4f54-a1f5-2fea5591ffa7
linux /boot/vmlinuz-2.6.32-279.el6.i686 ro root=UUID=9db5e275-7ced-4f54-a1f5-2fea5591ffa7 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
initrd /boot/initramfs-2.6.32-279.el6.i686.img
}
menuentry "Debian GNU/Linux, with Linux 2.6.32-5-686 (on /dev/sda8)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos8)'
search --no-floppy --fs-uuid --set=root b18e5f58-51f8-49e7-83c0-2fcea86b7262
linux /boot/vmlinuz-2.6.32-5-686 root=UUID=b18e5f58-51f8-49e7-83c0-2fcea86b7262 ro quiet
initrd /boot/initrd.img-2.6.32-5-686
}
menuentry "Debian GNU/Linux, with Linux 2.6.32-5-686 (recovery mode) (on /dev/sda8)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos8)'
search --no-floppy --fs-uuid --set=root b18e5f58-51f8-49e7-83c0-2fcea86b7262
linux /boot/vmlinuz-2.6.32-5-686 root=UUID=b18e5f58-51f8-49e7-83c0-2fcea86b7262 ro single
initrd /boot/initrd.img-2.6.32-5-686
}
menuentry "ROSA Linux 2012.1 (2012.1) (on /dev/sda9)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos9)'
search --no-floppy --fs-uuid --set=root eb3857f3-c549-4909-8c50-18633a7a629a
linux /boot/vmlinuz-3.6.10-nrj-desktop-1rosa root=/dev/sda9
initrd /boot/initramfs-3.6.10-nrj-desktop-1rosa.img
}
menuentry "ROSA Linux 2012.1 (2012.1) (on /dev/sda9)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos9)'
search --no-floppy --fs-uuid --set=root eb3857f3-c549-4909-8c50-18633a7a629a
linux /boot/vmlinuz-3.6.10-nrj-desktop-1rosa root=/dev/sda9
initrd /boot/initrd-3.6.10-nrj-desktop-1rosa.img
}
menuentry "ROSA Linux 2012.1 (2012.1) (on /dev/sda9)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos9)'
search --no-floppy --fs-uuid --set=root eb3857f3-c549-4909-8c50-18633a7a629a
linux /boot/vmlinuz-nrj-desktop root=/dev/sda9
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### 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 ###
 
Old 02-03-2013, 11:56 AM   #5
billie
LQ Newbie
 
Registered: Feb 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
The next two entries are grub.cfg. This is the output from update-grub:

billie@billie-SB83V10 ~ $ sudo update-grub
[sudo] password for billie:
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-23-generic
Found initrd image: /boot/initrd.img-3.2.0-23-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Bodhi Linux 2.0.0 (12.04) on /dev/sda10
Found Linux Mint 14 Nadia (14) on /dev/sda11
Found Ubuntu 12.04.1 LTS (12.04) on /dev/sda12
Found Fuduntu 2013.1 (Punny Name Serious Distro) on /dev/sda13
Found PCLinuxOS on /dev/sda14
Found Ubuntu 12.10 (12.10) on /dev/sda15
Found Mageia 2 (2) on /dev/sda16
Found Pear Linux 6.1 LTS (6.1) on /dev/sda17
Found Zorin OS 6 (6) on /dev/sda19
Found Ubuntu 12.04.1 LTS (12.04) on /dev/sda20
Found Ubuntu 12.04 LTS (12.04) on /dev/sda21
Found CentOS release 6.3 (Final) on /dev/sda6
Found Debian GNU/Linux (6.0.6) on /dev/sda8
Found ROSA Linux 2012.1 (2012.1) on /dev/sda9
done


This is mostly okay (it shows mageia instead of ubuntu which I installed in its place a few days ago. But somehow each new grub incorporates all of the bad data again. Grub.cfg has been generated a number of times, by digfferent oses, since the errors appeared.
 
  


Reply

Tags
grub2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Grub /boot entries loftus49 Linux - Software 5 04-06-2011 03:12 PM
How do I delete entries from grub? joseph2020 Ubuntu 5 02-17-2011 10:09 PM
LXer: Grub Customizer Lets You Reorder, Add Or Remove GRUB 2 (Or BURG) Menu Entries LXer Syndicated Linux News 0 10-09-2010 05:20 PM
GRUB 2 - multiple entries dreamweaver547 Ubuntu 5 12-13-2009 11:32 AM
duplicate entries in grub d_GeNeRiT Fedora 5 01-26-2006 07:22 AM


All times are GMT -5. The time now is 10:42 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration