Page 5 of 5 FirstFirst ... 345
Results 41 to 44 of 44

Thread: New grub NOT mega-multi-boot freindly

  1. #41
    Join Date
    Aug 2009
    Beans
    3,151
    Distro
    Ubuntu Development Release

    Re: New grub NOT mega-multi-boot freindly

    Congratulations kansasnoob on your GnomeClassicTweaks wiki!
    I was told to model mine after yours. So, you are the standard bearer!

    I'm just glad my How To was also chosen to be migrated over to a wiki.
    Check Java Version | Install Java via WEB UPD8 PPA
    Creating a Custom Maintenance Free GRUB2 Screen Community Wiki
    Ubuntu 12.04 | 14.04 | 14.10 | Mint 13 | Mint 17 | Windows 7 | All 64 bit

  2. #42
    Join Date
    Jun 2011
    Beans
    18

    Re: New grub NOT mega-multi-boot freindly

    seems like continual improvement of GRUB (and mega-multi boot etc) should be a priority. if we ever got to the point where avg noob (like me) can just make a few partitions(GParted is easy) and cut/paste/copy/delete an OS here and there as easily as if they were folders, and GRUB can recognize them all then avg computer user might start to realize that Windows is just another OS.

  3. #43
    Join Date
    Aug 2009
    Beans
    3,151
    Distro
    Ubuntu Development Release

    Re: New grub NOT mega-multi-boot freindly

    Quote Originally Posted by bzd454 View Post
    seems like continual improvement of GRUB (and mega-multi boot etc) should be a priority. if we ever got to the point where avg noob (like me) can just make a few partitions(GParted is easy) and cut/paste/copy/delete an OS here and there as easily as if they were folders, and GRUB can recognize them all then avg computer user might start to realize that Windows is just another OS.
    That wiki of mine above only changes 3 files and adds another and the changes are minor.
    You can enter sudo blkid in terminal to get the partitions and then modify this text and save it as /etc/grub.d/06_custom.

    Code:
    #!/bin/sh
    echo 1>&2 "Adding Ubuntu Lucid Lynx 10.04, Precise Pangolin 12.04, Quantal Quetzal 12.10 and Windows 7"
    exec tail -n +4 $0
    # 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.
    menuentry "Lycid Lynx 10.04" {
        set root=(hd0,2)
            linux /vmlinuz root=/dev/sda2 ro quiet splash
            initrd /initrd.img
    }
    menuentry "Lycid Lynx 10.04 (Recovery Mode)" {
        set root=(hd0,2)
            linux /vmlinuz root=/dev/sda2 ro single
            initrd /initrd.img
    }
    menuentry "Precise Pangolin 12.04" {
        set root=(hd0,5)
            linux /vmlinuz root=/dev/sda5 ro quiet splash
            initrd /initrd.img
    }
    menuentry "Precise Pangolin 12.04 (Recovery Mode)" {
        set root=(hd0,5)
            linux /vmlinuz root=/dev/sda5 ro single
            initrd /initrd.img
    }
    menuentry "Quantal Quetzal 12.10" {
        set root=(hd0,8)
            linux /vmlinuz root=/dev/sda8 ro quiet splash
            initrd /initrd.img
    }
    menuentry "Quantal Quetzal 12.10 (Recovery Mode)" {
        set root=(hd0,8)
            linux /vmlinuz root=/dev/sda8 ro single
            initrd /initrd.img
    }
    menuentry "Windows 7" {
        insmod ntfs
        set root='(hd0,1)'
        search --no-floppy --fs-uuid --set 1CFC7A8DFC7A60C6
        chainloader +1
    }
    Change what it is red to match your system(s), change the text and delete the rest. The text can be whatever you want to see displayed.
    The last entry is for windows. If you have that modify the red and the text if not delete that part.

    Then make it executable sudo chmod +x /etc/grub.d/06_custom
    Enter sudo update-grub, reboot and you will see how simple it is.
    Then you can go from there.
    HTH
    Check Java Version | Install Java via WEB UPD8 PPA
    Creating a Custom Maintenance Free GRUB2 Screen Community Wiki
    Ubuntu 12.04 | 14.04 | 14.10 | Mint 13 | Mint 17 | Windows 7 | All 64 bit

  4. #44
    Join Date
    Jun 2011
    Beans
    18

    Re: New grub NOT mega-multi-boot freindly

    Quote Originally Posted by Cavsfan View Post
    That wiki of mine above only changes 3 files and adds another and the changes are minor.
    You can enter sudo blkid in terminal to get the partitions and then modify this text and save it as /etc/grub.d/06_custom.

    Code:
    #!/bin/sh
    echo 1>&2 "Adding Ubuntu Lucid Lynx 10.04, Precise Pangolin 12.04, Quantal Quetzal 12.10 and Windows 7"
    exec tail -n +4 $0
    # 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.
    menuentry "Lycid Lynx 10.04" {
        set root=(hd0,2)
            linux /vmlinuz root=/dev/sda2 ro quiet splash
            initrd /initrd.img
    }
    menuentry "Lycid Lynx 10.04 (Recovery Mode)" {
        set root=(hd0,2)
            linux /vmlinuz root=/dev/sda2 ro single
            initrd /initrd.img
    }
    menuentry "Precise Pangolin 12.04" {
        set root=(hd0,5)
            linux /vmlinuz root=/dev/sda5 ro quiet splash
            initrd /initrd.img
    }
    menuentry "Precise Pangolin 12.04 (Recovery Mode)" {
        set root=(hd0,5)
            linux /vmlinuz root=/dev/sda5 ro single
            initrd /initrd.img
    }
    menuentry "Quantal Quetzal 12.10" {
        set root=(hd0,8)
            linux /vmlinuz root=/dev/sda8 ro quiet splash
            initrd /initrd.img
    }
    menuentry "Quantal Quetzal 12.10 (Recovery Mode)" {
        set root=(hd0,8)
            linux /vmlinuz root=/dev/sda8 ro single
            initrd /initrd.img
    }
    menuentry "Windows 7" {
        insmod ntfs
        set root='(hd0,1)'
        search --no-floppy --fs-uuid --set 1CFC7A8DFC7A60C6
        chainloader +1
    }
    Change what it is red to match your system(s), change the text and delete the rest. The text can be whatever you want to see displayed.
    The last entry is for windows. If you have that modify the red and the text if not delete that part.

    Then make it executable sudo chmod +x /etc/grub.d/06_custom
    Enter sudo update-grub, reboot and you will see how simple it is.
    Then you can go from there.
    HTH
    eh, tbh thats still too difficult for me. took me about 6 months of looking at the grub menu or GParted with all these SDA3, SDA5 etc before i started to understand a little bit of it. Most of the stuff like ubuntu installs pretty easy and doesn't overwrite Windows but then something like Fedora uses a weird partition or file system (can't read it or resize it from GParted running in Ubuntu iirc) and steals control of GRUB

    and GRUB should have some easy way to delete or hide all of these excess listings like all the old kernels and the "recovery modes" that are very rarely necessary.

    Linux side is getting better though. 3-4 years ago i couldn't find a USB cell modem with my ISP that would work with Linux and now the Sierra 598 works better on linux (recognized and connects much quicker) than it does on Windows. and it works on all the Live CDs i've tried too. awesome.

Page 5 of 5 FirstFirst ... 345

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
  •