Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
I would like to create a customized bootable windows 7 DVD from a Linux server
But as a first step, I looking for the command to build an iso file from the original DVD without any changes
After looking around on internet and this forum, I followed the following steps :
1- Mount iso to a folder
2- Copy the mounted iso content into a new folder
3- mkisofs -o windows_new.iso -b boot/etfsboot.com -no-emul-boot -boot-load-size 8 -boot-info-table -V -J -l -D -N -UDF -relaxed-filenames -V "WINSP"
But when I use the iso file created, I get a black screen and nothing happen
I tried without the -udf parameter ect .... but no change
I tried without the -boot-info-table parameter .... but no change
I checked the different files, such as boot/etfsboot.com, bcd ... are existing in the iso file created
I don't think windows 7 will work in an iso. I tried it myself and ended up with a filesystem inside a filesystem.Now I ran with Vista on the box, and that was ok, so I never bothered with it. There's some change in the windows dvd format with efi.
I had to tweak an XP CD to get drivers added to it for installing on an Aldi PC. I used ntlite (https://www.ntlite.com/). Maybe that can do what you need. I used it to remove features I didn't need and add some drivers required for the PC it was going on. If you have enough space you may be able to do it in a Windows VM.
What happens when you run the 'mkisofs' command you are using? Do you get any warning or error messages?
Also, what exactly is your goal? If you want to be able to boot your customized windows, you can do that from Linux with Grub2 by copying the the extracted folders/files (from your step 2 above) to an ntfs partition. You may need to mark it active. Then put a menuentry to chainload it from Grub.
If that's not what you want, I would think you would be a lot better off using some windows software to create an iso. I don't use windows so have no idea what you might try.
I just threw a windows 7 dvd into the dvdrom. It's a udf filesystem. If you have udf inside iso9660, that doesn't boot - not here at any rate; if you scrap udf and copy the files, windows will hardly handle iso9660 while booting. Many linux kernels will need to have udf support added to them in any event (presuming you are making the disk on linux). I wish you luck in your endeavours.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.