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

Thread: Error 1962: No operating system found. After installing new HDD

  1. #1
    Join Date
    Sep 2014
    Beans
    8

    Error 1962: No operating system found. After installing new HDD

    Hi,

    I recently replaced the hard drive in my desktop (Lenovo K430) with a new hybrid drive (Seagate 4 TB Solid State Hybrid Drive SATA 6 GB), and I have now spent the better part of a week trying to install and run Ubuntu 14.04 on it. However, in spite of numerous permutations of partitioning schemes, setup parameters, boot repair options, and suggestions on existing forum threads, I continue to get the message when trying to boot the system:
    Error 1962: No operating system found.

    I have tried a number of different partitioning schemes, but the current partitioning scheme looks like this (as can be seen in the boot-repair url linked below):
    /dev/sda1 ext4 953MB /boot
    /dev/sda2 bios-grub 1MB
    /dev/sda3 linux-swap 7.45 GB
    /dev/sda4 ext4 3.6 TB /

    My current boot/setup settings are:
    ATA drives setup:
    SATA Mode [AHCI Mode]
    Security:
    Administrator Password [Not Installed]
    Power-On Password [Not Installed]
    Startup:
    Quick Boot [Disabled]
    Boot Up Num-Lock Status [On]
    Keyboardless Operation [Enabled]
    Rapid Boot [Disabled]
    UEFI Boot Mode [Legacy]

    This is the resulting url from Boot Repair:
    http://paste.ubuntu.com/8312381/

    Other relevant information:I am currently working with a 32-bit install, but I was getting the same error message with the 64-bit architecture (at this point, I don't care which one winds up on the machine so long as I can get it to boot to an OS). I have no intention of dual-booting this machine. This machine had working Ubuntu 14.04 on it until I replaced the hard drive last week.

    I am happy to provide any additional information that might be useful and am grateful for any suggestions/feedback.
    Thanks so much!

  2. #2
    Join Date
    Jun 2014
    Beans
    5,659

    Re: Error 1962: No operating system found. After installing new HDD

    Googling the error in the title of this thread comes up with quite a number of hits, most of which are regarding Lenovo. Your bootinfo output shows Grub installed on the master boot record as well as separate boot partition (sda1) and a BIOS boot partition (sda2). Would not expect that to be necessary. From what I have read (see the bottom of the page below) you can not have a partition larger than 2TB with an MBR setup. You would probably be better off using GPT/EFI. I don't use either so can't make any specific suggestions. Shrink the Ubuntu root would be the only thing I could see, use the installation medium you used to install which has GParted on it.

    http://www.maketecheasier.com/differ...n-mbr-and-gpt/
    Last edited by yancek; September 11th, 2014 at 01:17 AM.

  3. #3
    Join Date
    May 2007
    Location
    Virginia, USA
    Beans
    13,338
    Distro
    Ubuntu Mate Development Release

    Re: Error 1962: No operating system found. After installing new HDD

    you can not have a partition larger than 2GB with an MBR setup.
    You mean ... 2TB (not 2GB) right?
    Ubuntu 19.10 Mate, Mint 19.2 Mate; MS Win10 Pro.
    Will not respond to PM requests for support -- use the forums.

  4. #4
    Join Date
    Jun 2014
    Beans
    5,659

    Re: Error 1962: No operating system found. After installing new HDD

    You mean ... 2TB (not 2GB) right?
    Yes, thanks for pointing that out.

  5. #5
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Error 1962: No operating system found. After installing new HDD

    Does the BIOS/UEFI recognise this hard disk? I think that the "no operating system found" message is coming from the BIOS/UEFI. When Grub has difficulty finding the Linux kernel it usually drops to a Grub Rescue prompt.

    I do not understand what sda2 bios-grub is doing. If it is supposed to be a EFI partition then I think it should be at the start of the disk. I am not sure but I think so. But you are booting in legacy mode so that an EFI partition should not be necessary. But it could be causing confusion.

    Another thing. If you do install in EFI mode do not use a 32 bit version of Ubuntu. And if Ubuntu is the only OS, and it seems so, why don't you tell the Installer to use the entire disk?

    You have a boot partition and a root ( / ) partition but you do not have a separate /home partition or a partition for data. Your partitioning scheme means that once you get Ubuntu installed, if you ever need to re-install you put your data at risk. In my opinion a separate /home partition is more useful than a separate /boot partition.

    What I find strange is that Grub usually looks for the Linux kernel in /boot and it looks for grub.cfg in /boot/grub. On your system set root = 'hdo,gpt1' which is the first partition on the first hard disk. Which would be sda1 but in sda1 grub.cfg is in /grub/ and not /boot/grub/. Do you have a boot folder on sda1 that contains Linux kernel files?

    There should be a 5 file set for each Linux kernel as well as 3 for memtest. You should see files that start with abi-; config-; initrd.img-; System.map- and vmlinuz-

    Regards.
    Last edited by grahammechanical; September 11th, 2014 at 02:46 AM.
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  6. #6
    Join Date
    Sep 2014
    Beans
    8

    Re: Error 1962: No operating system found. After installing new HDD

    Thank you very much for your responses. At this point, I am still getting the same error (Error 1962: No operating system found).
    Based on your suggestions, this is what I have tried. Note that all of these attempts are with 64-bit 14.04.
    The GPT/EFI route:
    In order to get a live disk to boot on my machine in UEFI mode, it was necessary to use a DVD rather than a USB (the USB just goes to a black screen when I try to run it in UEFI mode). I have tried the following, all of which had the same ultimate result:
    1. Automatic partitioning (erase disk and install option) and installing ubunutu from the DVD in UEFI mode. The resulting partition table looked like this:
    /dev/sda1 fat32 efi boot partition
    /dev/sda2 ext4 mounted on /
    /dev/sda3 linux-swap
    2. Manual partitioning the disk (note that use of any additional partitions such as /home resulted in an out of disk error)
    /dev/sda1 fat32 efi boot partition
    /dev/sda2 ext4 mounted on /
    /dev/sda3 linux-swap
    3. Using boot-repair on both of the above installations after they would not boot
    4. chroot-ing to the installed system as described here and running the following commands as recommended here:
    # grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub --recheck --debug
    # mkdir /boot/efi/EFI/Boot
    # touch /boot/efi/EFI/Boot/bootx64.efi
    5. The above bootx64.efi file was empty, so I also tried getting a version of it with wget and putting it in that location
    6. Installing from the live DVD in legacy mode and then booting back to the live disk in UEFI mode and converting the installed system to UEFI as discussed here

    The Legacy Route:
    1. Automatic partitioning (erase disk and install option) and installing ubunutu from the DVD in Legacy mode, and then resizing the root partition to be less than 2 TB after the installation
    2. Automatic partitioning (erase disk and install option) and installing ubunutu from the USB in Legacy mode, and then resizing the root partition to be less than 2 TB
    3. Maual partitioning the disk so that all partitions were less than 2 TB, the resulting partition table being (all primary partitions):
    /dev/sda1 bios_grub boot partition 1 MB
    /dev/sda2 ext4 mounted on / 1.9 TB
    /dev/sda3 linux-swap 8 GB
    /dev/sda4 ext4 no mount point specified, 1.8 TB
    4. Running boot-repair on each of these

    The current permutation of all of this that I am at is back to one of my first attempts in UEFI mode:
    Installed ubuntu from dvd in UEFI mode. Used automatically generated partition table that looks like this:
    /dev/sda1 fat32 512 MB
    /dev/sda2 ext4 3.63 TB
    /dev/sda3 linux-swap 7.97 GB

    This is the current url I get from boot-repair, which is currently telling me that an error occurred during the repair.

    Additional information: when I boot to the live DVD, the boot-order is set to check the HDD first, and the following error message appears before it goes and finds the DVD (I don't see this error when I have removed the DVD and it is only looking on the HDD):
    Error could not open EFI\Boot\fallback.efi

    Also- the 5 linux kernel files and 3 memetest files are present on the /boot folder on the 4TB drive I can navigate to from the live DVD, but I think this might be /dev/sda2, and I am not sure how to check whether there is anything like this on /dev/sda1

    Any further recommendations or suggestions would be greatly appreciated.
    Thanks Again!

  7. #7
    Join Date
    Sep 2014
    Beans
    8

    Re: Error 1962: No operating system found. After installing new HDD

    If I am ready to give up and just get a different replacement HDD, any suggestions in terms of avoiding this or similar issues?

    Aside from making sure that it is 2 TB or less, should I stay away from the Solid State Hybrid Drive devices and just go with something more like the Seagate Barracuda that was originally installed? I would like to avoid doing this again if possible, so any advice would be greatly appreciated.

    Thanks again.

  8. #8
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Error 1962: No operating system found. After installing new HDD

    There is a reported bug:
    Could not open "\EFI\BOOT\fallback.efi"
    https://bugs.launchpad.net/ubuntu/+bug/1241824

    Solution seems to be just copy grubx64.efi to fallback.efi in /efi/boot folder in efi partition.

    You do have to have 64 bit version for UEFI. And there really is not any reason for 32 bit version with new systems. There are only a very few special apps that may require 32 bit and then it may be better to install that 32 bit in another partition or virtual memory install.

    With very large hard drives it is better to have a smaller / (root) and use rest of drive as /home or data partitions.

    Boot-Repair picks up some minor issues as errors but this says grub installed correctly as error code 0 is no error.
    Installing for x86_64-efi platform.
    Installation finished. No error reported.
    grub-install /dev/sda: exit code of grub-install /dev/sda:0
    Last edited by oldfred; September 15th, 2014 at 05:26 PM.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  9. #9
    Join Date
    Sep 2014
    Beans
    8

    Re: Error 1962: No operating system found. After installing new HDD

    Thanks so much for your response; I tried this suggestion and am still getting the same 'Operating system not found' error when I try to boot the machine and the live disk is not present. When the disk is present, I am still seeing the same 'Could not open EFI\BOOT\fallback.efi' message.

    As such, it is possible that my method for moving files and folders within the efi partition is not correct (sorry for being so ignorant about all of this).

    This is specifically what I did:
    1. Boot computer with live DVD in UEFI mode

    2. Open terminal and type these commands as instructed here:
    # sudo mkdir -p /mnt/sabayon/boot
    # sudo mount /dev/sda2 /mnt/sabayon
    # sudo mount /dev/sda1 /mnt/sabayon/boot
    # sudo mount -t proc none /mnt/sabayon/proc
    # sudo mount -o bind /dev /mnt/sabayon/dev
    # sudo mount -o bind /run /mnt/sabayon/run

    3. Then type this command:
    # sudo chroot /mnt/sabayon /bin/bash

    4. Then I looked for the files you mentioned. The /boot/EFI/BOOT directory did not exist, but /boot/EFI/ubuntu did

    5. So I created /boot/EFI/BOOT and did:
    cp /boot/EFI/ubuntu/grubx64.efi /boot/EFI/BOOT/fallback.efi

    6. Then I exited and tried to reboot and got the errors mentioned above

    Was that the correct method for this? I assume it wasn't since I am still getting the errors that this is supposed to fix...
    Thanks!

  10. #10
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Error 1962: No operating system found. After installing new HDD

    That may not be correct. The efi partition is not a /boot partition. That would be another partition, but not normally required with most desktops. Your /boot then is a folder inside your / (root).

    With grubx64.efi you do have to have secure boot off. Is it off?

    Spec sheet for that drive says it is compatible with Linux. Even XP which does not normally work with gpt partitioned drives.
    Some hybrid drives have had special Windows drivers and compatibility issues.

    Most UEFI also can boot from bootx64.efi in the efi/boot folder.

    From live installer mount the efi partition on hard drive:
    mount /dev/sda1 /mnt
    mkdir /mnt/EFI/BOOT
    cp /mnt/EFI/ubuntu/* /mnt/EFI/BOOT
    cp /mnt/EFI/BOOT/grubx64.efi /mnt/EFI/BOOT/bootx64.efi
    cp /mnt/EFI/BOOT/grubx64.efi /mnt/EFI/BOOT/fallback.efi
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

Page 1 of 3 123 LastLast

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
  •