View previous topic :: View next topic |
Author |
Message |
ValerieVonck n00b
Joined: 17 Aug 2017 Posts: 47 Location: Erpe-Mere, Oostvlaanderen
|
Posted: Wed May 30, 2018 4:08 pm Post subject: [TIP] Make a bootable Win 7iso under Gentoo for vbox use |
|
|
Quote: |
DISCLAIMER:
Only use media that you have bought
Do not use pirated media
|
- Find a pc with a DVD drive (Duh)
- Put the content on an USB (if you do not have DVD drive) on the other machine (double Duh)
- Mount the /dev/sdb1 partition (YMMV)
- copy everything to a folder named win7 (as shown in the code)
Execute following command (as root or sudo user)
Code: |
mkisofs -udf -r -iso-level 4 -v -b BOOT/ETFSBOOT.COM -no-emul-boot -hide boot.bin -hide boot.catalog -o win7.iso ./win7/
rm -rf win7 #dir that contains the files you have copied over
Fire up VirtualBox and attach the newly created iso
|
Pieced together from various Google searches...
Previous failed because mkisofs shortened the long names _________________ Inter antecessum est melius |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Wed May 30, 2018 5:17 pm Post subject: |
|
|
That sounds useful, Valerie; but the bits you skip over with "Duh" don't seem that clear to me. You mention copying files as shown in the code, but it's not there, so it's unclear what exactly is being copied, as it is why there's another machine involved.
Could you clarify, please? |
|
Back to top |
|
|
ValerieVonck n00b
Joined: 17 Aug 2017 Posts: 47 Location: Erpe-Mere, Oostvlaanderen
|
Posted: Wed May 30, 2018 6:03 pm Post subject: |
|
|
steveL wrote: | That sounds useful, Valerie; but the bits you skip over with "Duh" don't seem that clear to me. You mention copying files as shown in the code, but it's not there, so it's unclear what exactly is being copied, as it is why there's another machine involved.
Could you clarify, please? |
steveL,
The thing I wanted to express:
- I have an old desktop tower, with Win10 Enterprise on it, that was upgraded from Win7 DVD. (this machine contains a DVD player), but this on the verge of collapse (it dates from 2006)
- On my new Nuc, I wanted to install this version of Win 7 as a Virtual Box machine, but new pc's and portables (laptops) do not have DVD drives anymore. (Today, it is all wireless / streaming / cloud, pick your buzzword)
So I had to copy the install DVD first to an usb disk, (from the "old" pc)
On the NUC, I created a directory named win7, in which I copied the content of the usb
I could also do :
- mkdir ./win7
- mount /dev/sdb1 win7
- Execute mkisofs content
But for "performance" reasons, (again, this should be negligible, but the usb is still USB 1.0)
I copied the content of the stick with the Win7 installation files over to the directory.
Before using mkisofs, I tried the following, to try to create a bridge between the physical medium and the virtual VBox Machine, but this failed
So, this in fact a "work-around" / "short cut"
Code: |
VBoxManage --createrawimage ... usb.vmdk
|
vmdk is a virtual HD (for Vbox, Vmware, HyperV) (I suppose)
With "Duh!" I meant : obvious _________________ Inter antecessum est melius |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|