MultiBoot USB - SLAX + Hiren's BootCD + WinXP Installation

<<

m1r0

Аватар

Site Admin

Мнения: 168

Регистриран на: Съб 11 Апр 2009, 19:38

Мнение Вто 22 Сеп 2009, 10:51

MultiBoot USB - SLAX + Hiren's BootCD + WinXP Installation

The purpose of this guide is to create a multi-boot USB stick with options for Slax Linux, Hiren's BootCD, Hiren's BootCD MiniXP and Windows XP Fast Installation (from RAM).

  • I take no credit for the ideas in this guide.
  • It is a compilation of ideas taken from various web sites and forums.
  • BIOS support for booting from a USB stick is dependent on your motherboard. There is no guarantee that this guide will work for you. I take no responsibility if anything goes wrong!
Quick introduction:

Slax - your pocket operating system
Slax is a modern, portable, small and fast Linux operating system with a modular approach and outstanding design. Despite its small size, Slax provides a wide collection of pre-installed software for daily use, including a well organized graphical user interface and useful recovery tools for system administrators.
The modular approach gives you the ability to include any other software in Slax easily. If you're missing your favourite text editor, networking tool or game, simply download a module with the software and copy it to Slax, no need to install, no need to configure.

Hiren’s BootCD
Hiren's BootCD is a wonderful live CD/USB containing various programs such as Hard drive recovery, Hard Drive Partition, Hard Drive Backup, Hard Drive Testing, RAM (Memory) Testing, System Information, MBR (Master BootRecord), BIOS, MultiMedia, Password, NTFS (FileSystems), Antivirus, AntiSpy, Process, Windows Startup, Registry tools, Windows Cleaners, Optimizers, Tweakers, and many others... As it is a bootable CD/USB, it can be useful even if the primary operating system cannot be booted. We may call it as an emergency CD/USB which every computer technician or home user must have.

Windows XP Installation
Does not deserve introduction…

Here’s what you’ll need:
1. USB Flash drive, 1GB or larger.
2. HP's USB Disk Storage Format Tool
3. Slax for USB
4. Hiren’s BootCD
5. Windows XP 32bit Installation CD or ISO file.
6. DPs Base (for integrating SATA,RAID,SCSI Drives), BTS DriverPack Massstorage, (nLite - Optional)
7. XP INST
8. MagicISO/UltraISO
9. Grub4Dos
10. If your Windows XP ISO file is larger then 500MB, you will need 768MB or 1GB RAM to install XP from the USB Drive!

Изображение

Step 1 - Formating the USB Drive
Use HP's USB Disk Storage Format Tool to format your USB Flash Drive.

Device: your USB Drive
File System: FAT32
Leave all other settings empty
Press START

Изображение

Step 2 - SLAX
We will use the boot manager of Slax (syslinux) as main. Afterwards we will put a second boot manager (grub4dos) to boot Windows XP Installation and Hiren's BootCD MiniXP.
Slax for USB is distributed as a TAR archive.
1. Simply unzip it to your USB device.
Изображение

2.Go to \boot\ folder and run bootinst.bat (or bootinst.sh) to make it bootable.
Изображение

3. Restart your PC and see if your USB drive is bootable and if it boots Slax linux.

Step 3 - Hiren's BootCD
1. Extract Hiren's.BootCD.xx.iso file.
Изображение

2. Copy the HBCD folder to your USB drive (Example - F:\HBCD).
Изображение Изображение

3. ADD/EDIT the following lines in F:\boot\slax.cfg :

EDIT:
  Код:
MENU ROWS 8

TO:
  Код:
MENU ROWS 10


ADD at the end:
  Код:
LABEL Hiren's Boot CD 10.0
MENU LABEL Run Hiren's Boot CD 10.0
KERNEL /HBCD/memdisk
APPEND initrd=/HBCD/boot.gz
TEXT HELP
                                          More about currently selected:

                                          Don't start Slax at all, but
                                          rather run Hiren's Boot CD.
ENDTEXT

Изображение

(Optional)
To remove the timeout:
  Код:
TIMEOUT 0

Step 4 - Preparing Windows XP Installation ISO
You can make the ISO file from a Windows Installation CD with MagicISO/UltraISO.

MagicISO can make ISO file from CD/DVD disc:
1. Click Изображение button to show Make ISO from CD/DVD-ROM Window or go to Tools -> Make ISO from CD/DVD-ROM
2. Choose your CD/DVD-ROM driver which hold disc that you want to copy.
3. Choose output format - ISO.
4. Type output ISO file name.
5. Click OK to start.

Изображение

UltraISO also can make ISO file from CD/DVD disc:
1. Tools -> Make CD/DVD Image...
2. Choose your CD/DVD-ROM driver which hold disc that you want to copy.
3. Choose output format - ISO.
4. Type output ISO file name.
5. Click Make.

Изображение

Rename the ISO file to XP_RAM.ISO

Step 4.1 (Optional - must be done before Step 4.2!) - nLite
With nLite you can integrate SP3, add hotfixes, remove components, make you installation Unattended and more.

Step 4.2 (Recommended!) - DPs Base: Integrating SATA, RAID and SCSI Drives (source)
For Installation of XP on a modern system with SATA Drives it is needed to use DPsBase.exe for Integrating in your XPSOURCE BTS DriverPack Massstorage with TXT Mode Enabled. In that case a lot of Extra RAID SCSI and SATA Drivers (about 120 extra) are Integrated.

1. Download and extract DPs Base to ...\DPs_BASE\
2. Download BTS DriverPack Massstorage.7z and put it in ...\DPs_BASE\DriverPacks\ folder
Изображение

3. Extract XP_RAM.ISO with WinRAR to a new folder ...\XP_RAM\
4. Run ...\DPs_BASE\DPs_BASE.exe
5. Go to Settings -> Location -> Browse -> Select the folder where you extracted XP_RAM.ISO (...\XP_RAM\). This folder must hold the I386 folder.
Изображение

6. If everything is OK a new menu will appear.
Go to Settings -> DriversPacks™
Select DriversPack MassStorage x.xx and DriverPack MassStorage text mode.
Изображение

7. Settings -> DriverPacks method must be - method 2! (it is by default)
8. Press Slipstream!
Изображение

Step 4.2.1 - If you don't want to add Massstorage DriverPack then... use the source!

Step 4.3 (must be done after Step 4.2.(1)!) - XP INST (source)
1. Extract XP_INST_v03.7z.
2. Open the file XP_INST.IMA with MagicISO/UltraISO.
3. Copy setuporg.exe from ...\XP_RAM\I386\ to the image file XP_INST.IMA in SETUP\I386\ folder
Изображение

4. File -> Save
5. Create a new folder in the USB Flash Drive - Inst
6. Copy XP_INST.IMA to F:\Inst

Step 4.4 - Updating XP_RAM.ISO
1. Open XP_RAM.ISO file with MagicISO/UltraISO, select all the files and folder and delete them.
Изображение

2. Run Windows Explorer, go to ...\XP_RAM\ folder (where you extracted the ISO and used DPs Base). Drag and drop all the files and folders to MagicISO/UltraISO.
Изображение

3. File -> Save
Изображение

4. Copy XP_RAM.ISO to F:\Inst

Step 5 - Grub4Dos
1. Make one new folder in the USB Drive - F:\boot\grub\
2. Copy all the content from grub4dos-0.4.4 to F:\boot\grub\
Изображение

3. Edit F:\boot\grub\menu.lst :
  Код:
color black/cyan light-green/cyan
timeout 30
default /default

title Loading XP RAM Install - /Inst/XP_RAM.ISO
ls /Inst/XP_RAM.ISO || find --set-root /Inst/XP_RAM.ISO
map --mem /Inst/XP_INST.IMA (fd0)
#(fd1) optional, required at some BIOS
#map --mem /Inst/XP_INST.IMA (fd1)
map --mem /Inst/XP_RAM.ISO (0xFF)
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
chainloader (0xFF)/I386/SETUPLDR.BIN

title Mini Windows Xp
find --set-root /HBCD/XPLOADER.BIN
chainloader /HBCD/XPLOADER.BIN
savedefault

(Optional)
Put # before timeout 30 to disable it:
  Код:
#timeout 30

Maximum timeout is 3600 (6 mins).

4. Add the following to F:\boot\slax.cfg :
  Код:
LABEL Windows XP Install or MiniXP
MENU LABEL Run Windows XP Install or MiniXP
KERNEL /boot/grub/grub.exe
TEXT HELP
                                          More about currently selected:

                                          Don't start Slax at all, but
                                          rather run Windows XP Install
                                          or MiniXP.
ENDTEXT


Additional resources:
<<

todo1

Аватар

Site Admin

Мнения: 196

Регистриран на: Пет 10 Апр 2009, 11:04

Мнение Вто 22 Сеп 2009, 12:53

Re: MultiBoot USB - SLAX + Hiren's BootCD + WinXP Installation

Ще се пробва!
<<

Child_Roland

Аватар

Мнения: 32

Регистриран на: Вто 01 Сеп 2009, 21:20

Мнение Вто 22 Сеп 2009, 20:29

Re: MultiBoot USB - SLAX + Hiren's BootCD + WinXP Installation

Мда... В очакване сме! ;)
Silent In Heart
<<

dsw

Аватар

Мнения: 121

Регистриран на: Нед 05 Юли 2009, 01:00

Мнение Сря 30 Сеп 2009, 20:04

Re: MultiBoot USB - SLAX + Hiren's BootCD + WinXP Installation

Браво! :D Ще го опитам някой ден!Дано пак не оплескам нещо :lol:
<<

todo1

Аватар

Site Admin

Мнения: 196

Регистриран на: Пет 10 Апр 2009, 11:04

Мнение Съб 17 Окт 2009, 14:19

Re: MultiBoot USB - SLAX + Hiren's BootCD + WinXP Installation

Работи перфектно! Браво m1r0!!!
<<

overclocker

Аватар

Мнения: 15

Регистриран на: Вто 27 Окт 2009, 18:55

Местоположение: ULTIMATE

Мнение Вто 27 Окт 2009, 19:13

Re: MultiBoot USB - SLAX + Hiren's BootCD + WinXP Installation

Пробвах всичко описано и SLAX, Hiren Boot CD и Mini XP работят супер, но когато тръгна да инсталирам XP ми дава грешкa, че сетъпа не може да копира следните файлове:
firadisk.sys
firadisk.inf
setup.exe
setuporg.exe
setup.cmd
imdisk.sys
imdisk.exe
imdisk.cpl
fixDrive.USB

Ако скипна копирането на следните файлове инсталацията не може да продължи.

Флашката е Corsair Cruiser 8Gb и съм направил всичко описано в статията или поне така си мисля, но внимавах много и следвах стъпките както трябва.
<<

Taner

Аватар

Мнения: 108

Регистриран на: Чет 17 Сеп 2009, 14:09

Мнение Вто 27 Окт 2009, 19:36

Re: MultiBoot USB - SLAX + Hiren's BootCD + WinXP Installation

ае може ли някои да ми обяси за какво е тази програма ?
с прости думи като на малко умен човек :D

Благодаря ;)
<<

m1r0

Аватар

Site Admin

Мнения: 168

Регистриран на: Съб 11 Апр 2009, 19:38

Мнение Вто 27 Окт 2009, 20:26

Re: MultiBoot USB - SLAX + Hiren's BootCD + WinXP Installation

overclocker написа:Пробвах всичко описано и SLAX, Hiren Boot CD и Mini XP работят супер, но когато тръгна да инсталирам XP ми дава грешкa...

Пробвай да изтеглиш различна, чиста (не обработвана с nLite) дистрибуция на XP. Ако ми дадеш малко повече информация за дистрибуцията или линк от къде си я изтеглил може и да измисля нещо.

Taner написа:ае може ли някои да ми обяси за какво е тази програма ?

Идеята на статията е да си направиш флашката да стартира инсталация на XP, също така Linux и Hiren's BootCD (пакет с инструменти).
<<

overclocker

Аватар

Мнения: 15

Регистриран на: Вто 27 Окт 2009, 18:55

Местоположение: ULTIMATE

Мнение Вто 27 Окт 2009, 20:38

Re: MultiBoot USB - SLAX + Hiren's BootCD + WinXP Installation

Версията е: Microsoft.Windows.XP.Professional.SP3.Integrated.October.2009.Corporate-UP2DATE
Изтеглена е от тук: http://www.arenabg.com/details.php?id=a ... 92a1db8f0b

След малко ще започна да го правя наново с оригинална версия на XP, тъй като имам оригинален диск, но ми се искаше да си вкарам такъв със SP3 и последните ъпдейти и затова изтеглих тази версия от Арена.
Предполагам, че версията в Арена е пипана с nLite и може и от там да идва проблема. Мисля да пробвам първо с чисто оригинално XP SP2 и ако стане после постепенно да си вградя SP3 и другите неща които ми трябват.

Пробвах и с новата версия на XP_INST т.е. XP_INST_v04 и с нея не сработи, въпреки, че в нея има доста нови неща;
ето лога с промените:
v02:
firadisk updated: map to (fd0) only. F6 does work
64 bit prepared, unfortunately BSOD 0x7b at 64 bit firadisk
added flag file fixDrive.USB
added config file ISOimage.ini
under construction: install from USB to USB

v03:
added: install from USB to USB
added: added sorted files
added: multiboot ISO image, sub directory

v04:
ISOimage.ini is enabled by default
enhanced: sorted files, experimental RAMboot.lst created

Пробвах в началото на сетъпа с F6 и заредих firadisk драйвера, но проблема си остава. Някъде четох, че този драйвер прави виртуално флопи от което се копират драйверите от пакета DP_MassStoragе и все си мисля, че точно тези вградени драйвери правят проблем, но те също ми трябват, защото през мен минават доста лаптопи за инсталация, а ако успея да си направя флашката както е описано ще ми е от голяма полза и ще спестявам доста време.

Доста се зачетох днес и направо очи не ми останаха, но съм твърдо решен да го направя това.

m1r0 - ако ми помогнеш да го направя имаш една голяма почерпка от мен.

P.S. Ако мoже някой, който го е направил и работи да каже с коя версия на XP е работил и дали е променял нещо от статията.
Последна промяна overclocker на Вто 27 Окт 2009, 22:35, променена общо 1 път
<<

m1r0

Аватар

Site Admin

Мнения: 168

Регистриран на: Съб 11 Апр 2009, 19:38

Мнение Вто 27 Окт 2009, 21:15

Re: MultiBoot USB - SLAX + Hiren's BootCD + WinXP Installation

Прав си проблемът идва от интеграцията на драйверите. Би трябвало да нямаш проблеми с дистрибуцията. Питах за да разбера да не е от онези 9-в-1. Моята дистрибуция е Windows XP Pro SP2 - ETH0 и отделно съм интегрирал SP3 и Internet Explorer 8 чрез nLite. Файлът XP_INST.IMA вътре ли е в папката F:\Inst ?

П.П. Препоръчвам ти да направиш цялата стъпка 4 на ново, защото не се сещам от какво може да е. Друг вариант е да вляза през Teamviewer и да пробвам да го направя.

П.П.П. Очаквайте продължение на статията с инсталации на Windows Vista/7 с различните им варианти. ;)
Следваща

Назад към Статии

Кой е на линия

Потребители разглеждащи този форум: 0 регистрирани и 1 госта

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.
Превод: Ioan Arnaudov