Page 3 of 3 FirstFirst 123
Results 21 to 25 of 25

Thread: Grub troubles after deleting partition..

  1. #21
    Join Date
    Nov 2009
    Location
    Segur De Calafell, Spain
    Beans
    11,660
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Grub troubles after deleting partition..

    OK, it's getting very late in my timezone.

    But, if you feel like adventure, the only idea I have to resolve this mixup of grub1 and grub2 is to completely remove them both and install grub2.

    You already know entering chroot but lets repeat it (DO THIS FROM FRESHLY BOOTED LIVE MODE, DO NOT HAVE ANYTHING MOUNTED):

    Code:
    sudo mount /dev/sda7 /mnt
    sudo mount --bind /dev /mnt/dev
    sudo mount --bind /sys /mnt/sys
    sudo mount --bind /proc /mnt/proc
    sudo chroot /mnt
    Lets remove grub1&2:

    Code:
    apt-get --purge remove grub grub-pc grub-common
    Install grub2:

    Code:
    apt-get install grub-pc
    Not sure if it's needed but lets run the mkconfig again:

    Code:
    grub-mkconfig
    update-grub
    grub-install /dev/sda
    That should be it more or less. Exit the chroot and unmount everything, and reboot:

    Code:
    exit
    sudo umount /mnt/proc
    sudo umount /mnt/sys
    sudo umount /mnt/dev
    sudo umount /mnt
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 12.04 LTS 64bit & Windows 7 Ultimate 64bit

  2. #22
    Join Date
    Dec 2009
    Location
    Fareham, UK
    Beans
    1,793
    Distro
    Ubuntu

    Re: Grub troubles after deleting partition..


  3. #23
    Join Date
    Mar 2011
    Location
    New Zealand
    Beans
    440
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Grub troubles after deleting partition..

    I'll try that thank you very much for the help and goodnight! EDIT: Goodnight to darkod that is.
    Last edited by jonnyboysmithy; November 18th, 2011 at 02:11 AM.

  4. #24
    Join Date
    Mar 2011
    Location
    New Zealand
    Beans
    440
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Grub troubles after deleting partition..

    Quote Originally Posted by westie457 View Post
    Yup, I'll keep that handy

  5. #25
    Join Date
    Mar 2011
    Location
    New Zealand
    Beans
    440
    Distro
    Ubuntu 12.04 Precise Pangolin

    Smile Re: Grub troubles after deleting partition..

    Solved!!!!!

Page 3 of 3 FirstFirst 123

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
  •