Results 1 to 5 of 5

Thread: Minimal BASH like editing is supported

  1. #1
    Join Date
    Aug 2014
    Beans
    3

    Minimal BASH like editing is supported

    .
    Last edited by ObscurityPrince; February 22nd, 2020 at 05:48 PM.

  2. #2
    Join Date
    Mar 2011
    Beans
    1,994

    Re: Minimal BASH like editing is supported

    From the live CD, take a look at the EFI partition and the file /EFI/ubuntu/grub.cfg. It probably uses a UUID for your (old) Ubuntu root, which changed when you resized. Use blkid command in a terminal to get all the UUIDs, locate the one for your Ubuntu root, and edit that one into the /EFI/ubuntu/grub.cfg . Or maybe all it takes is to reinstall grub.

  3. #3
    Join Date
    Aug 2014
    Beans
    3

    Re: Minimal BASH like editing is supported

    Thanks ubfan1 for the reply. How though do I access the file /EFI/ubuntu/grub.cfg from the live CD?

  4. #4
    Join Date
    Mar 2011
    Beans
    1,994

    Re: Minimal BASH like editing is supported

    Mount the EFI partition (Use /mnt as a mount point unless it's not empty, otherwise, just make a directory under /mnt and mount there). Assuming your EFI is on sda1 below.
    sudo mount -tvfat /dev/sda1 /mnt
    Then you should see the EFI directory under /mnt,:
    ls /mnt
    EFI
    So change default directory to
    cd /mnt/EFI/ubuntu
    and edit the grub.cfg file.

  5. #5
    Join Date
    Aug 2014
    Beans
    3

    Re: Minimal BASH like editing is supported

    .
    Last edited by ObscurityPrince; February 22nd, 2020 at 05:48 PM.

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
  •