Can I transfer boot sector to a non-bootable image file and make it bootable?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Can I transfer boot sector to a non-bootable image file and make it bootable?
I have a CD image file that is supposed to be bootable, but it's not working. I have checked the checksum and I never burned it to physical media, I'm using it in VirtualBox. So the download is OK.
I'd mount the image and look at what you have to being with. Maybe just copy it all to a directory structure to later be wrapped back up. There are a few ways to boot a cd.
I have a CD image file that is supposed to be bootable, but it's not working.
You need to analyse & troubleshoot your original problem better than that.
If the problem isn't related to the boot sector then transfering it won't help either.
Are you saying it works in wine and not virtualbox and the download is ok because of the checksum?
UltraISO works in Wine. It runs and supposedly can make a non-bootable image bootable with the boot sector taken from another image, but it's a commercial application and the trial version I have won't do that operation specifically.
The CD image doesn't work in VirtualBox.
I already have another image that works. I was really, really, I swear REALLY a lot more interested in finding out if Linux can do that trick that UltraISO allegedly does. That was the main goal of my post. I tried doing it with dd, but it didn't work.
yes it can be done in linux, first you will have to extract both iso to there respective folder, copy the the files needed for booting from the bootable iso directory to the nonbootable iso appropiate directory. Then use mkisofs or irrosis(whichever you distro has installed) with the appropiate options to recreate the iso.
OK, if it is supposed to be bootable then I'd assume some problem in your client build. The md5 or shal pretty much tells me it was downloaded correctly.
If we knew what this image was we might know how to help.
It was a Haiku OS image I was trying to run on VirtualBox. I downloaded another image that works.
I am not marking it "solved" because I still don't know how to accomplish the boot sector transfer on Linux the way UltraISO claims to do (which I can't try because it is a commercial application and I don't own a license).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.