Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: How to prevent grub from being installed

  1. #1
    Join Date
    Feb 2013
    Beans
    36

    How to prevent grub from being installed

    One thing which drives me crazy abaout Ubuntu is that grub gets installed everytime a new kernel hits the stage. I already tried several of the tips and tricks around but did not manage to get comepletely rid of grub. I do not want any boot loader installed, so how do I do this?

    I'm running 13.04 on a MacBookPro booting through refind.

    TiA

  2. #2
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: How to prevent grub from being installed

    I do not know Macs, but assume the grub install is the same. In your case unchoose everything and then the install_devices should change to blank.

    #To see what drive grub2 uses see this line - grub-pc/install_devices:
    sudo debconf-show grub-pc
    sudo grub-probe -t device /boot/grub

    #to get grub2 to remember where to reinstall on updates:
    sudo dpkg-reconfigure grub-pc
    #Enter thru first pages,spacebar to choose/unchoose drive, enter to accept, do not choose partitions
    For info on UEFI boot install & repair - Updated Mar 2015:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  3. #3
    Join Date
    Feb 2013
    Beans
    36

    Re: How to prevent grub from being installed

    ??
    Sorry for being not precise enough: I do NOT want Grub installed at all!

  4. #4
    Join Date
    Jan 2013
    Beans
    525

    Re: How to prevent grub from being installed

    Grub is absolutley required. It's what boots the PC. If it's not installed, it wont boot!

    There are alternative boot loaders like Burg if that tickles your fancy.
    Last edited by ManamiVixen; March 16th, 2013 at 09:06 PM.

  5. #5
    Join Date
    Jan 2013
    Beans
    525

    Re: How to prevent grub from being installed

    Anyways, if you are new to Ubuntu, why do you have a development release? You need the current 12.10.

  6. #6
    Join Date
    Feb 2013
    Beans
    36

    Re: How to prevent grub from being installed

    Please guys lets come back to topic: How do I prevent grub from being installed? I do not need it, nor any other bootloader (already told you in 1st post).

  7. #7
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: How to prevent grub from being installed

    Refind is not a boot loader:
    http://www.rodsbooks.com/refind/
    Like rEFIt, rEFInd is a boot manager, meaning that it presents a menu of options to the user when the computer first starts up, as shown below. rEFInd is not a boot loader, which is a program that loads an OS kernel and hands off control to it.
    But it looks like there may be a way, but I have not tried it:
    https://wiki.archlinux.org/index.php...I_motherboards
    For info on UEFI boot install & repair - Updated Mar 2015:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  8. #8
    Join Date
    Feb 2013
    Beans
    36

    Re: How to prevent grub from being installed

    Ok, forget about. If someone is having an alternative to setting grub-pc to hold or installing a dummy package, please let me know.

    Thx anyway.

  9. #9
    Join Date
    Feb 2013
    Beans
    Hidden!

    Re: How to prevent grub from being installed

    Cannot say for Ubuntu (you'll probably need to use Alternate ISO here), but in Debian if you run debian-installer with priority=low (press F6 on the first screen to add it as kernel option) it will ask if you want to install grub, and you can skip installing boot loader. Besides, IIRC it's the last step in the installation, so you can simply reboot when asked where to install grub.

    IMO, a better option than not installing grub at all is install it into boot partition of your Ubuntu installation, say /dev/sda2 (ignore installer warnings that grub should be installed into MBR of the disk). I did it e.g. to let MBR be controlled by Windows BCD on dual-boot setups.
    Last edited by schragge; March 22nd, 2013 at 10:55 AM.

  10. #10
    Join Date
    Feb 2013
    Beans
    36

    Re: How to prevent grub from being installed

    My issue is that grub-pc is set as recommended/dependency for linux-image (beside lilo which I also do not want) resulting in getting it installed again every kernel-upgrade and has to me removed manually. Setting grub-pc to hold eases the situation. If there is any way to block it completely (other than installing a dummy package) I'd be interested to learn about. I agree installing in an unused partition will also ease the situation but I'm not a friend of having packages installed which I do not really use.

    Having kernels able to be booted directly by BIOS this issue could be considered as something like a bug IMHO.

Page 1 of 2 12 LastLast

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
  •