Page 1 of 3 123 LastLast
Results 1 to 10 of 27

Thread: grub stage 1.5 error 15

  1. #1
    Join Date
    Mar 2009
    Beans
    99

    grub stage 1.5 error 15

    Hi

    I was trying to install ubuntu 9.1 and it got stuck for a long time at some stage. finally when I rebooted my laptop and tried to boot from hdd and it is giving following error

    Grub loading stage 1.5
    Grub loading please wait
    Error 15

    It was a clean install on my primary hdd. And it got stuck twice. Hence I tried to boot from hdd. I did manual partitioning.

  2. #2
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: grub stage 1.5 error 15

    See this link in the errors section at the end of the initial post.http://ubuntuforums.org/showthread.php?t=1195275
    File Not Found (Error 15)

    This error is the result of a GRUB 2 installation to /boot but a Master Boot Record ( MBR ) which still contains Grub legacy.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  3. #3
    Join Date
    Mar 2009
    Beans
    99

    Re: grub stage 1.5 error 15

    Hi thanks I following instructions from

    https://help.ubuntu.com/community/Gr...0from%20LiveCD

    ( I followed 2 METHOD 2 - Copy GRUB 2 Files from the Installed Partition )
    now it is going to the grub prompt.

    step no 6 Refresh the GRUB 2 menu with sudo update-grub
    gave following message
    grub-probe: error: cannot find a device for /.

    I tried to boot from the hdd now and it went to grub prompt
    can you further point out what should I do?

    Quote Originally Posted by oldfred View Post
    See this link in the errors section at the end of the initial post.http://ubuntuforums.org/showthread.php?t=1195275
    File Not Found (Error 15)

    This error is the result of a GRUB 2 installation to /boot but a Master Boot Record ( MBR ) which still contains Grub legacy.
    Last edited by idom; December 19th, 2009 at 02:49 PM.

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

    Re: grub stage 1.5 error 15

    In your case you seem to be missing the config files too, like grub was never installed fully. From that link you posted follow the Method 3 CHROOT procedure.
    That can create new config files if none exist.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

  5. #5
    Join Date
    Mar 2009
    Beans
    99

    Re: grub stage 1.5 error 15

    As per your suggestion, I tried running the step 3. A few steps where output was not normal

    update-grub
    Generating grub.cfg ...
    Found memtest86+ image: /boot/memtest86+.bin
    Cannot find list of partitions!
    done
    root@ubuntu:/# grub-install /dev/sda
    Installation finished. No error reported.
    This is the contents of the device map /boot/grub/device.map.
    Check if this is correct or not. If any of the lines is incorrect,
    fix it and re-run the script `grub-install'.

    (hd0) /dev/sda
    (hd1) /dev/sdb
    root@ubuntu:/# sudo grub-install --recheck /dev/sda
    sudo: unable to resolve host ubuntu
    Installation finished. No error reported.
    This is the contents of the device map /boot/grub/device.map.
    Check if this is correct or not. If any of the lines is incorrect,
    fix it and re-run the script `grub-install'.

    (hd0) /dev/sda
    root@ubuntu:/#

    after that I rebooted the system and it is going into memcheck instead of booting from HDD. I think now grub is completely gone.

    suggestions please..

    Quote Originally Posted by darkod View Post
    In your case you seem to be missing the config files too, like grub was never installed fully. From that link you posted follow the Method 3 CHROOT procedure.
    That can create new config files if none exist.

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

    Re: grub stage 1.5 error 15

    Did you mount all devices from all previous steps as per the instructions?

    To summarize, you need to execute something like:

    Code:
    sudo -i
    mount /dev/sda1 /mnt
    grub-install --root-directory=/mnt/ /dev/sda
    mount --bind /proc /mnt/proc
    mount --bind /dev /mnt/dev
    mount --bind /sys /mnt/sys
    chroot /mnt update-grub
    umount /mnt/sys
    umount /mnt/dev
    umount /mnt/proc
    exit
    In the second command, replace /dev/sda1 with your root partition. Do you know what your root partition is? Were you mounting it at all?

    If you are not sure about root partition, execute in terminal
    sudo fdisk -l

    and copy the result here and I'll see which one is it. After that execute the above commands.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

  7. #7
    Join Date
    Mar 2009
    Beans
    99

    Re: grub stage 1.5 error 15

    I am pretty sure that it is /dev/sda1

    however, I am still pasting the output here

    sudo fdisk -l

    Disk /dev/sda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x00094ad6

    Device Boot Start End Blocks Id System
    /dev/sda1 1 4985 40041981 83 Linux
    /dev/sda2 4986 9726 38082082+ 83 Linux
    /dev/sda3 9727 12158 19535040 b W95 FAT32
    /dev/sda4 12159 19457 58629217+ 5 Extended
    /dev/sda5 12159 19088 55665193+ 83 Linux
    /dev/sda6 19089 19457 2963961 82 Linux swap / Solaris


    Disk /dev/sdb: 250.1 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x0622b86c

    Device Boot Start End Blocks Id System
    /dev/sdb1 1 10199 81923436 7 HPFS/NTFS
    /dev/sdb2 10200 20398 81923467+ 7 HPFS/NTFS
    /dev/sdb3 20399 30401 80349097+ 7 HPFS/NTFS


    Can you please confirm that it is /dev/sda1

    I had made two primary partition for linux and for /dev/sda1 I had given mount point as /

    Thanks for the help.


    Quote Originally Posted by darkod View Post
    Did you mount all devices from all previous steps as per the instructions?

    To summarize, you need to execute something like:

    Code:
    sudo -i
    mount /dev/sda1 /mnt
    grub-install --root-directory=/mnt/ /dev/sda
    mount --bind /proc /mnt/proc
    mount --bind /dev /mnt/dev
    mount --bind /sys /mnt/sys
    chroot /mnt update-grub
    umount /mnt/sys
    umount /mnt/dev
    umount /mnt/proc
    exit
    In the second command, replace /dev/sda1 with your root partition. Do you know what your root partition is? Were you mounting it at all?

    If you are not sure about root partition, execute in terminal
    sudo fdisk -l

    and copy the result here and I'll see which one is it. After that execute the above commands.

  8. #8
    Join Date
    Mar 2009
    Beans
    99

    Re: grub stage 1.5 error 15

    And I think yes, i followed all the steps.

    Thanks again for all the help.

    Quote Originally Posted by idom View Post
    I am pretty sure that it is /dev/sda1

    however, I am still pasting the output here

    sudo fdisk -l

    Disk /dev/sda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x00094ad6

    Device Boot Start End Blocks Id System
    /dev/sda1 1 4985 40041981 83 Linux
    /dev/sda2 4986 9726 38082082+ 83 Linux
    /dev/sda3 9727 12158 19535040 b W95 FAT32
    /dev/sda4 12159 19457 58629217+ 5 Extended
    /dev/sda5 12159 19088 55665193+ 83 Linux
    /dev/sda6 19089 19457 2963961 82 Linux swap / Solaris


    Disk /dev/sdb: 250.1 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x0622b86c

    Device Boot Start End Blocks Id System
    /dev/sdb1 1 10199 81923436 7 HPFS/NTFS
    /dev/sdb2 10200 20398 81923467+ 7 HPFS/NTFS
    /dev/sdb3 20399 30401 80349097+ 7 HPFS/NTFS


    Can you please confirm that it is /dev/sda1

    I had made two primary partition for linux and for /dev/sda1 I had given mount point as /

    Thanks for the help.

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

    Re: grub stage 1.5 error 15

    From this output you can't tell for sure because sda1, sda2 and sda5 are all linux type partitions. But if you selected mount point / for /dev/sda1 then that's it.
    Execute the commands with /dev/sda1 in the second and see how it goes.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

  10. #10
    Join Date
    Mar 2009
    Beans
    99

    Re: grub stage 1.5 error 15

    I am pasting the complete terminal output

    Please advise . ( /media/Modi_* are external USB disk partitions so those can be ignored , I think ) And one more comment I have to go out for something for half an hour, however, I will be back asap.

    Thanks for your patience.

    ubuntu@ubuntu:~$ sudo -i
    root@ubuntu:~# mount /dev/sda1 /mnt
    root@ubuntu:~# grub-install --root-directory=/mnt/ /dev/sda
    Installation finished. No error reported.
    This is the contents of the device map /mnt//boot/grub/device.map.
    Check if this is correct or not. If any of the lines is incorrect,
    fix it and re-run the script `grub-install'.

    (hd0) /dev/sda
    root@ubuntu:~# mount --bind /proc /mnt/proc
    root@ubuntu:~# mount --bind /dev /mnt/dev
    root@ubuntu:~# mount --bind /sys /mnt/sys
    root@ubuntu:~# chroot /mnt update-grub
    Generating grub.cfg ...
    Found memtest86+ image: /boot/memtest86+.bin
    mkdir: cannot create directory `/var/lib/os-prober/mount': No such file or directory
    mkdir: cannot create directory `/var/lib/os-prober/mount': No such file or directory
    mkdir: cannot create directory `/var/lib/os-prober/mount': No such file or directory
    mkdir: cannot create directory `/var/lib/os-prober/mount': No such file or directory
    mkdir: cannot create directory `/var/lib/os-prober/mount': No such file or directory
    ls: cannot access /media/Modi_1: No such file or directory
    ls: cannot access /media/Modi_1: No such file or directory
    ls: cannot access /media/Modi_1: No such file or directory
    ls: cannot access /media/Modi_1: No such file or directory
    ls: cannot access /media/Modi_2: No such file or directory
    ls: cannot access /media/Modi_2: No such file or directory
    ls: cannot access /media/Modi_2: No such file or directory
    ls: cannot access /media/Modi_2: No such file or directory
    ls: cannot access /media/Modi_3: No such file or directory
    ls: cannot access /media/Modi_3: No such file or directory
    ls: cannot access /media/Modi_3: No such file or directory
    ls: cannot access /media/Modi_3: No such file or directory
    done
    root@ubuntu:~# umount /mnt/sys
    root@ubuntu:~# umount /mnt/dev
    root@ubuntu:~# umount /mnt/pro
    umount: /mnt/pro: not found
    root@ubuntu:~# umount /mnt/proc
    root@ubuntu:~# exit
    logout




    Quote Originally Posted by darkod View Post
    From this output you can't tell for sure because sda1, sda2 and sda5 are all linux type partitions. But if you selected mount point / for /dev/sda1 then that's it.
    Execute the commands with /dev/sda1 in the second and see how it goes.

Page 1 of 3 123 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
  •