Bootable Iso Image Download

2 views
Skip to first unread message

Torcuato Agravante

unread,
Aug 5, 2024, 1:29:41 AM8/5/24
to linksetitwe
HiWhat version of Etcher are you using and on what platform ? If you trying to flash a downloaded file you could post a link to the file and we can take a look if we can reproduce the problem.

Regards

Thomas


actually thinking about it, ISO images when designed for a CD do not necessarily need to contain a partition table. I am quite sure though that to boot from USB stick you will need one. Converting from one format to the other might not be trivial and you are probably better of downloading an image that is meant for flashing on a USB stick in contrast to being booted from CD.


Etcher copies images to drives byte by byte, without doing any transformation to the final device, which means images that require special treatment to be made bootable, like Windows images, will not work out of the box. In these cases, the general advice is to use software specific to those kind of images, usually available from the image publishers themselves.


-us/software-download/windows10ISO

click on 64-bit,and after downloading flash it with etcher,you will see the notification MISSING PARTITION TABLE

Remember the problem happen with the latest version of etcher both in linux and windows(as I have tested)


I have a 3750 that I am trying to add an image to it so that I may begin to use it however the switch itself currently does not have a bootable image. Is there any way for me to add an image to this switch with no current bootable image? Thanks


My problem is, that i got this message "Unable to find bootable image" by mcuboot (investigated via debugger, unfortunatelly i'm not able to enable logs in that build).

So probably there is problem with partitions or maybe signature of the app.

This is my mcuboot.conf:


west build -b

west flash (merged.hex is being flashed)



Before some changes (not important here) everything was working fine, and i was even able to upload images through bluetooth with positive answer. But after few rebuilds it stopped working (probably it was pure luck - this is why i suspect that something may be wrong with partition table).


OK, I think I found the reason. It is not about specific content of mcuboot .conf file . It is about modyfing it itself. After modyfing mcuboot.conf bootloader is being not only rebuilt but also re-generated.

But if I do Pristine Build (without modifying bootloader .config) bootloader will no longer load application.

After any change in mcuboot config file and rebuild (it takes longer then) and flash it starts working again.


So maybe mcuboot has to be regenerated every time application is changed?

Only Pristine Build is causing this error, regular build does not affect starting app by bootloader.

(after every pristine build i need to modify mcuboot.conf and rebuild again, only after this process bootloader will load app again)



I guess i'm doing something wrong with building/flashing process.


I have successfully installed 20.04 and done lots of customization. In the event of a tragedy I would not like to have to start all over again. Is there a simple way (suitable for us newbies) to create a bootable thumb drive image of the customized system, preferably (but not necessarily) including user files, that I could use to restore the system to its current state?I am running on a Dell XPS 410 desktop computer.My apologies if this has been answered previously.Thank you.


After seeing this text, make bootable ISO image file was completed successfully, and you have created a bootable ISO file. If desired, this ISO file can be burned to get a bootable CD/DVD/Blu-ray Disc.


I decided I will blog short technical guides when I do something undocumented. These are probably of zero interest to the blog followers and are just meant for Google. If they annoy, tell me and I'll get a wiki or something.


Nice. Now we need a bootloader. Again to the ArchWiki GRUB page (that wiki is a gold mine). We can just follow the Install to external USB stick instructions, mounting the image with kpartx instead of the stick.


This installed GRUB2, easy. Now we have to configure it. This is harder because grub-mkconfig relies on config files present on the running system, while we want to point it at our mounted system. Here the Gentoo wiki page comes handy, and I was about to just create grub.cfg manually when I realized I don't have any kernel installed at all. I'll need to chroot in and install it.


Last step: fix fstab. We don't want to boot successfully just to have the kernel not find its root, so we replace /dev/xvda with /dev/sda1. Finally fix network (in my case assigning the static "Failover" IP that is routed to this machine's MAC via the hypervisor bridge), clean up, and try it!


I think you first need to use the Extract a boot image feature from that screen. You will need a bootable XP floppy disk or CD inserted and use that feature on that drive. Or maybe using C: might work. Then, put that extracted file into the Boot Image field.


Yes, if you have a bootable CD with Windows XP on it, like an installation disc, put that in and point the Extract Boot Image to the CD drive, which you appear to have already done. Then press the little blue floppy disk icon to extract the boot image from the CD.


I haven't done it a while, but I believe the boot image file will have an extension of either .IMA or .IMG. You will need to save this file to somewhere on a media like an HDD or flash drive. Then, use that file in the Boot Image field.


You're going too off track here. The Boot files are not found on the "visible" CD. It's actually in a "hidden" area of the CD only visible when you boot it. So, you must use the Extract Boot File to get access to it. With the XP CD in the CD drive, point Extract Boot File to the CD drive with the drop down interface. Then press the blue floppy disk icon. This will extract the boot file you'll need to add to the Boot Image field.


It appears you found your example for creating a bootable ISO image from this StackOverflow Answer. Unfortunately you picked an accepted answer that is incorrect in many ways. Pretend you never saw that answer.


On most Linux distros either a program called genisoimage or mkisofs exists. These days they are actually the same program. Whichever you have can be substituted in the examples below. My examples will assume the ISO creation utility is called genisoimage.


The first command simply makes a zero filled disk image equal to the size of a 1.44MB floppy (1024*1440 bytes). The second command places boot.bin into the first sector of floppy.img without truncating the rest of the file. seek=0 says seek to first sector (512 bytes is default size of a block for DD). count=1 specifies we only want to copy 1 sector (512 bytes) from boot.bin. conv=notrunc says that after writing to the output file, that the remaining disk image is to remain intact (not truncated).


The commands above first create a sub-directory called iso that will contain the files to be placed onto the final CD-ROM image. The second command doesn't do anything more than copy our floppy.img into iso directory because we need that for booting. The third command does the heavy lifting and builds the ISO image.


For CD; there's a specification ("El Torito") that describes how bootable CDs work; where the first 16 (2048-byte) sectors are unused, there's a "boot catalogue" that the firmware uses to decide which boot loader it should use (so you can have a single CD that boots very different systems - e.g. PC BIOS, UEFI, PowerPC, etc), then the boot loaders themselves.


The first 2 options are mostly for compatibly purposes only (crusty old OSs that don't support booting from CDs, like MS-DOS); and have performance implications (e.g. to emulate loading one 512-byte virtual sector, the firmware has to load a real 2048-byte sector and throw away the excess 1536 bytes). Any OS designed/written in the last 15+ years should be using "no emulation".


Also note that (in general) for "PC BIOS" you're probably going to want 5 different boot loaders (one for floppy, one for "MBR partitioned" hard disk, one for "GPT partitioned" hard disk, one for CD, and one for network boot). These cases are all different enough (and the "one 512-byte initial sector only" limitation for 3 of these cases is restrictive enough) to make the "all devices supported by one boot loader" idea a disaster.


To actually generate the ISO; you can use an existing tool (e.g. mkisofs), or you can write your own tool (ISO9660 and "El Torito" are both relatively easy to understand, and writing your own tool to generate an ISO can be done in less than 2 days, which is like a drop in the ocean for OS development projects).


A boot image is a type of disk image (a computer file containing the complete contents and structure of a storage medium). When it is transferred onto a boot device it allows the associated hardware to boot.[1]


The boot image usually includes the operating system, utilities and diagnostics, as well as boot and data recovery information. It also includes those "applications" used organization-wide. A specialized image for a particular type of user or department is called typically a departmental boot image. Building such an image can take days or weeks, and involve complex decisions about licensing and permissions - including which passwords to store in the boot image and which to require users to type in - and requires experts in software integration to do.


However, once built, the boot image can be simply copied onto devices, patched within reasonable limits, and remains disposable in case of any problems (viruses in particular). This is possible because unlike other hard drive images (which may contain any data, et al.), pure boot images contain no mission-critical data. By definition a pure boot image contains no data that cannot be reproduced from configurations or off-the-shelf executables. In particular end-user data is not part of a boot image, although some operating systems require that a copy of user preferences or configuration files be kept within the boot image itself, e.g. Microsoft Windows registry. Utilities like Norton Ghost keep a backup copy of the boot image, for quick re-imaging (often called re-installation) in the event of a problem, thus avoiding the need to diagnose a specific problem with a specific machine.

3a8082e126
Reply all
Reply to author
Forward
0 new messages