Page 90 of 94 FirstFirst ... 40808889909192 ... LastLast
Results 891 to 900 of 931

Thread: Grub 2 Basics

  1. #891
    Join Date
    Oct 2009
    Location
    Sydney
    Beans
    4,301
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Grub 2 Basics

    Quote Originally Posted by oldfred View Post
    Are you sure it is repeated and not different kernels?
    A side of there are old Kernels,the menu is duplicated:

    Code:
    Generating grub.cfg ...
    Found linux image: /boot/vmlinuz-3.2.0-24-generic
    Found initrd image: /boot/initrd.img-3.2.0-24-generic
    Found linux image: /boot/vmlinuz-3.0.0-17-generic
    Found initrd image: /boot/initrd.img-3.0.0-17-generic
    Found memtest86+ image: /boot/memtest86+.bin
    Found Linux Mint 12 Lisa (12) on /dev/sda10
    Found Ubuntu 11.10 (11.10) on /dev/sda11
    Found Ubuntu 12.04 LTS (12.04) on /dev/sda12
    Found Ubuntu precise (development branch) (12.04) on /dev/sda13
    Found Ubuntu 11.10 (11.10) on /dev/sda16
    Found Ubuntu 11.04 (11.04) on /dev/sda5
    Found Ubuntu 11.10 (11.10) on /dev/sda6
    Found Ubuntu 10.04.3 LTS (10.04) on /dev/sda7
    Found Ubuntu 11.10 (11.10) on /dev/sda8
    Found Linux Mint 11 LXDE (11) on /dev/sda9
    Found Linux Mint 12 Lisa (12) on /dev/sda10
    Found Ubuntu 11.10 (11.10) on /dev/sda11
    Found Ubuntu 12.04 LTS (12.04) on /dev/sda12
    Found Ubuntu precise (development branch) (12.04) on /dev/sda13
    Found Ubuntu 11.10 (11.10) on /dev/sda16
    Found Ubuntu 11.04 (11.04) on /dev/sda5
    Found Ubuntu 11.10 (11.10) on /dev/sda6
    Found Ubuntu 10.04.3 LTS (10.04) on /dev/sda7
    Found Ubuntu 11.10 (11.10) on /dev/sda8
    Found Linux Mint 11 LXDE (11) on /dev/sda9
    done
    You can houseclean old kernels in each install to reduce entries.
    Yes my good friend, I'm aware of this but the duplication (I don't know what happened - I'm interested to find out), IMHO, must be fixed first or I could be wrong about this.

    But if repeated, it may be a script issue in os-prober of some sort? We have seen where a user created multiple copies of some scripts.
    I never ever use any script
    Everything was fine "before" the upgrade from Lubuntu 11.10 to Lubuntu 12.04 and I'm not exactly blaming the upgrade itself, but ... could be something happened to the GRUB Customizer? because I used to "Hide" the older Kernel using GRUB Customizer so that explains why the old Kernels are showing up again. However, that doesn't explain, IMHO, the duplication.

    I like to keep two as a minimum.
    Same here


    If you want to try 40_custom you can add just one of your other Ubuntu entires with this. pick the partition number and edit partition number and label. I think cavsfan link has more detail.

    gksudo gedit /etc/grub.d/40_custom
    Then do:
    sudo update-grub

    I first saw this from Ranch hand
    Note that this does not define the kernel. It defines the partition. It boots the newest bootable kernel that it finds at that partition. example based on sda13 change all 13's to your partition number.

    menuentry "Ubuntu on sda13" {
    set root=(hd0,13)
    linux /vmlinuz root=/dev/sda13 ro quiet splash
    initrd /initrd.img
    }

    If that boots your install in any of your partitions, then we can add all your other installs, and turn off os-prober. Then you only have one entry per install.
    Before I try that, does GRUB Customizer offer such feature or process? for me, I have two test machines with Multi-Booting Systems (not less than 6 systems minimum) and GRUB Customizer is a great tool to save time. I'd love to improve my skills with editing GRUB,etc but I don't have much time these days

    Thanks a lot, oldfred for your help ... I'd like to find out what is going on with the duplication

    P.S.
    @Cavsfan
    I may try that but first, I need to know the answer for my Qs above
    Thanks a lot

  2. #892
    Join Date
    Aug 2009
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Grub 2 Basics

    amjjawad, what does this produce entered in terminal:
    Code:
    grep menuentry /boot/grub/grub.cfg | cut -b 1-11 --complement | cut -d "'" -f1 | cut -d "\"" -f 1 | nl --starting-line-number=0
    And this: sudo grub-mkconfig

  3. #893
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Grub 2 Basics

    amjjawad,

    The multip le entries may be coming from Grub2 'mining' information from other Grub menus. In other words, when Grub updates, it searches all the other partitions for bootable kernels and from Grub-readable menus.

    It will look for grub.cfg and menu.lst files and can extract entries from those.

    When I was troubleshooting this type of problem, I first looked at grub.cfg to see if all the duplicates were located in the 30_os-prober section. If so, I then looked at those partitions (based on the entry) to see what kind of old (or current) menus might be found by grub.

    As a test, I would rename an entry in those menus and then run update-grub to see if the new name appeared in grub.cfg. For instance, I'd rename an entry "Ubuntu..." to "UUbuntu".

    And don't forget if you use variations of Ubuntu (Mint, etc) the kernel title may be the same as that of your Ubuntu OS. I am not sure what the current policy is, but a while ago most of the variations still showed up as "Ubuntu, ..." even if it was really a Kubuntu installation, etc. Don't use those distros so I don't know if that is still the case.
    Back to Xorg...

    Retired.

  4. #894
    Join Date
    Oct 2009
    Location
    Sydney
    Beans
    4,301
    Distro
    Ubuntu 20.04 Focal Fossa

    I know, don't hate me :D

    Quote Originally Posted by Cavsfan View Post
    amjjawad, what does this produce entered in terminal:
    Code:
    grep menuentry /boot/grub/grub.cfg | cut -b 1-11 --complement | cut -d "'" -f1 | cut -d "\"" -f 1 | nl --starting-line-number=0
    Code:
    0	Ubuntu, with Linux 3.2.0-24-generic
         1	Ubuntu, with Linux 3.2.0-24-generic (recovery mode)
         2	Ubuntu, with Linux 3.0.0-17-generic
         3	Ubuntu, with Linux 3.0.0-17-generic (recovery mode)
         4	Memory test (memtest86+)
         5	Memory test (memtest86+, serial console 115200)
         6	Linux Mint 12 32-bit, 3.0.0-12-generic (/dev/sda10) (on /dev/sda10)
         7	Linux Mint 12 32-bit, 3.0.0-12-generic (/dev/sda10) -- recovery mode (on /dev/sda10)
         8	Ubuntu 11.10 (11.10) (on /dev/sda11)
         9	Ubuntu 11.10 (11.10) (on /dev/sda11)
        10	Ubuntu 11.10 (11.10) (on /dev/sda11)
        11	Ubuntu 11.10 (11.10) (on /dev/sda11)
        12	Ubuntu 11.10 (11.10) (on /dev/sda11)
        13	Ubuntu, with Linux 3.2.0-24-generic (on /dev/sda12)
        14	Ubuntu, with Linux 3.2.0-24-generic (recovery mode) (on /dev/sda12)
        15	Ubuntu, with Linux 3.2.0-21-generic (on /dev/sda12)
        16	Ubuntu, with Linux 3.2.0-21-generic (recovery mode) (on /dev/sda12)
        17	Ubuntu, with Linux 3.2.0-20-generic (on /dev/sda12)
        18	Ubuntu, with Linux 3.2.0-20-generic (recovery mode) (on /dev/sda12)
        19	Ubuntu, with Linux 3.2.0-14-generic-pae (on /dev/sda13)
        20	Ubuntu, with Linux 3.2.0-14-generic-pae (recovery mode) (on /dev/sda13)
        21	Ubuntu, with Linux 3.0.0-17-generic (on /dev/sda16)
        22	Ubuntu, with Linux 3.0.0-17-generic (recovery mode) (on /dev/sda16)
        23	Ubuntu, with Linux 3.0.0-12-generic (on /dev/sda16)
        24	Ubuntu, with Linux 3.0.0-12-generic (recovery mode) (on /dev/sda16)
        25	Ubuntu, with Linux 2.6.38-8-generic (on /dev/sda5)
        26	Ubuntu, with Linux 2.6.38-8-generic (recovery mode) (on /dev/sda5)
        27	Ubuntu, with Linux 3.0.0-12-generic (on /dev/sda6)
        28	Ubuntu, with Linux 3.0.0-12-generic (recovery mode) (on /dev/sda6)
        29	Ubuntu, with Linux 2.6.32-33-generic (on /dev/sda7)
        30	Ubuntu, with Linux 2.6.32-33-generic (recovery mode) (on /dev/sda7)
        31	Ubuntu, with Linux 3.0.0-12-generic (on /dev/sda8)
        32	Ubuntu, with Linux 3.0.0-12-generic (recovery mode) (on /dev/sda8)
        33	Linux Mint 11 LXDE, 2.6.38-8-generic (/dev/sda9) (on /dev/sda9)
        34	Linux Mint 11 LXDE, 2.6.38-8-generic (/dev/sda9) -- recovery mode (on /dev/sda9)
        35	Ubuntu 11.10 (11.10) (on /dev/sda11)
        36	Ubuntu 11.10 (11.10) (on /dev/sda11)
        37	Ubuntu 11.10 (11.10) (on /dev/sda11)
        38	Ubuntu 11.10 (11.10) (on /dev/sda11)
        39	Ubuntu 11.10 (11.10) (on /dev/sda11)
        40	Ubuntu 11.10 (11.10) (on /dev/sda11)
        41	Ubuntu 11.10 (11.10) (on /dev/sda11)
        42	Ubuntu 11.10 (11.10) (on /dev/sda11)
        43	Ubuntu 11.10 (11.10) (on /dev/sda11)
        44	Lubuntu 11.04, with Linux 2.6.38-8-generic (on /dev/sda5)
        45	Lubuntu 11.04, with Linux 2.6.38-8-generic (recovery mode) (on /dev/sda5)
        46	Xubuntu 11.10, with Linux 3.0.0-12-generic (on /dev/sda6)
        47	Xubuntu 11.10, with Linux 3.0.0-12-generic (recovery mode) (on /dev/sda6)
        48	Ubuntu 10.04, with Linux 2.6.32-33-generic (on /dev/sda7)
        49	Ubuntu 10.04, with Linux 2.6.32-33-generic (recovery mode) (on /dev/sda7)
        50	Ubuntu 11.10, with Linux 3.0.0-12-generic (on /dev/sda8)
        51	Ubuntu 11.10, with Linux 3.0.0-12-generic (recovery mode) (on /dev/sda8)
        52	Linux Mint 11 LXDE, 2.6.38-8-generic (/dev/sda9) (on /dev/sda9)
        53	Linux Mint 11 LXDE, 2.6.38-8-generic (/dev/sda9) -- recovery mode (on /dev/sda9)
        54	Linux Mint 12 32-bit, 3.0.0-12-generic (/dev/sda10) (on /dev/sda10)
        55	Linux Mint 12 32-bit, 3.0.0-12-generic (/dev/sda10) -- recovery mode (on /dev/sda10)
        56	Lubuntu 12.04, with Linux 3.2.0-24-generic (on /dev/sda12)
        57	Lubuntu 12.04, with Linux 3.2.0-24-generic (recovery mode) (on /dev/sda12)
        58	Ubuntu 12.04, with Linux 3.2.0-14-generic-pae (on /dev/sda13)
        59	Ubuntu 12.04, with Linux 3.2.0-14-generic-pae (recovery mode) (on /dev/sda13)
        60	Lubuntu 11.10 64bit, with Linux 3.0.0-17-generic (on /dev/sda16)
        61	Lubuntu 11.10 64bit, with Linux 3.0.0-17-generic (recovery mode) (on /dev/sda16)
    And this: sudo grub-mkconfig
    Are you sure you want to have a look at this? O_o

    Code:
    Generating grub.cfg ...
    #
    # 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,msdos1)'
    search --no-floppy --fs-uuid --set=root ae0e04b8-d7cd-4dd8-bd64-cc903be3c3f7
    if loadfont /usr/share/grub/unicode.pf2 ; then
      set gfxmode=800x600x16
      load_video
      insmod gfxterm
      insmod part_msdos
      insmod ext2
      set root='(hd0,msdos1)'
      search --no-floppy --fs-uuid --set=root ae0e04b8-d7cd-4dd8-bd64-cc903be3c3f7
      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_proxy ###
    Found linux image: /boot/vmlinuz-3.2.0-24-generic
    Found initrd image: /boot/initrd.img-3.2.0-24-generic
    Found linux image: /boot/vmlinuz-3.0.0-17-generic
    Found initrd image: /boot/initrd.img-3.0.0-17-generic
    menuentry "Ubuntu, with Linux 3.2.0-24-generic" --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	set gfxpayload=$linux_gfx_mode
    	insmod gzio
    	insmod part_msdos
    	insmod ext2
    	set root='(hd0,msdos1)'
    	search --no-floppy --fs-uuid --set=root ae0e04b8-d7cd-4dd8-bd64-cc903be3c3f7
    	linux	/boot/vmlinuz-3.2.0-24-generic root=UUID=ae0e04b8-d7cd-4dd8-bd64-cc903be3c3f7 ro   quiet splash vt.handoff=7
    	initrd	/boot/initrd.img-3.2.0-24-generic
    }
    menuentry "Ubuntu, with Linux 3.2.0-24-generic (recovery mode)" --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod gzio
    	insmod part_msdos
    	insmod ext2
    	set root='(hd0,msdos1)'
    	search --no-floppy --fs-uuid --set=root ae0e04b8-d7cd-4dd8-bd64-cc903be3c3f7
    	echo	'Loading Linux 3.2.0-24-generic ...'
    	linux	/boot/vmlinuz-3.2.0-24-generic root=UUID=ae0e04b8-d7cd-4dd8-bd64-cc903be3c3f7 ro recovery nomodeset 
    	echo	'Loading initial ramdisk ...'
    	initrd	/boot/initrd.img-3.2.0-24-generic
    }
    menuentry "Ubuntu, with Linux 3.0.0-17-generic" --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	set gfxpayload=$linux_gfx_mode
    	insmod gzio
    	insmod part_msdos
    	insmod ext2
    	set root='(hd0,msdos1)'
    	search --no-floppy --fs-uuid --set=root ae0e04b8-d7cd-4dd8-bd64-cc903be3c3f7
    	linux	/boot/vmlinuz-3.0.0-17-generic root=UUID=ae0e04b8-d7cd-4dd8-bd64-cc903be3c3f7 ro   quiet splash vt.handoff=7
    	initrd	/boot/initrd.img-3.0.0-17-generic
    }
    menuentry "Ubuntu, with Linux 3.0.0-17-generic (recovery mode)" --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod gzio
    	insmod part_msdos
    	insmod ext2
    	set root='(hd0,msdos1)'
    	search --no-floppy --fs-uuid --set=root ae0e04b8-d7cd-4dd8-bd64-cc903be3c3f7
    	echo	'Loading Linux 3.0.0-17-generic ...'
    	linux	/boot/vmlinuz-3.0.0-17-generic root=UUID=ae0e04b8-d7cd-4dd8-bd64-cc903be3c3f7 ro recovery nomodeset 
    	echo	'Loading initial ramdisk ...'
    	initrd	/boot/initrd.img-3.0.0-17-generic
    }
    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
    ### END /etc/grub.d/10_linux_proxy ###
    
    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    Found memtest86+ image: /boot/memtest86+.bin
    menuentry "Memory test (memtest86+)" {
    	insmod part_msdos
    	insmod ext2
    	set root='(hd0,msdos1)'
    	search --no-floppy --fs-uuid --set=root ae0e04b8-d7cd-4dd8-bd64-cc903be3c3f7
    	linux16	/boot/memtest86+.bin
    }
    menuentry "Memory test (memtest86+, serial console 115200)" {
    	insmod part_msdos
    	insmod ext2
    	set root='(hd0,msdos1)'
    	search --no-floppy --fs-uuid --set=root ae0e04b8-d7cd-4dd8-bd64-cc903be3c3f7
    	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
    }
    ### END /etc/grub.d/20_memtest86+ ###
    
    ### BEGIN /etc/grub.d/30_os-prober ###
    Found Linux Mint 12 Lisa (12) on /dev/sda10
    menuentry "Linux Mint 12 32-bit, 3.0.0-12-generic (/dev/sda10) (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 445b78db-cee9-42b6-bdae-082f7392bb8e
    	linux /boot/vmlinuz-3.0.0-12-generic root=UUID=445b78db-cee9-42b6-bdae-082f7392bb8e ro quiet splash vt.handoff=7
    	initrd /boot/initrd.img-3.0.0-12-generic
    }
    menuentry "Linux Mint 12 32-bit, 3.0.0-12-generic (/dev/sda10) -- 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 445b78db-cee9-42b6-bdae-082f7392bb8e
    	linux /boot/vmlinuz-3.0.0-12-generic root=UUID=445b78db-cee9-42b6-bdae-082f7392bb8e ro recovery nomodeset
    	initrd /boot/initrd.img-3.0.0-12-generic
    }
    Found Ubuntu 11.10 (11.10) on /dev/sda11
    menuentry "Ubuntu 11.10 (11.10) (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 2e60cde8-6769-4a01-ad7a-f6de859b2a2d
    	linux /vmlinuz root=/dev/sda11
    	initrd /initrd.img
    }
    menuentry "Ubuntu 11.10 (11.10) (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 2e60cde8-6769-4a01-ad7a-f6de859b2a2d
    	linux /vmlinuz root=/dev/sda11
    	initrd /initrd.img
    }
    menuentry "Ubuntu 11.10 (11.10) (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 2e60cde8-6769-4a01-ad7a-f6de859b2a2d
    	linux /boot/vmlinuz-3.0.0-17-generic root=/dev/sda11
    	initrd /boot/initrd.img-3.0.0-17-generic
    }
    menuentry "Ubuntu 11.10 (11.10) (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 2e60cde8-6769-4a01-ad7a-f6de859b2a2d
    	linux /vmlinuz root=/dev/sda11
    	initrd /initrd.img
    }
    menuentry "Ubuntu 11.10 (11.10) (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 2e60cde8-6769-4a01-ad7a-f6de859b2a2d
    	linux /vmlinuz root=/dev/sda11
    	initrd /initrd.img
    }
    Found Ubuntu 12.04 LTS (12.04) on /dev/sda12
    menuentry "Ubuntu, with Linux 3.2.0-24-generic (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 73b3fc49-77bc-4229-a158-14b4d1812733
    	linux /boot/vmlinuz-3.2.0-24-generic root=UUID=73b3fc49-77bc-4229-a158-14b4d1812733 ro quiet splash $vt_handoff
    	initrd /boot/initrd.img-3.2.0-24-generic
    }
    menuentry "Ubuntu, with Linux 3.2.0-24-generic (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 73b3fc49-77bc-4229-a158-14b4d1812733
    	linux /boot/vmlinuz-3.2.0-24-generic root=UUID=73b3fc49-77bc-4229-a158-14b4d1812733 ro recovery nomodeset
    	initrd /boot/initrd.img-3.2.0-24-generic
    }
    menuentry "Ubuntu, with Linux 3.2.0-21-generic (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 73b3fc49-77bc-4229-a158-14b4d1812733
    	linux /boot/vmlinuz-3.2.0-21-generic root=UUID=73b3fc49-77bc-4229-a158-14b4d1812733 ro quiet splash $vt_handoff
    	initrd /boot/initrd.img-3.2.0-21-generic
    }
    menuentry "Ubuntu, with Linux 3.2.0-21-generic (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 73b3fc49-77bc-4229-a158-14b4d1812733
    	linux /boot/vmlinuz-3.2.0-21-generic root=UUID=73b3fc49-77bc-4229-a158-14b4d1812733 ro recovery nomodeset
    	initrd /boot/initrd.img-3.2.0-21-generic
    }
    menuentry "Ubuntu, with Linux 3.2.0-20-generic (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 73b3fc49-77bc-4229-a158-14b4d1812733
    	linux /boot/vmlinuz-3.2.0-20-generic root=UUID=73b3fc49-77bc-4229-a158-14b4d1812733 ro quiet splash $vt_handoff
    	initrd /boot/initrd.img-3.2.0-20-generic
    }
    menuentry "Ubuntu, with Linux 3.2.0-20-generic (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 73b3fc49-77bc-4229-a158-14b4d1812733
    	linux /boot/vmlinuz-3.2.0-20-generic root=UUID=73b3fc49-77bc-4229-a158-14b4d1812733 ro recovery nomodeset
    	initrd /boot/initrd.img-3.2.0-20-generic
    }
    Found Ubuntu precise (development branch) (12.04) on /dev/sda13
    menuentry "Ubuntu, with Linux 3.2.0-14-generic-pae (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 46bbff7b-efdf-433a-a73c-c201796d2962
    	linux /boot/vmlinuz-3.2.0-14-generic-pae root=UUID=46bbff7b-efdf-433a-a73c-c201796d2962 ro quiet splash vt.handoff=7
    	initrd /boot/initrd.img-3.2.0-14-generic-pae
    }
    menuentry "Ubuntu, with Linux 3.2.0-14-generic-pae (recovery mode) (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 46bbff7b-efdf-433a-a73c-c201796d2962
    	linux /boot/vmlinuz-3.2.0-14-generic-pae root=UUID=46bbff7b-efdf-433a-a73c-c201796d2962 ro recovery nomodeset
    	initrd /boot/initrd.img-3.2.0-14-generic-pae
    }
    Found Ubuntu 11.10 (11.10) on /dev/sda16
    menuentry "Ubuntu, with Linux 3.0.0-17-generic (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 f51328dd-02a5-4473-843f-6563fd37fe38
    	linux /boot/vmlinuz-3.0.0-17-generic root=UUID=f51328dd-02a5-4473-843f-6563fd37fe38 ro quiet splash vt.handoff=7
    	initrd /boot/initrd.img-3.0.0-17-generic
    }
    menuentry "Ubuntu, with Linux 3.0.0-17-generic (recovery mode) (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 f51328dd-02a5-4473-843f-6563fd37fe38
    	linux /boot/vmlinuz-3.0.0-17-generic root=UUID=f51328dd-02a5-4473-843f-6563fd37fe38 ro recovery nomodeset
    	initrd /boot/initrd.img-3.0.0-17-generic
    }
    menuentry "Ubuntu, with Linux 3.0.0-12-generic (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 f51328dd-02a5-4473-843f-6563fd37fe38
    	linux /boot/vmlinuz-3.0.0-12-generic root=UUID=f51328dd-02a5-4473-843f-6563fd37fe38 ro quiet splash vt.handoff=7
    	initrd /boot/initrd.img-3.0.0-12-generic
    }
    menuentry "Ubuntu, with Linux 3.0.0-12-generic (recovery mode) (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 f51328dd-02a5-4473-843f-6563fd37fe38
    	linux /boot/vmlinuz-3.0.0-12-generic root=UUID=f51328dd-02a5-4473-843f-6563fd37fe38 ro recovery nomodeset
    	initrd /boot/initrd.img-3.0.0-12-generic
    }
    Found Ubuntu 11.04 (11.04) on /dev/sda5
    menuentry "Ubuntu, with Linux 2.6.38-8-generic (on /dev/sda5)" --class gnu-linux --class gnu --class os {
    	insmod part_msdos
    	insmod ext2
    	set root='(hd0,msdos5)'
    	search --no-floppy --fs-uuid --set=root 0838b5c2-12fe-47c1-8ba3-397e4b8242da
    	linux /boot/vmlinuz-2.6.38-8-generic root=UUID=0838b5c2-12fe-47c1-8ba3-397e4b8242da ro quiet splash vt.handoff=7
    	initrd /boot/initrd.img-2.6.38-8-generic
    }
    menuentry "Ubuntu, with Linux 2.6.38-8-generic (recovery mode) (on /dev/sda5)" --class gnu-linux --class gnu --class os {
    	insmod part_msdos
    	insmod ext2
    	set root='(hd0,msdos5)'
    	search --no-floppy --fs-uuid --set=root 0838b5c2-12fe-47c1-8ba3-397e4b8242da
    	linux /boot/vmlinuz-2.6.38-8-generic root=UUID=0838b5c2-12fe-47c1-8ba3-397e4b8242da ro single
    	initrd /boot/initrd.img-2.6.38-8-generic
    }
    Found Ubuntu 11.10 (11.10) on /dev/sda6
    menuentry "Ubuntu, with Linux 3.0.0-12-generic (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 260b48a1-7e39-4085-afa1-a9c8b4c96da7
    	linux /boot/vmlinuz-3.0.0-12-generic root=UUID=260b48a1-7e39-4085-afa1-a9c8b4c96da7 ro quiet splash vt.handoff=7
    	initrd /boot/initrd.img-3.0.0-12-generic
    }
    menuentry "Ubuntu, with Linux 3.0.0-12-generic (recovery mode) (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 260b48a1-7e39-4085-afa1-a9c8b4c96da7
    	linux /boot/vmlinuz-3.0.0-12-generic root=UUID=260b48a1-7e39-4085-afa1-a9c8b4c96da7 ro recovery nomodeset
    	initrd /boot/initrd.img-3.0.0-12-generic
    }
    Found Ubuntu 10.04.3 LTS (10.04) on /dev/sda7
    menuentry "Ubuntu, with Linux 2.6.32-33-generic (on /dev/sda7)" --class gnu-linux --class gnu --class os {
    	insmod part_msdos
    	insmod ext2
    	set root='(hd0,msdos7)'
    	search --no-floppy --fs-uuid --set=root 6c1df292-b0b7-4eed-930d-4ad07bd9a1f5
    	linux /boot/vmlinuz-2.6.32-33-generic root=UUID=6c1df292-b0b7-4eed-930d-4ad07bd9a1f5 ro quiet splash
    	initrd /boot/initrd.img-2.6.32-33-generic
    }
    menuentry "Ubuntu, with Linux 2.6.32-33-generic (recovery mode) (on /dev/sda7)" --class gnu-linux --class gnu --class os {
    	insmod part_msdos
    	insmod ext2
    	set root='(hd0,msdos7)'
    	search --no-floppy --fs-uuid --set=root 6c1df292-b0b7-4eed-930d-4ad07bd9a1f5
    	linux /boot/vmlinuz-2.6.32-33-generic root=UUID=6c1df292-b0b7-4eed-930d-4ad07bd9a1f5 ro single
    	initrd /boot/initrd.img-2.6.32-33-generic
    }
    Found Ubuntu 11.10 (11.10) on /dev/sda8
    menuentry "Ubuntu, with Linux 3.0.0-12-generic (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 a829565c-3153-4124-9493-9410a2c45233
    	linux /boot/vmlinuz-3.0.0-12-generic root=UUID=a829565c-3153-4124-9493-9410a2c45233 ro quiet splash vt.handoff=7
    	initrd /boot/initrd.img-3.0.0-12-generic
    }
    menuentry "Ubuntu, with Linux 3.0.0-12-generic (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 a829565c-3153-4124-9493-9410a2c45233
    	linux /boot/vmlinuz-3.0.0-12-generic root=UUID=a829565c-3153-4124-9493-9410a2c45233 ro recovery nomodeset
    	initrd /boot/initrd.img-3.0.0-12-generic
    }
    Found Linux Mint 11 LXDE (11) on /dev/sda9
    menuentry "Linux Mint 11 LXDE, 2.6.38-8-generic (/dev/sda9) (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 5c720c72-47c1-4292-8c2e-fc66f4a6a085
    	linux /boot/vmlinuz-2.6.38-8-generic root=UUID=5c720c72-47c1-4292-8c2e-fc66f4a6a085 ro quiet splash vt.handoff=7
    	initrd /boot/initrd.img-2.6.38-8-generic
    }
    menuentry "Linux Mint 11 LXDE, 2.6.38-8-generic (/dev/sda9) -- recovery mode (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 5c720c72-47c1-4292-8c2e-fc66f4a6a085
    	linux /boot/vmlinuz-2.6.38-8-generic root=UUID=5c720c72-47c1-4292-8c2e-fc66f4a6a085 ro single
    	initrd /boot/initrd.img-2.6.38-8-generic
    }
    ### END /etc/grub.d/30_os-prober ###
    
    ### BEGIN /etc/grub.d/30_os-prober_proxy ###
    Found Linux Mint 12 Lisa (12) on /dev/sda10
    Found Ubuntu 11.10 (11.10) on /dev/sda11
    Found Ubuntu 12.04 LTS (12.04) on /dev/sda12
    Found Ubuntu precise (development branch) (12.04) on /dev/sda13
    Found Ubuntu 11.10 (11.10) on /dev/sda16
    Found Ubuntu 11.04 (11.04) on /dev/sda5
    Found Ubuntu 11.10 (11.10) on /dev/sda6
    Found Ubuntu 10.04.3 LTS (10.04) on /dev/sda7
    Found Ubuntu 11.10 (11.10) on /dev/sda8
    Found Linux Mint 11 LXDE (11) on /dev/sda9
    menuentry "Ubuntu 11.10 (11.10) (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 2e60cde8-6769-4a01-ad7a-f6de859b2a2d
    	linux /vmlinuz root=/dev/sda11
    	initrd /initrd.img
    }
    menuentry "Ubuntu 11.10 (11.10) (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 2e60cde8-6769-4a01-ad7a-f6de859b2a2d
    	linux /vmlinuz root=/dev/sda11
    	initrd /initrd.img
    }
    menuentry "Ubuntu 11.10 (11.10) (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 2e60cde8-6769-4a01-ad7a-f6de859b2a2d
    	linux /vmlinuz root=/dev/sda11
    	initrd /initrd.img
    }
    menuentry "Ubuntu 11.10 (11.10) (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 2e60cde8-6769-4a01-ad7a-f6de859b2a2d
    	linux /vmlinuz root=/dev/sda11
    	initrd /initrd.img
    }
    menuentry "Ubuntu 11.10 (11.10) (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 2e60cde8-6769-4a01-ad7a-f6de859b2a2d
    	linux /vmlinuz root=/dev/sda11
    	initrd /initrd.img
    }
    menuentry "Ubuntu 11.10 (11.10) (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 2e60cde8-6769-4a01-ad7a-f6de859b2a2d
    	linux /vmlinuz root=/dev/sda11
    	initrd /initrd.img
    }
    menuentry "Ubuntu 11.10 (11.10) (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 2e60cde8-6769-4a01-ad7a-f6de859b2a2d
    	linux /vmlinuz root=/dev/sda11
    	initrd /initrd.img
    }
    menuentry "Ubuntu 11.10 (11.10) (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 2e60cde8-6769-4a01-ad7a-f6de859b2a2d
    	linux /vmlinuz root=/dev/sda11
    	initrd /initrd.img
    }
    menuentry "Ubuntu 11.10 (11.10) (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 2e60cde8-6769-4a01-ad7a-f6de859b2a2d
    	linux /vmlinuz root=/dev/sda11
    	initrd /initrd.img
    }
    menuentry "Lubuntu 11.04, with Linux 2.6.38-8-generic (on /dev/sda5)" --class gnu-linux --class gnu --class os {
    	insmod part_msdos
    	insmod ext2
    	set root='(hd0,msdos5)'
    	search --no-floppy --fs-uuid --set=root 0838b5c2-12fe-47c1-8ba3-397e4b8242da
    	linux /boot/vmlinuz-2.6.38-8-generic root=UUID=0838b5c2-12fe-47c1-8ba3-397e4b8242da ro quiet splash vt.handoff=7
    	initrd /boot/initrd.img-2.6.38-8-generic
    }
    menuentry "Lubuntu 11.04, with Linux 2.6.38-8-generic (recovery mode) (on /dev/sda5)" --class gnu-linux --class gnu --class os {
    	insmod part_msdos
    	insmod ext2
    	set root='(hd0,msdos5)'
    	search --no-floppy --fs-uuid --set=root 0838b5c2-12fe-47c1-8ba3-397e4b8242da
    	linux /boot/vmlinuz-2.6.38-8-generic root=UUID=0838b5c2-12fe-47c1-8ba3-397e4b8242da ro single
    	initrd /boot/initrd.img-2.6.38-8-generic
    }
    menuentry "Xubuntu 11.10, with Linux 3.0.0-12-generic (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 260b48a1-7e39-4085-afa1-a9c8b4c96da7
    	linux /boot/vmlinuz-3.0.0-12-generic root=UUID=260b48a1-7e39-4085-afa1-a9c8b4c96da7 ro quiet splash vt.handoff=7
    	initrd /boot/initrd.img-3.0.0-12-generic
    }
    menuentry "Xubuntu 11.10, with Linux 3.0.0-12-generic (recovery mode) (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 260b48a1-7e39-4085-afa1-a9c8b4c96da7
    	linux /boot/vmlinuz-3.0.0-12-generic root=UUID=260b48a1-7e39-4085-afa1-a9c8b4c96da7 ro recovery nomodeset
    	initrd /boot/initrd.img-3.0.0-12-generic
    }
    menuentry "Ubuntu 10.04, with Linux 2.6.32-33-generic (on /dev/sda7)" --class gnu-linux --class gnu --class os {
    	insmod part_msdos
    	insmod ext2
    	set root='(hd0,msdos7)'
    	search --no-floppy --fs-uuid --set=root 6c1df292-b0b7-4eed-930d-4ad07bd9a1f5
    	linux /boot/vmlinuz-2.6.32-33-generic root=UUID=6c1df292-b0b7-4eed-930d-4ad07bd9a1f5 ro quiet splash
    	initrd /boot/initrd.img-2.6.32-33-generic
    }
    menuentry "Ubuntu 10.04, with Linux 2.6.32-33-generic (recovery mode) (on /dev/sda7)" --class gnu-linux --class gnu --class os {
    	insmod part_msdos
    	insmod ext2
    	set root='(hd0,msdos7)'
    	search --no-floppy --fs-uuid --set=root 6c1df292-b0b7-4eed-930d-4ad07bd9a1f5
    	linux /boot/vmlinuz-2.6.32-33-generic root=UUID=6c1df292-b0b7-4eed-930d-4ad07bd9a1f5 ro single
    	initrd /boot/initrd.img-2.6.32-33-generic
    }
    menuentry "Ubuntu 11.10, with Linux 3.0.0-12-generic (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 a829565c-3153-4124-9493-9410a2c45233
    	linux /boot/vmlinuz-3.0.0-12-generic root=UUID=a829565c-3153-4124-9493-9410a2c45233 ro quiet splash vt.handoff=7
    	initrd /boot/initrd.img-3.0.0-12-generic
    }
    menuentry "Ubuntu 11.10, with Linux 3.0.0-12-generic (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 a829565c-3153-4124-9493-9410a2c45233
    	linux /boot/vmlinuz-3.0.0-12-generic root=UUID=a829565c-3153-4124-9493-9410a2c45233 ro recovery nomodeset
    	initrd /boot/initrd.img-3.0.0-12-generic
    }
    menuentry "Linux Mint 11 LXDE, 2.6.38-8-generic (/dev/sda9) (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 5c720c72-47c1-4292-8c2e-fc66f4a6a085
    	linux /boot/vmlinuz-2.6.38-8-generic root=UUID=5c720c72-47c1-4292-8c2e-fc66f4a6a085 ro quiet splash vt.handoff=7
    	initrd /boot/initrd.img-2.6.38-8-generic
    }
    menuentry "Linux Mint 11 LXDE, 2.6.38-8-generic (/dev/sda9) -- recovery mode (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 5c720c72-47c1-4292-8c2e-fc66f4a6a085
    	linux /boot/vmlinuz-2.6.38-8-generic root=UUID=5c720c72-47c1-4292-8c2e-fc66f4a6a085 ro single
    	initrd /boot/initrd.img-2.6.38-8-generic
    }
    menuentry "Linux Mint 12 32-bit, 3.0.0-12-generic (/dev/sda10) (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 445b78db-cee9-42b6-bdae-082f7392bb8e
    	linux /boot/vmlinuz-3.0.0-12-generic root=UUID=445b78db-cee9-42b6-bdae-082f7392bb8e ro quiet splash vt.handoff=7
    	initrd /boot/initrd.img-3.0.0-12-generic
    }
    menuentry "Linux Mint 12 32-bit, 3.0.0-12-generic (/dev/sda10) -- 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 445b78db-cee9-42b6-bdae-082f7392bb8e
    	linux /boot/vmlinuz-3.0.0-12-generic root=UUID=445b78db-cee9-42b6-bdae-082f7392bb8e ro recovery nomodeset
    	initrd /boot/initrd.img-3.0.0-12-generic
    }
    menuentry "Lubuntu 12.04, with Linux 3.2.0-24-generic (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 73b3fc49-77bc-4229-a158-14b4d1812733
    	linux /boot/vmlinuz-3.2.0-24-generic root=UUID=73b3fc49-77bc-4229-a158-14b4d1812733 ro quiet splash $vt_handoff
    	initrd /boot/initrd.img-3.2.0-24-generic
    }
    menuentry "Lubuntu 12.04, with Linux 3.2.0-24-generic (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 73b3fc49-77bc-4229-a158-14b4d1812733
    	linux /boot/vmlinuz-3.2.0-24-generic root=UUID=73b3fc49-77bc-4229-a158-14b4d1812733 ro recovery nomodeset
    	initrd /boot/initrd.img-3.2.0-24-generic
    }
    menuentry "Ubuntu 12.04, with Linux 3.2.0-14-generic-pae (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 46bbff7b-efdf-433a-a73c-c201796d2962
    	linux /boot/vmlinuz-3.2.0-14-generic-pae root=UUID=46bbff7b-efdf-433a-a73c-c201796d2962 ro quiet splash vt.handoff=7
    	initrd /boot/initrd.img-3.2.0-14-generic-pae
    }
    menuentry "Ubuntu 12.04, with Linux 3.2.0-14-generic-pae (recovery mode) (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 46bbff7b-efdf-433a-a73c-c201796d2962
    	linux /boot/vmlinuz-3.2.0-14-generic-pae root=UUID=46bbff7b-efdf-433a-a73c-c201796d2962 ro recovery nomodeset
    	initrd /boot/initrd.img-3.2.0-14-generic-pae
    }
    menuentry "Lubuntu 11.10 64bit, with Linux 3.0.0-17-generic (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 f51328dd-02a5-4473-843f-6563fd37fe38
    	linux /boot/vmlinuz-3.0.0-17-generic root=UUID=f51328dd-02a5-4473-843f-6563fd37fe38 ro quiet splash vt.handoff=7
    	initrd /boot/initrd.img-3.0.0-17-generic
    }
    menuentry "Lubuntu 11.10 64bit, with Linux 3.0.0-17-generic (recovery mode) (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 f51328dd-02a5-4473-843f-6563fd37fe38
    	linux /boot/vmlinuz-3.0.0-17-generic root=UUID=f51328dd-02a5-4473-843f-6563fd37fe38 ro recovery nomodeset
    	initrd /boot/initrd.img-3.0.0-17-generic
    }
    ### END /etc/grub.d/30_os-prober_proxy ###
    
    ### 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 ###
    done
    By the way, the execution of this commend:
    Code:
    sudo grub-mkconfig
    ... is by far, the SLOWEST ever :/
    I don't know, perhaps because I have tons of installed systems? or it's a problem somewhere else? even updating GRUB takes SO long on this machine.

    Yes, the HDD is IDE but, as far as I can tell, it never was that slow before. My guess it's because of the systems I have installed. Slow when it comes to the execution of commands like
    Code:
    sudo update-grub
    which takes 2mins and 58secs ... just checked that on a stopwatch on my phone.

  5. #895
    Join Date
    Oct 2009
    Location
    Sydney
    Beans
    4,301
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Grub 2 Basics

    Quote Originally Posted by drs305 View Post
    And don't forget if you use variations of Ubuntu (Mint, etc) the kernel title may be the same as that of your Ubuntu OS. I am not sure what the current policy is, but a while ago most of the variations still showed up as "Ubuntu, ..." even if it was really a Kubuntu installation, etc. Don't use those distros so I don't know if that is still the case.
    Yes my friend drs305, it is still the case until now. As long as the system (distro) shares the same core as Ubuntu, it will shows as "Ubuntu" not as "Lubuntu" or "Xubuntu" unless you rename it and I always do that after I'm done with installation and I use GRUB Customizer for that to make my life easier.

    This might not be the same case but I think it's for the same reason (all Ubuntu variants share the same core), there is this bug: https://bugs.launchpad.net/ubuntu/+s...er/+bug/990091

    and my comment here already states that: https://bugs.launchpad.net/ubuntu/+s...091/comments/2

    I have posted the output of the commends on my previous post. This might enlighten us to find out what is wrong?

  6. #896
    Join Date
    Aug 2009
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Grub 2 Basics

    Thankfully the Grub specialist drs305 is back! Hopefully he will be able to use that output to help fix your problem.
    Man, that is a lot of operating systems! You definitely could benefit from my How To when ever you get the duplicates out of the mix.
    Here is my output of
    Code:
    grep menuentry /boot/grub/grub.cfg | cut -b 1-11 --complement | cut -d "'" -f1 | cut -d "\"" -f 1 | nl --starting-line-number=0
    Code:
    cavsfan@cavsfan-desktop:~$ grep menuentry /boot/grub/grub.cfg | cut -b 1-11 --complement | cut -d "'" -f1 | cut -d "\"" -f 1 | nl --starting-line-number=0
         0	Ubuntu Lucid Lynx
         1	Ubuntu Lucid Lynx (Recovery Mode)
         2	Windows 7
    I have 3 entries and that's it!

  7. #897
    Join Date
    Aug 2009
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Grub 2 Basics

    I hope this helps. I figure this out: I counted 60 menu entries!

    Code:
    4  menuentries in 10_linux_proxy
    2  menuentries in 20_memtest86+
    27 menuentries in 30_os-prober
    27 menuentries in 30_os-prober_proxy
    Since the 27 are duplicated in the os-prober files, one way you could get rid of the duplication is this
    sudo chmod -x /etc/grub.d/30_os-prober

    But, we better wait on drs305's insight first and see what he thinks.
    I noticed you don't have a 10_linux file but, have a 10_linux_proxy, 30_os-prober and 30_os-prober_proxy files.
    Last edited by Cavsfan; May 7th, 2012 at 08:16 PM.

  8. #898
    Join Date
    Oct 2009
    Location
    Sydney
    Beans
    4,301
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Grub 2 Basics

    Quote Originally Posted by Cavsfan View Post
    Thankfully the Grub specialist drs305 is back! Hopefully he will be able to use that output to help fix your problem.
    That is why I posted here
    However, I'm sure you and oldfred are doing a great job too. I know oldfred for 2 years now or maybe more but I don't think we have met glad to know another user who is obsessed about GRUB like us

    Man, that is a lot of operating systems! You definitely could benefit from my How To when ever you get the duplicates out of the mix.
    Here is my output of
    Code:
    grep menuentry /boot/grub/grub.cfg | cut -b 1-11 --complement | cut -d "'" -f1 | cut -d "\"" -f 1 | nl --starting-line-number=0
    Code:
    cavsfan@cavsfan-desktop:~$ grep menuentry /boot/grub/grub.cfg | cut -b 1-11 --complement | cut -d "'" -f1 | cut -d "\"" -f 1 | nl --starting-line-number=0
         0	Ubuntu Lucid Lynx
         1	Ubuntu Lucid Lynx (Recovery Mode)
         2	Windows 7
    I have 3 entries and that's it!
    I'm a HOWTO writer as well, tester, a member of Lubuntu Team, etc so I need such setup Yeah, I know this is TOO much


    Quote Originally Posted by Cavsfan View Post
    I hope this helps. I figure this out: I counted 60 menu entries!

    Code:
    4  menuentries in 10_linux_proxy
    2  menuentries in 20_memtest86+
    27 menuentries in 30_os-prober
    27 menuentries in 30_os-prober_proxy
    Since the 27 are duplicated in the os-prober files, one way you could get rid of the duplication is this
    sudo chmod -x /etc/grub.d/30_os-prober

    But, we better wait on drs305's insight first and see what he thinks.
    I noticed you don't have a 10_linux file but, have a 10_linux_proxy, 30_os-prober and 30_os-prober_proxy files.
    Ok, let's wait and see

    Thank you so much!

  9. #899
    Join Date
    Aug 2009
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Grub 2 Basics

    I'm still working on it. I see several duplicates but, not sure what to do. I'll work on it a bit more and see if I can help.

    You are very welcome! This is challenging and I like a challenge. Not sure If I am up to it but I know drs305 is.
    I am hoping I can save him some time and provide some worth while info on your system.

    Actually I got most of my info from ranch hand about writing the How To. I know drs305 as he has helped me many times and I have tried to help
    out when I notice he may be out of town. That is if it is something small that I can understand.
    I have seen oldfred on here a lot helping with grub and I know he knows a lot about dual booting Ubuntu and windows too.
    This is a very good forum!
    Last edited by Cavsfan; May 7th, 2012 at 09:07 PM.

  10. #900
    Join Date
    Aug 2009
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Grub 2 Basics

    It would definitely not be right to do this sudo chmod -x /etc/grub.d/30_os-prober.
    It looks like several things are duplicated between 10_linux_proxy, 30_os-prober and 30_os-prober_proxy.
    But, since you cannot edit them I don't know what to do. The following lines are all of the menuentry lines from your grub-mkconfig output.
    This is from the 4 files that have menuentry in them and the blank line denotes end of file.
    Hopefully drs305 can make sense of this data and get to the bottom of this.
    And hopefully all of this is useful to drs305. I am at the end of my ability to help further but, I tried.

    Code:
    menuentry "Ubuntu, with Linux 3.2.0-24-generic" --class ubuntu --class gnu-linux --class gnu --class os
    menuentry "Ubuntu, with Linux 3.2.0-24-generic (recovery mode)" --class ubuntu --class gnu-linux --class gnu --class os
    menuentry "Ubuntu, with Linux 3.0.0-17-generic" --class ubuntu --class gnu-linux --class gnu --class os
    menuentry "Ubuntu, with Linux 3.0.0-17-generic (recovery mode)" --class ubuntu --class gnu-linux --class gnu --class os
    
    menuentry "Memory test (memtest86+)
    menuentry "Memory test (memtest86+, serial console 115200)
    
    menuentry "Linux Mint 12 32-bit, 3.0.0-12-generic (/dev/sda10) (on /dev/sda10)" --class gnu-linux --class gnu --class os
    menuentry "Linux Mint 12 32-bit, 3.0.0-12-generic (/dev/sda10) -- recovery mode (on /dev/sda10)" --class gnu-linux --class gnu --class os
    menuentry "Ubuntu 11.10 (11.10) (on /dev/sda11)" --class gnu-linux --class gnu --class os
    menuentry "Ubuntu 11.10 (11.10) (on /dev/sda11)" --class gnu-linux --class gnu --class os
    menuentry "Ubuntu 11.10 (11.10) (on /dev/sda11)" --class gnu-linux --class gnu --class os
    menuentry "Ubuntu 11.10 (11.10) (on /dev/sda11)" --class gnu-linux --class gnu --class os
    menuentry "Ubuntu 11.10 (11.10) (on /dev/sda11)" --class gnu-linux --class gnu --class os
    menuentry "Ubuntu, with Linux 3.2.0-24-generic (on /dev/sda12)" --class gnu-linux --class gnu --class os
    menuentry "Ubuntu, with Linux 3.2.0-24-generic (recovery mode) (on /dev/sda12)
    menuentry "Ubuntu, with Linux 3.2.0-21-generic (on /dev/sda12)
    menuentry "Ubuntu, with Linux 3.2.0-21-generic (recovery mode) (on /dev/sda12)
    menuentry "Ubuntu, with Linux 3.2.0-20-generic (on /dev/sda12)
    menuentry "Ubuntu, with Linux 3.2.0-20-generic (recovery mode) (on /dev/sda12)
    menuentry "Ubuntu, with Linux 3.2.0-14-generic-pae (on /dev/sda13)
    menuentry "Ubuntu, with Linux 3.2.0-14-generic-pae (recovery mode) (on /dev/sda13)
    menuentry "Ubuntu, with Linux 3.0.0-17-generic (on /dev/sda16)" --class gnu-linux --class gnu --class os
    menuentry "Ubuntu, with Linux 3.0.0-17-generic (recovery mode) (on /dev/sda16)
    menuentry "Ubuntu, with Linux 3.0.0-12-generic (on /dev/sda16)
    menuentry "Ubuntu, with Linux 3.0.0-12-generic (recovery mode) (on /dev/sda16)
    menuentry "Ubuntu, with Linux 2.6.38-8-generic (on /dev/sda5)
    menuentry "Ubuntu, with Linux 2.6.38-8-generic (recovery mode) (on /dev/sda5)
    menuentry "Ubuntu, with Linux 3.0.0-12-generic (on /dev/sda6)
    menuentry "Ubuntu, with Linux 3.0.0-12-generic (recovery mode) (on /dev/sda6)
    menuentry "Ubuntu, with Linux 2.6.32-33-generic (on /dev/sda7)
    menuentry "Ubuntu, with Linux 2.6.32-33-generic (recovery mode) (on /dev/sda7)
    menuentry "Ubuntu, with Linux 3.0.0-12-generic (on /dev/sda8)
    menuentry "Ubuntu, with Linux 3.0.0-12-generic (recovery mode) (on /dev/sda8)
    menuentry "Linux Mint 11 LXDE, 2.6.38-8-generic (/dev/sda9) (on /dev/sda9)
    menuentry "Linux Mint 11 LXDE, 2.6.38-8-generic (/dev/sda9) -- recovery mode (on /dev/sda9)
    
    menuentry "Ubuntu 11.10 (11.10) (on /dev/sda11)" --class gnu-linux --class gnu --class os
    menuentry "Ubuntu 11.10 (11.10) (on /dev/sda11)" --class gnu-linux --class gnu --class os
    menuentry "Ubuntu 11.10 (11.10) (on /dev/sda11)" --class gnu-linux --class gnu --class os
    menuentry "Ubuntu 11.10 (11.10) (on /dev/sda11)" --class gnu-linux --class gnu --class os
    menuentry "Ubuntu 11.10 (11.10) (on /dev/sda11)" --class gnu-linux --class gnu --class os
    menuentry "Ubuntu 11.10 (11.10) (on /dev/sda11)" --class gnu-linux --class gnu --class os
    menuentry "Ubuntu 11.10 (11.10) (on /dev/sda11)" --class gnu-linux --class gnu --class os
    menuentry "Ubuntu 11.10 (11.10) (on /dev/sda11)" --class gnu-linux --class gnu --class os
    menuentry "Ubuntu 11.10 (11.10) (on /dev/sda11)" --class gnu-linux --class gnu --class os
    menuentry "Lubuntu 11.04, with Linux 2.6.38-8-generic (on /dev/sda5)" --class gnu-linux --class gnu --class os
    menuentry "Lubuntu 11.04, with Linux 2.6.38-8-generic (recovery mode) (on /dev/sda5)
    menuentry "Xubuntu 11.10, with Linux 3.0.0-12-generic (on /dev/sda6)" --class gnu-linux --class gnu --class os
    menuentry "Xubuntu 11.10, with Linux 3.0.0-12-generic (recovery mode) (on /dev/sda6)" --class gnu-linux --class gnu --class os
    menuentry "Ubuntu 10.04, with Linux 2.6.32-33-generic (on /dev/sda7)" --class gnu-linux --class gnu --class os
    menuentry "Ubuntu 10.04, with Linux 2.6.32-33-generic (recovery mode) (on /dev/sda7)" --class gnu-linux --class gnu --class os
    menuentry "Ubuntu 11.10, with Linux 3.0.0-12-generic (on /dev/sda8)" --class gnu-linux --class gnu --class os
    menuentry "Ubuntu 11.10, with Linux 3.0.0-12-generic (recovery mode) (on /dev/sda8)" --class gnu-linux --class gnu --class os
    menuentry "Linux Mint 11 LXDE, 2.6.38-8-generic (/dev/sda9) (on /dev/sda9)" --class gnu-linux --class gnu --class os
    menuentry "Linux Mint 11 LXDE, 2.6.38-8-generic (/dev/sda9) -- recovery mode (on /dev/sda9)" --class gnu-linux --class gnu --class os
    menuentry "Linux Mint 12 32-bit, 3.0.0-12-generic (/dev/sda10) (on /dev/sda10)" --class gnu-linux --class gnu --class os
    menuentry "Linux Mint 12 32-bit, 3.0.0-12-generic (/dev/sda10) -- recovery mode (on /dev/sda10)" --class gnu-linux --class gnu --class os
    menuentry "Lubuntu 12.04, with Linux 3.2.0-24-generic (on /dev/sda12)" --class gnu-linux --class gnu --class os
    menuentry "Lubuntu 12.04, with Linux 3.2.0-24-generic (recovery mode) (on /dev/sda12)" --class gnu-linux --class gnu --class os
    menuentry "Ubuntu 12.04, with Linux 3.2.0-14-generic-pae (on /dev/sda13)" --class gnu-linux --class gnu --class os
    menuentry "Ubuntu 12.04, with Linux 3.2.0-14-generic-pae (recovery mode) (on /dev/sda13)" --class gnu-linux --class gnu --class os
    menuentry "Lubuntu 11.10 64bit, with Linux 3.0.0-17-generic (on /dev/sda16)" --class gnu-linux --class gnu --class os
    menuentry "Lubuntu 11.10 64bit, with Linux 3.0.0-17-generic (recovery mode) (on /dev/sda16)" --class gnu-linux --class gnu --class os

Page 90 of 94 FirstFirst ... 40808889909192 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •