Is it possible to combine Linux ISOs with Windows 7 ISO?

drfsupercenter

New member
Power User
Local time
12:14 PM
Messages
198
This may sound like a strange question, but basically what I want to do is make a DVD that's an "essential Windows reinstall kit".

I do freelance computer repair and most of the computers I have worked on have had some nasty viruses that screw up Windows to the point where it's easier to just reinstall it.

Problem is, simply deleting the partition isn't enough most of the time since viruses can infect the MBR and boot sector.

My essential tools are DBAN to wipe the hard drive, GParted to make a partition that fills the drive (to avoid that stupid System Reserved nonsense) and then the Windows installation disc.

DBAN is only about 2MB and GParted is like 120, both of those should fit on a single layer DVD along with the Windows install files.

I am familiar with tools like XBoot and other Linux multiboots that use syslinux or GRUB, but the problem is that Windows 7 is a tricky bugger and will crash if you try to load it using one of those.

Anybody know if there's a way to take a Windows 7 ISO and successfully launch it from a multiboot so I can combine it with DBAN and GParted?
 

My Computer My Computer

At a glance

Windows 7 Ultimate and Ubuntu 9.04Intel Core 2 Quad4GB DDR3 RAMNVIDIA GTS 160M (1GB GPU)
Computer Manufacturer/Model Number
MSI
OS
Windows 7 Ultimate and Ubuntu 9.04
CPU
Intel Core 2 Quad
Memory
4GB DDR3 RAM
Graphics Card(s)
NVIDIA GTS 160M (1GB GPU)
Sound Card
Realtek HD Audio
Screen Resolution
1680x1050
Hard Drives
500GB SATA

My Computer My Computer

At a glance

W 7 64-bit UltimateIntel Q9550 Yorkfield8GB Dominator 8500C5DATI : XFX 5870
Computer Manufacturer/Model Number
* BFK Customs *
OS
W 7 64-bit Ultimate
CPU
Intel Q9550 Yorkfield
Motherboard
ASUS P5Q Pro
Memory
8GB Dominator 8500C5D
Graphics Card(s)
ATI : XFX 5870
Sound Card
Realtek HD Audio 7-1
Monitor(s) Displays
1x 47" LCD HDMI & 3x 26" LCD HDMI
Screen Resolution
1920x1080P & 1920x1200
Hard Drives
1x 80GB Intel X25-M G2 SSD : 1x 500GB & 1x 640GB WD Caviar Black(s)
PSU
Corsair 620HX
Case
Cooler Master RC-690
Cooling
Tuniq Tower 120, 2x 140mm and 3x 120mm case fans
Keyboard
Microsoft 500
Mouse
Razer Diamondback 3G
Internet Speed
14 Mb/s
Other Info
1x Koutech 3Gb/s SATA HDD Hot Swap Rack
That's a lot more complicated than just typing "autonuke" in DBAN, LOL

It's not that I don't trust Windows' partition handling, I've just found that using Linux to make partitions has done a better job in the past.
 

My Computer My Computer

At a glance

Windows 7 Ultimate and Ubuntu 9.04Intel Core 2 Quad4GB DDR3 RAMNVIDIA GTS 160M (1GB GPU)
Computer Manufacturer/Model Number
MSI
OS
Windows 7 Ultimate and Ubuntu 9.04
CPU
Intel Core 2 Quad
Memory
4GB DDR3 RAM
Graphics Card(s)
NVIDIA GTS 160M (1GB GPU)
Sound Card
Realtek HD Audio
Screen Resolution
1680x1050
Hard Drives
500GB SATA
If you say so mate.
 

My Computer My Computer

At a glance

W 7 64-bit UltimateIntel Q9550 Yorkfield8GB Dominator 8500C5DATI : XFX 5870
Computer Manufacturer/Model Number
* BFK Customs *
OS
W 7 64-bit Ultimate
CPU
Intel Q9550 Yorkfield
Motherboard
ASUS P5Q Pro
Memory
8GB Dominator 8500C5D
Graphics Card(s)
ATI : XFX 5870
Sound Card
Realtek HD Audio 7-1
Monitor(s) Displays
1x 47" LCD HDMI & 3x 26" LCD HDMI
Screen Resolution
1920x1080P & 1920x1200
Hard Drives
1x 80GB Intel X25-M G2 SSD : 1x 500GB & 1x 640GB WD Caviar Black(s)
PSU
Corsair 620HX
Case
Cooler Master RC-690
Cooling
Tuniq Tower 120, 2x 140mm and 3x 120mm case fans
Keyboard
Microsoft 500
Mouse
Razer Diamondback 3G
Internet Speed
14 Mb/s
Other Info
1x Koutech 3Gb/s SATA HDD Hot Swap Rack
Just because I'm anal and like doing things the way I'm used to, do you know if it's possible to combine the Windows 7 disc with other ones to have a multi-boot menu?
 

My Computer My Computer

At a glance

Windows 7 Ultimate and Ubuntu 9.04Intel Core 2 Quad4GB DDR3 RAMNVIDIA GTS 160M (1GB GPU)
Computer Manufacturer/Model Number
MSI
OS
Windows 7 Ultimate and Ubuntu 9.04
CPU
Intel Core 2 Quad
Memory
4GB DDR3 RAM
Graphics Card(s)
NVIDIA GTS 160M (1GB GPU)
Sound Card
Realtek HD Audio
Screen Resolution
1680x1050
Hard Drives
500GB SATA

My Computer My Computer

At a glance

W 7 64-bit UltimateIntel Q9550 Yorkfield8GB Dominator 8500C5DATI : XFX 5870
Computer Manufacturer/Model Number
* BFK Customs *
OS
W 7 64-bit Ultimate
CPU
Intel Q9550 Yorkfield
Motherboard
ASUS P5Q Pro
Memory
8GB Dominator 8500C5D
Graphics Card(s)
ATI : XFX 5870
Sound Card
Realtek HD Audio 7-1
Monitor(s) Displays
1x 47" LCD HDMI & 3x 26" LCD HDMI
Screen Resolution
1920x1080P & 1920x1200
Hard Drives
1x 80GB Intel X25-M G2 SSD : 1x 500GB & 1x 640GB WD Caviar Black(s)
PSU
Corsair 620HX
Case
Cooler Master RC-690
Cooling
Tuniq Tower 120, 2x 140mm and 3x 120mm case fans
Keyboard
Microsoft 500
Mouse
Razer Diamondback 3G
Internet Speed
14 Mb/s
Other Info
1x Koutech 3Gb/s SATA HDD Hot Swap Rack
Yes, it is.

Grub4dos works fine for me.

Example menu.lst

Code:
default 0
timeout 10
gfxmenu /Boot/GFX-BOOT.GFX
 
title SIW2PE
chainloader /BOOTMGR

title MemTest86+ 4.20
kernel /Boot/IMG/MEMTEST.BIN
lock
 
title Parted Magic
find --set-root /[B]pmagic_2012_3_24.iso[/B]
map /[B]pmagic_2012_3_24.iso[/B] (hd32)
map --hook
root (hd32)
chainloader (hd32)
  
title Boot from internal Hard Disk
rootnoverify (hd0)
chainloader +1
 
iftitle [if exist (hd0,0)/bootmgr] Load Vista/Win7/Win8 from HD
root (hd0,0)
chainloader (hd0,0)/bootmgr
 
iftitle [find /ntldr] Load NTLDR NT/2K/XP
find --set-root /ntldr
chainloader /ntldr
  
iftitle [find /sbin/init] Find and Boot Linux with menu.lst already installed
find --set-root /sbin/init
configfile /Boot/grub/menu.lst
 
iftitle [if exist (fd0)+1] Floppy (fd0)
chainloader (fd0)+1
rootnoverify (fd0)
 
title CommandLine
commandline
 
title Reboot
reboot
 
title Halt
halt





Just because I'm anal and like doing things the way I'm used to, do you know if it's possible to combine the Windows 7 disc with other ones to have a multi-boot menu?
 

My Computers My Computers

  • At a glance

    7 X64i5 84002x8gb 3200mhz
    Computer type
    PC/Desktop
    OS
    7 X64
    CPU
    i5 8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Hard Drives
    various
    PSU
    pure power 11 400w cm
    Case
    Coolermaster
    Cooling
    cryorig m9i
  • At a glance

    7x64g54008gb ddr4 2400
    Computer type
    PC/Desktop
    OS
    7x64
    CPU
    g5400
    Motherboard
    ga b365m ds3h
    Memory
    8gb ddr4 2400
    PSU
    xfx pro 450w
Hm, interesting.

YUMI doesn't really work well for me, but XBoot does. I can try using XBoot in grub4dos mode instead of syslinux to see if that works...
 

My Computer My Computer

At a glance

Windows 7 Ultimate and Ubuntu 9.04Intel Core 2 Quad4GB DDR3 RAMNVIDIA GTS 160M (1GB GPU)
Computer Manufacturer/Model Number
MSI
OS
Windows 7 Ultimate and Ubuntu 9.04
CPU
Intel Core 2 Quad
Memory
4GB DDR3 RAM
Graphics Card(s)
NVIDIA GTS 160M (1GB GPU)
Sound Card
Realtek HD Audio
Screen Resolution
1680x1050
Hard Drives
500GB SATA
Put as may iso's as you like.

Use this entry - replace bolded with exact name of each .iso, which must be on the root of the drive.

title Parted Magic
find --set-root /pmagic_2012_3_24.iso
map /pmagic_2012_3_24.iso (hd32)
map --hook
root (hd32)
chainloader (hd32)

They need to be contiguous, so defrag each .iso first with wincontig, or similar.
 

My Computers My Computers

  • At a glance

    7 X64i5 84002x8gb 3200mhz
    Computer type
    PC/Desktop
    OS
    7 X64
    CPU
    i5 8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Hard Drives
    various
    PSU
    pure power 11 400w cm
    Case
    Coolermaster
    Cooling
    cryorig m9i
  • At a glance

    7x64g54008gb ddr4 2400
    Computer type
    PC/Desktop
    OS
    7x64
    CPU
    g5400
    Motherboard
    ga b365m ds3h
    Memory
    8gb ddr4 2400
    PSU
    xfx pro 450w
What do you mean by contiguous? When I've used XBoot it was never a problem just putting them all in a folder.
 

My Computer My Computer

At a glance

Windows 7 Ultimate and Ubuntu 9.04Intel Core 2 Quad4GB DDR3 RAMNVIDIA GTS 160M (1GB GPU)
Computer Manufacturer/Model Number
MSI
OS
Windows 7 Ultimate and Ubuntu 9.04
CPU
Intel Core 2 Quad
Memory
4GB DDR3 RAM
Graphics Card(s)
NVIDIA GTS 160M (1GB GPU)
Sound Card
Realtek HD Audio
Screen Resolution
1680x1050
Hard Drives
500GB SATA
How often do you do this?

Code:
diskpart
sel disk 0
clean
exit
And all is gone!!
So what's the real problem?
 

My Computer My Computer

At a glance

Microsoft Windows 7 Home Premium 64-bits 7601...Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz4,00 GBATI Mobility Radeon HD 5400 Series
Computer type
Laptop
Computer Manufacturer/Model Number
ACER ASPIRE 5742G
OS
Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz
Motherboard
Acer Aspire 5742G
Memory
4,00 GB
Graphics Card(s)
ATI Mobility Radeon HD 5400 Series
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
WDC WD5000BEVT-22ZAT0
If you make the iso's yourself with mkisofs - you may need to defrag them.
 

My Computers My Computers

  • At a glance

    7 X64i5 84002x8gb 3200mhz
    Computer type
    PC/Desktop
    OS
    7 X64
    CPU
    i5 8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Hard Drives
    various
    PSU
    pure power 11 400w cm
    Case
    Coolermaster
    Cooling
    cryorig m9i
  • At a glance

    7x64g54008gb ddr4 2400
    Computer type
    PC/Desktop
    OS
    7x64
    CPU
    g5400
    Motherboard
    ga b365m ds3h
    Memory
    8gb ddr4 2400
    PSU
    xfx pro 450w
Kaktussoft, I'm pretty sure that doesn't touch the MBR or boot sector. It just deletes the partition.
 

My Computer My Computer

At a glance

Windows 7 Ultimate and Ubuntu 9.04Intel Core 2 Quad4GB DDR3 RAMNVIDIA GTS 160M (1GB GPU)
Computer Manufacturer/Model Number
MSI
OS
Windows 7 Ultimate and Ubuntu 9.04
CPU
Intel Core 2 Quad
Memory
4GB DDR3 RAM
Graphics Card(s)
NVIDIA GTS 160M (1GB GPU)
Sound Card
Realtek HD Audio
Screen Resolution
1680x1050
Hard Drives
500GB SATA
Kaktussoft, I'm pretty sure that doesn't touch the MBR or boot sector. It just deletes the partition.
MBR is the FIRST 512 bytes of the disk! It contains:
  • disk signature. Not that important for this problem
  • partition table. All partitions are gone.
  • master boot code. Code that normally does: Find active primary partition. Load its volume boot sector and run it.
Code:
diskpart
sel disk 0
clean
Clean command writes 0's to first 1 MB of physical disk. Please explain how a virus, worm or rootkit could survive.

Master boot record - Wikipedia
 

My Computer My Computer

At a glance

Microsoft Windows 7 Home Premium 64-bits 7601...Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz4,00 GBATI Mobility Radeon HD 5400 Series
Computer type
Laptop
Computer Manufacturer/Model Number
ACER ASPIRE 5742G
OS
Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz
Motherboard
Acer Aspire 5742G
Memory
4,00 GB
Graphics Card(s)
ATI Mobility Radeon HD 5400 Series
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
WDC WD5000BEVT-22ZAT0
Ah, didn't realize it wiped the MBR.

Now, the grub4dos stuff is really only for flash drives, I can't figure out how to make a bootable CD ISO using it. I did get a flash drive to have all 3 images including Windows 7 successfully.
 

My Computer My Computer

At a glance

Windows 7 Ultimate and Ubuntu 9.04Intel Core 2 Quad4GB DDR3 RAMNVIDIA GTS 160M (1GB GPU)
Computer Manufacturer/Model Number
MSI
OS
Windows 7 Ultimate and Ubuntu 9.04
CPU
Intel Core 2 Quad
Memory
4GB DDR3 RAM
Graphics Card(s)
NVIDIA GTS 160M (1GB GPU)
Sound Card
Realtek HD Audio
Screen Resolution
1680x1050
Hard Drives
500GB SATA

My Computer My Computer

At a glance

Microsoft Windows 7 Home Premium 64-bits 7601...Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz4,00 GBATI Mobility Radeon HD 5400 Series
Computer type
Laptop
Computer Manufacturer/Model Number
ACER ASPIRE 5742G
OS
Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz
Motherboard
Acer Aspire 5742G
Memory
4,00 GB
Graphics Card(s)
ATI Mobility Radeon HD 5400 Series
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
WDC WD5000BEVT-22ZAT0
I have in the past Dual-Booted Linux and 7/xp/vista. What i did was simply download an Ubuntu ISO which also comes with a free GRUB Boot Loader. When installing the OS it should show a partition manager where you can specify how much space you wish to use for Linux and for Windows 7 (Don't worry you can access your windows 7 files from Linux).

Completing that the boot loader will show allowing you to select which OS you wish to use. If you are unhappy using this method may I recommend a virtual PC to run Linux off of.
 

My Computer My Computer

At a glance

Windows 7 Home Premium 64bitIntel Core i5 CPU @ 3.30 GHz8GB RamNVIDIA GeForce GTX 550 Ti
OS
Windows 7 Home Premium 64bit
CPU
Intel Core i5 CPU @ 3.30 GHz
Memory
8GB Ram
Graphics Card(s)
NVIDIA GeForce GTX 550 Ti
Sound Card
SMB2430HD-1 (NVIDIA High Definition Audio)
Monitor(s) Displays
SMB2430HD (1920 x 1080p) & AOC2050 (1600 x 900p)
Hard Drives
1TB HDD NTFS
&
500GB HDD NTFS
(two separate drives not two separate partition)
Case
Cool Master
Back
Top