Page 4 of 4 FirstFirst ... 234
Results 31 to 37 of 37

Thread: Boot failure after GRUB 2.0 installation

  1. #31
    Join Date
    Feb 2013
    Beans
    Hidden!

    Re: Boot failure after GRUB 2.0 installation

    Another option is to try kexec if it comes installed with GParted.
    Something like this:
    Code:
    mount -t ext4 /dev/sda7 /mnt
    kexec -l /mnt/vmlinuz --append=root=/dev/sda7 --initrd=/mnt/initrd.img
    kexec -e

  2. #32
    Join Date
    Dec 2012
    Beans
    61

    Re: Boot failure after GRUB 2.0 installation

    Quote Originally Posted by dorruk View Post
    Well I know it is dev/sda2 but what I get from "ls" is not likely close to it?
    (hd0, msdos2)

  3. #33
    Join Date
    Dec 2012
    Beans
    42

    Re: Boot failure after GRUB 2.0 installation

    Quote Originally Posted by darkod View Post
    I am not sure how chroot works from Gparted Live, since you have no other linux to boot. Try this in terminal:
    (I assume you will be root, or first google how to execute root commands in Gparted Live terminal)
    Code:
    mount /dev/sda7 /mnt
    mount --bind /proc /mnt/proc
    mount --bind /dev /mnt/dev
    mount --bind /sys /mnt/sys
    chroot /mnt
    grub-install /dev/sda
    exit
    umount /mnt/sys
    umount /mnt/dev
    umount /mnt/proc
    umount /mnt
    That is a chroot procedure. Hope fully it will work.

    And get a new usb stick, it least 1GB and make it ubuntu live usb, and keep it.
    When I get to "chroot /mnt" it says
    Code:
    chroot: failed to run command '/bin/bash': Exec command error.

  4. #34
    Join Date
    Dec 2012
    Beans
    42

    Re: Boot failure after GRUB 2.0 installation

    Quote Originally Posted by schragge View Post
    Another option is to try kexec if it comes installed with GParted.
    Something like this:
    Code:
    mount -t ext4 /dev/sda7 /mnt
    kexec -l /mnt/vmlinuz --append=root=/dev/sda7 --initrd=/mnt/initrd.img
    kexec -e
    kexec: command not found.

  5. #35
    Join Date
    Dec 2012
    Beans
    42

    Re: Boot failure after GRUB 2.0 installation

    Ok just borrowed the neighbors usb (should have thought of that earlier ), installed ubuntu live, then boot-repair and now it's working. Boot-repair summary: http://paste.ubuntu.com/1613807/

    This better teach me a lesson that I should keep an Ubuntu disc with me at all times.

  6. #36
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,560
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Boot failure after GRUB 2.0 installation

    It looks like you can't do it from Gparted Live, as I assumed. It is not a "full" linux distro.

    I can't understand what is the problem using the same stick for Damn Small Linux or Puppy Linux. You said it would overwrite Gparted Live. So what, it's not even a full distro, as you can see yourself. It serves only for partitioning, and you have partitioning tools in one form or another (GUI or command line) in the mentioned distros too.

    So, you don't lose anything by overwriting Gparted Live, but you can gain much. It's up to you.

    Investigate first and confirm that the distro you want to use can fit on the stick.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

  7. #37
    Join Date
    Dec 2012
    Beans
    42

    Re: Boot failure after GRUB 2.0 installation

    Quote Originally Posted by darkod View Post
    It looks like you can't do it from Gparted Live, as I assumed. It is not a "full" linux distro.

    I can't understand what is the problem using the same stick for Damn Small Linux or Puppy Linux. You said it would overwrite Gparted Live. So what, it's not even a full distro, as you can see yourself. It serves only for partitioning, and you have partitioning tools in one form or another (GUI or command line) in the mentioned distros too.

    So, you don't lose anything by overwriting Gparted Live, but you can gain much. It's up to you.

    Investigate first and confirm that the distro you want to use can fit on the stick.
    Then that would be #1 on my to-do-list, while my computer's now working. Thanks a lot!

Page 4 of 4 FirstFirst ... 234

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
  •