Results 1 to 4 of 4

Thread: upgraded to 15.2; system now only boots via installation USB drive.

  1. #1
    Join Date
    Oct 2014
    Posts
    21

    Default upgraded to 15.2; system now only boots via installation USB drive.

    HI,

    I have upgraded my leap 15.1 to 15.2. It was an 'upgrade', not a new install.
    The upgrade seemed to go fine, but now I can only boot-up the upgraded system when I have the installation-USB drive still in its slot. That is, with the 15.2 stick connected, I get the installation options of which I choose the default one: installation from hard disk. The system boots into 15.2 and the system works all-right.

    However, when I remove the usb-drive, I can no longer boot-up my system. The system stops where it is supposed to boot from the hard disk.
    I have not made any modification to the BIOS settings. The hard disk is number 3 in the boot sequence, after the USB (1st) and the CD-ROM dirve (2nd), as it has always been.

    What can I do to correct thi issue?

    Regards,
    Bertwim

  2. #2
    Join Date
    Jul 2018
    Location
    Loma Linda, Mo
    Posts
    483

    Default Re: upgraded to 15.2; system now only boots via installation USB drive.

    After you remove the USB drive and are running

    as root or uses sudo

    grub2-install /dev/(the drive with opensuse on it not the partition - usually sda or nvme0n1)

    to see what to put in you can use df -v and use what / is without the partition if it is sda2 you use sda if it is nvme0n1p2 then you uses nvme0n1

    that will reinstall the correct boot code on the drive.
    OpenSUSE 15.2 with VirtualBox VM's (XP, 10, Ubuntu MATE 20.04, OpenSUSE 15.2)
    Pi4 with Ubuntu MATE 20.04
    Unix since 1974 (pdp-11, Interdata, AT&T, Tandy, Convergent, Sun, IBM, NCR, and HP)
    Linux since 1995 (Mandrake, Redhat, Fedora, CentOS, OpenSUSE)

  3. #3
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,050

    Default Re: upgraded to 15.2; system now only boots via installation USB drive.

    Quote Originally Posted by bwvb View Post
    However, when I remove the usb-drive, I can no longer boot-up my system.
    In addition to the information given by larryr

    It seems that, the boot loader hasn't been properly initialised – reference is here – <https://doc.opensuse.org/documentati...c-trouble-boot> and here – <https://doc.opensuse.org/documentati...er-rescue-grub>.

    After you've re-installed the GRUB2 boot loader on the system, you have to re-install it as a boot-loader –
    Code:
     # grub2-mkconfig -o /boot/grub2/grub.cfg
    The GRUB2 “make configuration” should re-write the Master Boot Record (MBR) – you can be sure that the MBR will be rewritten if you use YaST – and make sure to enable the “Write generic Boot Code to MBR” option …

  4. #4
    Join Date
    Oct 2014
    Posts
    21

    Thumbs up Re: upgraded to 15.2; system now only boots via installation USB drive.

    @larryr, @dcurtisfra,

    Thanks for your responses. It worked, problem solved!


    Kind Regards,
    Bertwim

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •