Purchase Linux CDs / DVDs / Flash Drives at OSDisc.com

Welcome to Our Community

While Linux.org has been around for a while, we recently changed management and had to purge most of the content (including users). If you signed up before April 23rd, 2017 please sign up again. Thanks!

  1. More ways to get the info! - we shoot all of our new original content out as well as random messages on Twitter and our newsletter!. Twitter | Newsletter
    Dismiss Notice

grub

Discussion in 'Mint' started by yeskendir, Jan 21, 2019.

  1. yeskendir

    yeskendir New Member

    Joined:
    Oct 11, 2018
    Messages:
    12
    Likes Received:
    0
    I installed debian by erasing my hard disk, but grub of previous system is left. How to delete it?


    (Log in to hide this advertisement)

     
  2. wizardfromoz

    wizardfromoz Super Moderator
    Staff Member Gold Supporter

    Joined:
    Apr 30, 2017
    Messages:
    2,785
    Likes Received:
    2,249
    G'day @yeskendir , you are going to need to do a whole lot more than that Post above :)

    You are in the Mint Section, are you trying to install Mint? If so, which one?

    Show us some screenshots or some Terminal output, take a cell phone picture.

    Fair go.

    Wizard
     
  3. yeskendir

    yeskendir New Member

    Joined:
    Oct 11, 2018
    Messages:
    12
    Likes Received:
    0
    As I said before, I erased whole disk where mint was installed. But after installation Mint's grub is left.
     
  4. wizardfromoz

    wizardfromoz Super Moderator
    Staff Member Gold Supporter

    Joined:
    Apr 30, 2017
    Messages:
    2,785
    Likes Received:
    2,249
    No, you didn't.

    Last we heard of you was in October, having problems with Tor Browser. You were using Debian 'Stretch'.

    Have you since installed Linux Mint?
    Installation of what?

    Wizard
     
  5. yeskendir

    yeskendir New Member

    Joined:
    Oct 11, 2018
    Messages:
    12
    Likes Received:
    0
    I just want to delete grub2. I tried to use efibootmgr, but it doesn't help.
     
  6. wizardfromoz

    wizardfromoz Super Moderator
    Staff Member Gold Supporter

    Joined:
    Apr 30, 2017
    Messages:
    2,785
    Likes Received:
    2,249
    I have not used EFI Boot Manager before, so I cannot help there.

    Why do you want to delete Grub 2?
     
  7. yeskendir

    yeskendir New Member

    Joined:
    Oct 11, 2018
    Messages:
    12
    Likes Received:
    0
    because I have two grubs. And I want to delete which belongs to mint
     
  8. Condobloke

    Condobloke Well-Known Member

    Joined:
    Apr 30, 2017
    Messages:
    713
    Likes Received:
    729
    How did you "erase" the drive ??
     
  9. yeskendir

    yeskendir New Member

    Joined:
    Oct 11, 2018
    Messages:
    12
    Likes Received:
    0
    I used entire disk to install debian
     
  10. Condobloke

    Condobloke Well-Known Member

    Joined:
    Apr 30, 2017
    Messages:
    713
    Likes Received:
    729
    So that was your method of erasing what was on there before?

    (I assume there is no windows still installed there at all ?)
     
  11. wizardfromoz

    wizardfromoz Super Moderator
    Staff Member Gold Supporter

    Joined:
    Apr 30, 2017
    Messages:
    2,785
    Likes Received:
    2,249
    By that, do you mean that you have a Grub Menu at startup, which features lines about Debian and lines about Linux Mint, but Linux Mint is no longer onboard and you want to change that Menu?

    Wizard
     
  12. Lazydog

    Lazydog Member

    Joined:
    Jul 27, 2017
    Messages:
    86
    Likes Received:
    65
    Sounds like you deleted the root partition but didn't delete the others. you can fix your grub menu as follows:

    Code:
    Refresh GRUB configuration on a BIOS system:
    # grub2-mkconfig -o /boot/grub2/grub.cfg
    
    Refresh GRUB configuration on UEFI systems:
    #grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
    
    As usual you will have to adjust the above to fit your system. If you don't know what to do then post the output from the following command:

    Code:
    df -h
     
  13. wizardfromoz

    wizardfromoz Super Moderator
    Staff Member Gold Supporter

    Joined:
    Apr 30, 2017
    Messages:
    2,785
    Likes Received:
    2,249
    G'day Robert, nice to see you, but you are off on a tangent here a little (there is a Fedora Thread current elsewhere).

    OP is talking Debian and Linux Mint.

    That is where I was leading with #11.

    Correct commands are

    Code:
    sudo update-grub
    
    or
    
    sudo grub-mkconfig -o /boot/grub/grub.cfg
    Cheers

    Wizard
     
  14. Lazydog

    Lazydog Member

    Joined:
    Jul 27, 2017
    Messages:
    86
    Likes Received:
    65
    No tangent here. I also use Sabayon, which is a Gentoo product, and the directories are almost in the same place. The UEFI is something I pulled of the net. I'm not running Fedora and don'r plan to but I do have Centos installed on a few machines.
     
  15. wizardfromoz

    wizardfromoz Super Moderator
    Staff Member Gold Supporter

    Joined:
    Apr 30, 2017
    Messages:
    2,785
    Likes Received:
    2,249
    Nope, you've still lost me :) (some might say that that is my permanent state of mind, but I turn them into toads).

    Where does the Fedora and Sabayon come into this?

    I am aware of the Fedora nuances between EFI and non-EFI have had Fedora since WS 23.

    Also have Sabayon (since 2015) and Calculate from the Gentoo.

    The OP has gone from Debian to Mint to Debian. Can you enlighten us on where you are headed?

    Cheers

    Wiz
     

Share This Page