usb-instalation.pdf
(
254 KB
)
Pobierz
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
CreateabootableUSBmemorystickfromtheRestoredHBCD
proteuss@sdf.lonestar.org
Introduction
We describe how the les of the restored/extended Hiren's BootCD (HBCD) can be transferred
to a USB memory stick (ash drive) and how the later can be made bootable using exclusively
tools provided by the HBCD. The quickest and most accurate method is to use Linux command
line tools, however Windows can be also used with equally good results. The restored edition of
Hiren's Boot CD employs a combination of the bootloaderssyslinuxandgrub4dos; so the method
described in Hiren's web page
1
does not work for the restored edition. If your computer does
not have an optical drive read the relevant section below.
Warning:If you decide to use a method other than the ones described below please note that
simply copying the les over to an already used USB stick is unlikely to work and some utilities
will fail to boot. When transferring iso images to bootable USB sticks or drives, care must be
taken so that the images are writtencontiguously. If an iso image is fragmented it will not
boot. Fragmentation happens when les are written in the space left by the deletion of other
les.For example if a small le is deleted and subsequently a larger le is written chances are
the larger le will be fragmented. Always use a freshly formated stick where nothing has been
deleted, or use a defragmentation utility.
1
http://www.hiren.info/pages/bootcd-on-usb-disk
LinuxMethod
Insert Hiren's Restored BootCD, boot the computer from it and selectPartedMagicLinux
(theLinuxoption of the main menu).
Insert a 2 Gb (or larger) USB stick.
1
Warning:AlldataontheUSBstickwillbe
erased.
Open a console window (e.g.LXTerminal) and type the following commands exactly as
they appear in the list bellow after you replace the
xx
's with what is appropriate for your
USB ash drive e.g.
sdb1
or
sdc1
.
2
Warning:Ifyouget
xx
wrongyoumayerase
yourharddisk.
Command
Explanation
In case the stick has been
already automounted,
umount/dev/sdxx
unmount it rst.
mkfs.vfat-F32-nHBCD/dev/sdxx
Format the stick.
mkdir/mnt/cdrom
Create a CD mountpoint.
mount/dev/sdxx/mnt/usb
Mount the stick.
mount/dev/sr0/mnt/cdrom
Mount the CD.
Copy les to the stick,
cp-Rfv/mnt/cdrom/*/mnt/usb/
and wait for some time...
syslinux-i-disolinux/dev/sdxx
Install the bootloader.
ddif=/usr/share/syslinux/mbr.binof=/dev/sdx
Install the bootloader's MBR.
parted/dev/sdxset1booton
Make the stick active, i.e. bootable.
sync
Flush any pending buered data.
Note: In the last two commands before
sync
,
sdx
must be a device e.g.,
sdb
or
sdc
, and
nota partition
sdb1
or
sdc1
.
Reboot the computer and test the stick for booting.
1
The actual capacity needed for HBCD is 1.8 GB. The spare capacity is available to store other les.
2
You can determine the correct device letters with the command: \
fsarchiverprobe
" or \
fdisk-l
".
WindowsMethod
Insert Hiren's Restored BootCD, boot the computer from it and selectMiniWindowsXP.
Insert a 2 Gb (or larger) USB stick.
1
Warning:AlldataontheUSBstickwillbe
erased.
Run theUSBFormatTool, found in the HBCD Program Launcher, under the itemPrograms
-Partition/Boot/MBR,
Format the stick as shown.
1
The actual capacity needed by HBCD is 2.2 GB. The spare capacity is available to store other les.
Determine the letters of the CD and USB drives (Look in My Computer).
Copy all the les from CD to USB. For this you may \Drag-and-Drop"(slow) or use one
of the utilities found in the HBCD menu, likeFastCopyorTeraCopy(look for them under
Backup) orTotalCommander, or even use the dos command:
xcopyX:\*.*Y:\/E
,
where X and Y are CD and USB letters respectively.
Go to
MyComputer
, nd the CD, right click on the
bootprog
subfolder and then '
Command
PromtHere
'.
In the console window type the command:
syslinux.exe-maf-disolinuxY:
where
Y:
is the USB drive. This command installs the bootloader, the MBR and activates
the USB for booting.
Safely remove the stick and test for booting.
AlternativeWindowsMethod
The utilityRMPepUSB(found in Partition/Boot/MBR of the HBCD program launcher menu)
can format, copy the les, and install the bootloader in one go. However it takes a very long
time to copy the les.
Set the utility's options as shown below and clickPrepareDrive. Unless you are familiar
with this utility do not meddle with any of the other settings.
Wait (copying the les takes a long time with this utility; so be patient) and, when
prompted, answer the two questions as indicated in the screenshots shown below:
When asked type the bootloader folder name:
isolinux
(withoutbackslash).
Plik z chomika:
zniwiarz1006
Inne pliki z tego folderu:
hbcd-15.1-Restored-V2.0-dvd-proteus.iso
(1797592 KB)
00-readme(1).txt
(11 KB)
HBCD(1).txt
(45 KB)
HBCD.txt
(45 KB)
00-readme.txt
(11 KB)
Inne foldery tego chomika:
ABBYY Lingvo 20 languages x5 Professional 15.0.592.5
ACDSee.Pro.v6.0.Incl.Keymaker-CORE
Activator KJ for Windows 8_7_XP_Server_Office 2010
Active.BootDisk.Suite.v6.5-DOA
Adobe Dreamweaver CS6 v12.0 Build 5808
Zgłoś jeśli
naruszono regulamin