LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 01-16-2023, 04:26 PM   #1
pschmitt
Member
 
Registered: May 2014
Location: Karlsruhe Germany
Distribution: OpenSUSE Leap 15.1
Posts: 57

Rep: Reputation: Disabled
failed to create bootable usb for openSUSE


I totally screwed up the update from openSUSE Leap 15.3 to 15.4 by my own fault. Now on boot Window 7 is shown as the only alternative.
I want to create a bootable usb storage device to see if I could
fix things.
Luckily, I do have a second computer running kubuntu. Using it I
did the following
I downloaded
openSUSE-Leap-15.3-KDE-Live-aarch64-Build10.25-Media.iso
I formatted my usb storage device
mkfs.ext3 /dev/sdb1
and used dd to copy the iso-file onto
the usb device.
I started the openSUSE computer with the usb device plucked in,
hit ENTER and F12 and arrived at a selection between four boot options.
I chose USB HDD: HTS54804 0M9AT00
but nothing happened.
What is wrong here? Is something wrong with the usb storage device?
Is the openSuse computer in a state that it can't read it?
Please, help me!
 
Old 01-16-2023, 06:46 PM   #2
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,371

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
You may need to use this iso:
openSUSE-Leap-15.3-KDE-Live-x86_64-Build10.25-Media.iso
the iso you're using is for an arm system.
 
Old 01-16-2023, 10:13 PM   #3
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,850
Blog Entries: 1

Rep: Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074
Quote:
Originally Posted by pschmitt View Post
I totally screwed up the update from openSUSE Leap 15.3 to 15.4 by my own fault.
Using which upgrade method? Live/online using zypper? 15.4 installation media? If the latter, it can do the repair. It can be used to boot the installed system too.
Quote:
I want to create a bootable usb storage device to see if I could
fix things.
Good plan if you did a live upgrade, Leap is your only Linux OS installed on your PC, and you don't already have correct installation media.
Quote:
I formatted my usb storage device
mkfs.ext3 /dev/sdb1
Why? You're wearing out your USB device by formatting it, then overwriting the fresh format by dding an .iso onto it. Formatting is what you do so that you can copy things on and off of it. An .iso is a file full of files and formatted filesystems to be writing directly to a device, not to a (formatted) filesystem.
Quote:
I started the openSUSE computer with the usb device plucked in,
hit ENTER and F12 and arrived at a selection between four boot options.
I chose USB HDD: HTS54804 0M9AT00
Is that an external HD? A USB stick? The disk you installed Leap on?
Quote:
but nothing happened.
What is wrong here?
Probably what colorpurple wrote. Windows PCs don't use aarch64 operating systems. You need an x86_64 .iso for all the Windows PCs I'm aware of.
 
1 members found this post helpful.
Old 01-17-2023, 02:42 AM   #4
pschmitt
Member
 
Registered: May 2014
Location: Karlsruhe Germany
Distribution: OpenSUSE Leap 15.1
Posts: 57

Original Poster
Rep: Reputation: Disabled
failed to create bootable iso for openSUSE

Here are my answers to mrmazda's questions

I was using zypper for online upgrade. Set the releasevar parameter to 15.4 and started
sudo zypper dup. My mistake was not to take the advice serious to do this in non-GUI mode.
Everything went well for a while. Almost at the end of installing the downloaded packages the
screen went blank and showed a garbeled error message. I could revert to CLI in non-GUI mode but resuming
"dup" was blocked. When I turned of the computer and started it again the only boot options where
the Windows 7 OS which had been there as a dual boot all the time.

The usb device I am using is an external hard disc.

I will now download the iso version you colorpurple suggested and not do reformatting of the usb HD but
use dd right away. I'll keep you posted.
 
Old 01-17-2023, 03:02 AM   #5
pschmitt
Member
 
Registered: May 2014
Location: Karlsruhe Germany
Distribution: OpenSUSE Leap 15.1
Posts: 57

Original Poster
Rep: Reputation: Disabled
failed to create booteble usb iso for openSUSE

I am back again.
I did as I mentioned in my last post:

downloaded openSUSE-Leap-15.3-KDE-Live-x86_64-Build10.25-Media.iso
then
dd if="file above" of=/dev/sdb1

I checked the result with my kubunto machine and it looked ok.
Started the first computer with it but chosing the HD boot option produced no result.
 
Old 01-17-2023, 03:07 AM   #6
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,850
Blog Entries: 1

Rep: Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074
Quote:
Originally Posted by pschmitt View Post
Now on boot Window 7 is shown as the only alternative.
How is it shown? Is there a Grub menu that only shows one item, which is Windows? If so, you should be able to exit the menu to the grub shell and boot manually, with instruction. To help, we'd need to see /etc/fstab from the installed system, and output from grep -A5 openSUSE /mnt/boot/grub2/grub.cfg (after mounting Leap's root filesystem to /mnt), lsblk -f & fdisk -l retrieved via booting any Linux live media. There are howtos for booting from the Grub shell scattered about the net, maybe here somewhere.

It's weakly possible all you really need to do is use your PC's BBS menu to select what to boot from, if it's a UEFI PC, and installation was done in UEFI mode. Whether it's a UEFI installation on GPT should be evident to us from fdisk -l output.
 
1 members found this post helpful.
Old 01-17-2023, 03:10 AM   #7
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,850
Blog Entries: 1

Rep: Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074
Quote:
Originally Posted by pschmitt View Post
dd if="file above" of=/dev/sdb1
Wrong. Try again using /dev/sdb instead of /dev/sdb1. .isos must be dd'd to disks, not to partitions.
 
1 members found this post helpful.
Old 01-17-2023, 03:30 AM   #8
pschmitt
Member
 
Registered: May 2014
Location: Karlsruhe Germany
Distribution: OpenSUSE Leap 15.1
Posts: 57

Original Poster
Rep: Reputation: Disabled
failed to create bootable iso for openSUSE

Thanks!!
that worked.
Now it remains to see, if i can save the previous system.
But that is another issue.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Can I make a USB hard drive bootable with same procedure to make USB stick bootable? Tem2 Linux - Hardware 1 02-16-2019 08:25 AM
How to create bootable USB for OpenSUSE Live KDE(or Live Gnome)? glock356 SUSE / openSUSE 1 06-14-2012 06:20 AM
[SOLVED] If I dd copy a bootable usb drive to an iso will the iso be bootable? mgallatin Linux - Software 5 03-23-2011 04:46 PM
Creating bootable CDROM from a bootable USB drive seaquesttr Linux - Desktop 2 08-01-2010 11:57 AM
Making a USB stick bootable from a bootable cdrom cwwilson721 Slackware 2 10-23-2009 09:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 10:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration