Machine is only booting with live USB plugged in. Without it I am getting the grub prompt.
Please look what you are posting where. This is about booting and we have a sub-forum called Install/Boot/Login.
You are expected to search for the forum your question belongs.
This is going to be moved.
I have been facing problems booting my laptop without a live usb plugged in. In the forum linuxquestions.org I posted this as part of a long thread and Mrmazda advised the following:
Try booting using the USB stick. Then key in Ctrl-Alt-F3 and login as root. Then: Code:
efibootmgr -v | susepaste
cat /etc/fstab | susepaste
sudo fdisk -l | susepaste
These should return URLs, which you should paste here so we can click on them. If you get any kind of error, then do this instead after logging in: Code:
efibootmgr -v
cat /etc/fstab
sudo fdisk -l
and take a screenshot (or two if necessary) to show here. Even better would be to add this to your thread in the Install/Boot/Login openSUSE forum and leave this thread closed.
Simple solution:
- Boot with the USB plugged in
- Remove the USB
- Start YaST - Sytem - Bootloader
- Click OK, a new bootloader config will be automagically created.
- Reboot. It should work now.
Thanks for the suggestion. As soon as I removed the usb, the screen went blank and I had to do a hard shutdown.
Then you are still booting the USB, not the installed system.
Or you removed it too fast.
Sounds like you are booting to the live USB rather than from the USB to the hard drive. Are you selecting the right option from the boot menu??? I assume this is a new install right???
Yes I am booting with the live USB plugged in, for otherwise it just gives me the grub prompt. This is a new install alright and maybe boot option ought to be changed upon entering the bios before the system boots. Let me try that.
There should be an option on boot to select boot to hard drive or some such if you boot to the USB the OS is run from the USB
Here is information that Mrmazda requested me post here, we’ve had a long thread running at linuxquestions.org.
som@linux-ua26:~> sudo blkid
[sudo] password for root:
/dev/sda1: UUID="B8B2-9090" TYPE="vfat" PARTUUID="cf16dc77-01"
/dev/sda2: SEC_TYPE="msdos" UUID="7B74-C482" TYPE="vfat" PARTUUID="cf16dc77-02"
/dev/sda3: UUID="23ff0f68-a0e5-44b4-8f25-c19e8054339a" UUID_SUB="5007401d-3fae-450c-98e5-2e6c96471988" TYPE="btrfs" PARTUUID="cf16dc77-03"
/dev/sda4: UUID="6982eac4-18a8-4e9e-b8f5-d667f83300a6" TYPE="swap" PARTUUID="cf16dc77-04"
/dev/sdb1: SEC_TYPE="msdos" UUID="5939-BB66" TYPE="vfat" PARTUUID="7c782b0b-01"
/dev/sdb2: UUID="2019-05-15-02-21-24-97" LABEL="openSUSE-Leap-15.1-NET-x86_64470" TYPE="iso9660" PARTUUID="7c782b0b-02"
/dev/sdb3: UUID="17c9e087-24bf-4a70-a947-ceb65a4f4977" TYPE="ext4" PARTUUID="7c782b0b-03"
som@linux-ua26:~> sudo parted -l
Model: ATA TOSHIBA MQ01ABD1 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 538MB 537MB primary fat32 boot, type=0b
2 538MB 1062MB 524MB primary fat16 esp, type=ef
3 1062MB 998GB 997GB primary btrfs type=83
4 998GB 1000GB 2148MB primary linux-swap(v1) type=82
Model: SanDisk Cruzer Blade (scsi)
Disk /dev/sdb: 15.7GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 141kB 4141kB 4000kB primary fat16 esp, type=ef
2 4141kB 131MB 127MB primary boot, hidden, type=17
3 131MB 15.7GB 15.5GB primary ext4 type=83
som@linux-ua26:~> cat /etc/fstab
UUID=17c9e087-24bf-4a70-a947-ceb65a4f4977 / ext4 acl,user_xattr 0 1
UUID=7B74-C482 /boot/efi vfat defaults 0 0
som@linux-ua26:~> efibootmgr -v
Absolute path to 'efibootmgr' is '/usr/sbin/efibootmgr', so running it may require superuser privileges (eg. root).
som@linux-ua26:~> su root
Password:
linux-ua26:/home/som # efibootmgr -v
BootCurrent: 000F
Timeout: 1 seconds
BootOrder: 000F,0000,0010,0012,0014,0015,0016,0005
Boot0000* opensuse-secureboot HD(2,MBR,0xcf16dc77,0x100800,0xfa000)/File(\EFI\OPENSUSE\SHIM.EFI)
Boot0005 ubuntu HD(1,MBR,0xcf16dc77,0x800,0x100000)/File(\EFI\UBUNTU\SHIMX64.EFI)..BO
Boot000F* opensuse HD(2,MBR,0xcf16dc77,0x100800,0xfa000)/File(\EFI\OPENSUSE\GRUBX64.EFI)..BO
Boot0010* UEFI: SanDisk PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/CDROM(1,0x114,0x7a10)..BO
Boot0012* UEFI: SanDisk PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/CDROM(1,0x114,0x7a10)..BO
Boot0014* UEFI: SanDisk PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/CDROM(1,0x114,0x7a10)..BO
Boot0015* UEFI: SanDisk, Partition 1 PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/HD(1,MBR,0x7c782b0b,0x114,0x1e84)..BO
Boot0016* UEFI: SanDisk, Partition 2 PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/HD(2,MBR,0x7c782b0b,0x1f98,0x3c868)/CDROM(1,0x114,0x7a10)..BO
linux-ua26:/home/som #
As you have already seen in at least one of your earlier posts, your so called screen shots are not to be seen here on the forums. When you want to upload images somewhere and show them here the use https://susepaste.org/ . There is an Image button right-top.
Then post the URL of the resulting page (NOT of the image) in your post by using the URL button (the one with the Globe) from the tool bar of the post editor.
OK got it.
I wrote way back in the other thread’s #98, “erasing the entire disk for a fresh start”. The disparity between two partitions in fstab and 4 actual disk partitions indicates to me that may not have happened. Instead, the combination of outputs seems to indicate a fouled up installation that depends on both USB stick and HD to be able to run the HD’s installation:
fstab: UUID=17c9e087-24bf-4a70-a947-ceb65a**4f4977** / ext4 acl,user_xattr 0 1
blkid: /dev/**sdb3**: UUID="17c9e087-24bf-4a70-a947-ceb65a**4f4977**" TYPE="ext4" PARTUUID="7c782b0b-03"
fstab: UUID=7B74-**C482** /boot/efi vfat defaults 0 0
blkid: /dev/**sda2**: SEC_TYPE="msdos" UUID="7B74-**C482**" TYPE="vfat" PARTUUID="cf16dc77-02"
Though it might be possible at least in theory to repair this, because of the presence of two ESP-compatible vfat partitions on the HD, and the secure boot and ubuntu entries in efibootmgr output, my best recommend now is to try again to 100% wipe the disk, either before starting installation, or as a component of installation (during installation, wiping the disk). Unless you’re sure you want to employ secure boot, because you’re so new with Linux, I suggest to not use it in a new installation.
How to wipe the entire disk? Also how do I know my installation usb is kosher?
Also how can I be sure that my hard disk has really been wiped clean, and what is the best way to create an installation USB?
Google can tell you many ways. Do you have a disk utility CD, DVD or USB stick, such as ultimatebootcd or gparted? One way is to use the Xubuntu or openSUSE installation media, key in Ctrl-Alt-F3 after starting it up, and using DD from the shell prompt. Likely fdisk, gdisk and/or parted could also be used from the same shell prompt.
The theoretically easy way is to let the openSUSE partitioner simply use the whole disk without saving anything existing. It won’t actually “wipe”, but it will destroy the existing partitioning, making what was already there inaccessible once the installation write process has begun.
If it boots and proceeds as expected, odds are very high there’s nothing wrong with it.
What is the best way to create an installation USB?
That is unanswerable, purely subjective. Whatever works for you is best for you. Create installation USB stick - openSUSE Wiki explains some that are known to work. SDB:Live USB stick - openSUSE Wiki has another that uses DD. I use K3B when available. Otherwise I do it the DD way:
dd if=/path/to/iso-file of=/dev/sdX