Как запустить образы ISO с загрузочной флешки?

Автор Jasper, 09 Сентября 2009, 13:36:20

0 Пользователей и 1 Гость просматривают эту тему.

Jasper

Создал загрузочную флешку с помощью граба (скрин в приложении).
Хочу добавить на флешку загрузку Acronis и Hiren's Boot CD из iso-образов, но как это сделать не знаю.
Какие команды нужно писать в menu.lst чтобы можно было загрузить iso-образы?

ashes

http://greenflash.su/Grub4Dos/files/map.htm#hd32
Но поставить винду например таким способом не выйдет ...
Да и ваще ИМХО проще распаковать ISO хирена и прописать что-то типа :

default /default

title Boot from Hard Drive - Windows XP (NTLDR)
fallback 1
find --set-root --ignore-floppies --ignore-cd /ntldr
map () (hd0)
map (hd0) ()
map --rehook
find --set-root --ignore-floppies --ignore-cd /ntldr
chainloader /ntldr
savedefault --wait=2

title Boot from Hard Drive - Windows Vista/7 (BOOTMGR)
fallback 2
find --set-root --ignore-floppies --ignore-cd /bootmgr
map () (hd0)
map (hd0) ()
map --rehook
find --set-root --ignore-floppies --ignore-cd /bootmgr
chainloader /bootmgr
savedefault --wait=2

title --------------------
root

title Start Hiren's BootCD
fallback 4
find --set-root /HBCD/boot.gz
map --mem /HBCD/boot.gz (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
map --floppies=1
boot

# If you have any problem loading the above grub4dos map commands then try using memdisk kernel
# title Start Hiren's BootCD
# find --set-root /HBCD/boot.gz
# kernel /HBCD/memdisk
# initrd /HBCD/boot.gz

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

sergeln

Цитата: ashes от 18 Сентября 2009, 19:52:24
Но поставить винду например таким способом не выйдет ...
Да и ваще ИМХО проще распаковать ISO хирена и прописать что-то типа :
[/quote ]

Хирен без распаковки:

title Hiren's.bootcd 9.6
find --set-root /hbcd.iso
map --mem /hbcd.iso (0xff)
map --hook
chainloader (0xff)
savedefault --wait=2

По поводу виндовс:
ЦитироватьHere is a quick guide how I proceeded with 100% success on ATA hard drives.

1. Format the USB stick, I used HP USB Format tool, because XP format was reported as incorrect in GRUB.
2. Install GRUB MBR on the stick, the quickest way I found is by GRUBINST_GUI (https://sourceforge.net/project/showfiles.php?group_id=104188&package_id=215976) for WIN
3. Get the latest GRUB4DOS (http://grub4dos.jot.com/WikiHome) and copy GRLDR to the USB root.

Create MENU.LST in USB root
color black/cyan yellow/cyan
timeout 15

default 1

title Phase 1 WinXP Text Mode Setup
map --read-only (hd0) (hd1)
map --hook
root (hd1,0)
chainloader /ntldrstp

title Phase 2 WinXP GUI Mode Setup
map (hd1) (hd0)
map --hook
rootnoverify (hd0)
chainloader +1

This way the default entry is GUI mode, TXT mode must be selected manually. With these GUI entries XP can be installed and booted later from another partition on the hard drive, not only from the first.

4. Backup your current BOOT.INI and in the XP setup folder \I386 run winnt32 /makelocalsource /noreboot after it's finished restore BOOT.INI

5. Copy two new folders in the USB stick root - $WIN_NT$.~BT and $WIN_NT$.~LS

6. In \$WIN_NT$.~BT modify
WINNT.SIF
[data]
msdosinitiated="1"
floppyless="1"
AutoPartition="0"
UseSignatures="no"
InstallDir="\WINDOWS"
winntupgrade="no"
win9xupgrade="no"

[GuiRunOnce]
"regedit /s %systemdrive%\windows\system32\undoUSBWP .reg"

and

MIGRATE.INF
[Version]
Signature = "$Windows NT$"

[Addreg]
HKLM,"SYSTEM\MountedDevices",,0x00000010
HKLM,"SYSTEM\ControlSet001\Control\StorageDevi cePolicies","WriteProtect",%REG_DWORD%,1

[Strings]
;Handy macro substitutions (non-localizable)
REG_SZ = 0x00000000
REG_BINARY = 0x00000001
REG_DWORD = 0x00010001
REG_MULTI_SZ = 0x00010000
REG_SZ_APPEND = 0x00010008
REG_EXPAND_SZ = 0x00020000

If you wish you could preserve your USB storage drive letter keeping the relevant entries in migrate.inf. Note your current USB drive letter and find the line (mine is set to U) HKLM,"SYSTEM\MountedDevices","\DosDevices\U:",0x00030001,\
5c,00,3f,00,3f,00,5c,00,53,00,54,00,4f,0 0,52,00,41,00,47,00,45,00,23,00,52,\
00,65,00,6d,00,6f,00,76,00,61,00,62,00,6 c,00,65,00,4d,00,65,00,64,00,69,00,\
61,00,23,00,37,00,26,00,31,00,34,00,39,0 0,31,00,63,00,63,00,33,00,34,00,26,\
00,30,00,26,00,52,00,4d,00,23,00,7b,00,3 5,00,33,00,66,00,35,00,36,00,33,00,\
30,00,64,00,2d,00,62,00,36,00,62,00,66,0 0,2d,00,31,00,31,00,64,00,30,00,2d,\
00,39,00,34,00,66,00,32,00,2d,00,30,00,3 0,00,61,00,30,00,63,00,39,00,31,00,\
65,00,66,00,62,00,38,00,62,00,7d,00 , I found that it's not needed. [Strings] must be present.

7. Create:

undoUSBWP.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControl Set\Control\StorageDevicePolicies]
"WriteProtect"="0"

and

hiveOEM.inf
[Version]
Signature = "$Windows NT$"
DriverVer=07/01/2001,5.1.2600.2180

[AddReg]
;WriteProtect USB
HKLM,"SYSTEM\CurrentControlSet\Control\Storage DevicePolicies","WriteProtect",0x10001,1

and place them in $WIN_NT$.~LS\i386

8. Copy TXTSETUP.SIF, SETUPLDR.BIN and NTDETECT.COM from \$WIN_NT$.~BT to root of USB stick. Delete BOOTSECT.DAT (necessary?) and rename SETUPLDR.BIN to NTLDRSTP, or modify the relevant entries in MENU.LST

9. Add the following lines to TXTSETUP.INF
[SourceDisksFiles].....
.....

hiveOEM.inf = 100,,,,,,_x,,3,3
undoUSBWP.reg = 100,,,,,,_x,2,0,0
....
....
[HiveInfs.Fresh]
AddReg = hiveOEM.inf,AddReg

10. If you use unattended mode for the setup make sure you delete the whole [Unattend] section, otherwise you won't be able to use System Restore and SETUP will not prompt on which partition to install.

I used BTS mass-storage drivers pack, with KTD option and Nlited fully unattended installation, to keep Nlite options copy the relevant entries from the original WINNT.SIF to the new one, don't forget to delete the whole [Unattended] section. [Data] section do not modify except UseSignatures="no". Also copy $OEM$ to \$WIN_NT$.~LS\i386 and OEM (BTS scripts) to the root of USB stick.

Thanks a lot to porear and jaclaz
All credits for the most important part- how to write- protect the USB flash go to cdob, many thanks

edit: Forgot to mention that removing write-protect mode after GUI is finished is also done in steps 6 and 7.
http://www.msfn.org/board/index.php?showtopic=61384


Haroldsecome




Haroldsecome

http://instasecrettips.com/instagram-post-from-desktop/?unapproved=1092484&moderation-hash=aae019ed3254392cd6bcfb074a09c791#comment-1092484
https://mymajicdc.com/3732191/contact-the-programming-department/?contact-form-id=3732191&contact-form-sent=5666266&contact-form-hash=9b9bfcabb49d4a9043601dd9a201c12eee05ecac&_wpnonce=eaec0c9e31
http://d-mind.co.kr/bbs/board.php?bo_table=inquiry&wr_id=462058
https://audicrewthailand.com/index.php?topic=2861.new#new
https://raisingbilingualbabies.com/forums/topic/unique-housewares/
https://thesource4ym.com/guys-and-fries/
https://mmomakemoneyonline.net/threads/unique-housewares.156654/
https://readingmiddlegrade.com/contact/?contact-form-id=5&contact-form-sent=98712&contact-form-hash=de27ddc66c4a6d45dce62f42da65cb8f5fd0a738&_wpnonce=dc347469be
http://gastronomiskt.se/blog/2019/11/27/hello-world/?unapproved=857489&moderation-hash=8c77175108014e2848e7aa8cf7915fe9#comment-857489
http://www.mygolftour.se/?unapproved=1698855&moderation-hash=cdef80152a4e522c94283256c19e1986#comment-1698855
https://shakheh.com/unique-housewares/
http://potolky-24.ru/?page_id=232&unapproved=1624263&moderation-hash=2eb2986b0939332628437544cacab92d#comment-1624263
https://www.lumia360.com/the-importance-of-review-management-for-local-seo/
https://chicagoguitar.com/?page_id=10#comment-81324
http://glazzette.com/uncategorized/hello-world/?unapproved=864650&moderation-hash=fce54aeb78f9e3e59fc17eb7ce6fabdc#comment-864650
https://ifpda.org/connect/?contact-form-id=7&contact-form-sent=3034206&contact-form-hash=b5444b63d123911e0bf071f52e82153ddb988977&_wpnonce=4a74b0a627
https://wexfordweekly.com/contact/?contact-form-id=4&contact-form-sent=70218&contact-form-hash=d7c055e0f9ea3c3c0500473d41eed85052e2ae48&_wpnonce=f695387e7c
http://rotherhambridgeclub.co.uk/?p=130&unapproved=914602&moderation-hash=3a151a20202b0e4b314f2a2fc278e077#comment-914602
https://casinogenie.org/contact-us/?contact-form-id=871&contact-form-sent=42640&contact-form-hash=07e2e2a2c09d2c2c0d6e8c3cf13a675b8ce8c075&_wpnonce=cee7848fd7
https://theroamingsuitcase.com/convergent-and-divergent-plate-margins/#comment-270787
http://thehusreport.com/short-term-missions-are-not-the-race/comment-page-7353/
http://s-fossen.no/uncategorized/hello-world/?unapproved=457222&moderation-hash=d403bef8c37c41a45f1dd33a5ff6438c#comment-457222
https://thelemonapp.com/blog/domina-la-iluminacion-en-fotografia-de-productos/#comment-435280
https://directaccess.richardhicks.com/training/?contact-form-id=2817&contact-form-sent=56907&contact-form-hash=3a84976c63a287e5d85472a5bf1afc2d97f5ff8d&_wpnonce=bad6203afc
http://intertraceinvestigations.com/?unapproved=1291935&moderation-hash=cb8feefd3fd3c50f76b69a51a094d78a#comment-1291935
http://abcmkt.ro/4-motive-sa-incepi-a-folosi-continut-video-pentru-afacerea-ta/?unapproved=948628&moderation-hash=5dabedc9f08e50ab61e5c18c96168bbe#comment-948628
https://anext.us.com/united-gaming-98win/#comment-567
http://coasta-de-azur.fr/radicalizare-islamica-alpes-maritimes-sunt-primul-departament-din-franta/?unapproved=990722&moderation-hash=e30b388f36ab085efa27958fdfa37ff5#comment-990722
http://h-breed.com/uncategorized/hello-world/?unapproved=548000&moderation-hash=5ecc10d6919db68af01537754c180db3#comment-548000
http://www.mmii.nl/hello-world/?unapproved=3500653&moderation-hash=a0d770b4092ccf3dc9780d66722eea9c#comment-3500653
https://1xbet-th.pro/?unapproved=334736&moderation-hash=827f1b69b4ec71f5063980d54c318d5e#comment-334736
https://33kubet.com/new88/#comment-7637
https://trendmagazine.news/?unapproved=161761&moderation-hash=c177ad3b1be3a4c2b1a430abe5b0ffde#comment-161761
https://woldcnews.com/contact/?contact-form-id=1654065&contact-form-sent=3548869&contact-form-hash=8684a5b4868b7796f6d4c8202b7f8182b789c700&_wpnonce=8b15dadbc3
https://retag1.com/2025/02/05/%d8%b4%d8%b1%d9%83%d8%a7%d8%aa-%d9%86%d9%82%d9%84-%d8%a7%d9%84%d8%b9%d9%81%d8%b4-%d8%a8%d8%a7%d9%84%d9%85%d9%86%d8%b5%d9%88%d8%b1%d8%a9/?unapproved=110045&moderation-hash=8fe9a28846ec03dacb97dae13ccabe2f#comment-110045
http://dreiss.co/coronavirus/?unapproved=997643&moderation-hash=89cb6f9620eda04449cad6239fe918a1#comment-997643

Haroldsecome

https://www.developgoodhabits.com/contact/?unapproved=243305&moderation-hash=7e6b247f14f70b41cf70968c2b7ede0a#comment-243305
https://mianswer.com/74/what-carbon-graphite-insulation-boards-rigid-graphite-felts?show=93#a93
https://www.badscience.net/2016/09/taking-transparency-beyond-results-ethics-committees-must-work-in-the-open/comment-page-1/?unapproved=4551834&moderation-hash=00038ede8c5bb01805f6903f62f8a88a#comment-4551834
https://filmmusicreporter.com/2025/08/29/mark-mothersbaugh-to-score-pixars-hoppers/?unapproved=1631533&moderation-hash=c66549d5911acaac30b03faa31fa5e31#comment-1631533
http://levitelecoms.com/%d0%bb%d1%83%d1%87%d1%88%d0%b8%d0%b5-%d0%be%d0%bd%d0%bb%d0%b0%d0%b9%d0%bd-%d0%ba%d0%b0%d0%b7%d0%b8%d0%bd%d0%be-%d1%81-%d0%b2%d1%8b%d1%81%d0%be%d0%ba%d0%b8%d0%bc%d0%b8-%d1%81%d1%82%d0%b0%d0%b2%d0%ba/?unapproved=45809&moderation-hash=105d9a4b55d7e6a606931f4ecf80fac8#comment-45809
https://www.securemac.com/support/index.php?pg=request.check&id=117115YlPhilGAyMVUOIlyaGLr
http://tsolus.com/bbs/board.php?bo_table=online&wr_id=3108299
https://www.web-books.com/topic/unique-housewares/
https://hardcoredumper.com/showthread.php?tid=138068
https://andangfoundation.org/bbs/board.php?bo_table=qa&wr_id=522273
https://www.swapmotolive.com/discussing-the-jorge-prado-tom-vialle-drama-inside-sml-ep-84/videos-theater/inside-sml/#comment-67514
https://www.econjobrumors.com/topic/unique-housewares?replies=1#post-10773667
http://hydrochem-e.com/bbs/board.php?bo_table=online&wr_id=725744
http://mchelp.xyz/index.php/4517/the-foolproof-coffee-message-board-strategy?show=142880#a142880
https://mens30slife.com/fukuoka/?unapproved=568203&moderation-hash=af626aa06d494da17070bea83e1e6c0f#comment-568203
https://disinformazione.it/2025/08/28/villaggio-bitcoin/#comment-77
https://thenewnarrativeonline.com/business/ukniaf-nigerian-governors-forum-advance-electricity-reform-with-nationwide-workshop-series/#comment-11856475
https://www.mindbrowse.com/2019/12/05/welcome-to-mindbrowse-com/?unapproved=406776&moderation-hash=b3fa593ea4a1942df9a92d3701da7c93#comment-406776
http://bananon.com/bananon-papayina/?unapproved=254224&moderation-hash=b9d8bcbedc2dac00497a41e70f670052#comment-254224
http://interlifedesigns.net/sas/announcing-our-brand-new-turquoise-series/?unapproved=173296&moderation-hash=bb2f5ebb96633e177e771f7bd22a8292#comment-173296
https://puertasautomaticasmena.es/profesionales-especializados/?unapproved=321823&moderation-hash=b723a3a49ccc302bd7a9a6a020995bb1#comment-321823
https://datxanhvn.vn/khu-dan-cu-thuong-mai-va-cho-vuc-lightland-hai-tien/?unapproved=29982&moderation-hash=19cd1c804766c4fb434360356264a619#comment-29982
https://www.mindik.com/seksi-minyon-kiz-dusta-buyuk-yaraga-talim-oluyor/?unapproved=324563&moderation-hash=5056d3e9ad96d8ed4978c73e705a183f#comment-324563
https://www.gastronomeet.com/2019/08/28/discover-sommelier-maximes-wine-secrets/?unapproved=581424&moderation-hash=adb6cabde99a21db0d932ba6f9652518#comment-581424
https://rankingroyals.com/contact/?contact-form-id=70-1&contact-form-sent=12459&contact-form-hash=87338cc6cf9107be2ecfe79b83eabbc379f63eef&_wpnonce=3a0d42705e
https://www.khites.co.uk/?unapproved=1316731&moderation-hash=2dac453900c8ccad1b12d94ea75d8f7a#comment-1316731
https://dcaerials.org/?unapproved=413343&moderation-hash=f462f501b887627e5d1290e7c388dbcd#comment-413343
https://www.adoveinthebelljar.com/contact?unapproved=262088&moderation-hash=d8f0a5742256c28e5c3097be4c149a4f#comment-262088
http://netdni.com/huong-dan-root-mazda-connect/?unapproved=323424&moderation-hash=13d8d4cb04ce770339a3ffccf0e354d9#comment-323424
https://richsikra.com/?p=527&unapproved=110443&moderation-hash=9b536cad05e77e8fbdfa35df5ae67f87#comment-110443
https://magcaldi.vn/?unapproved=816001&moderation-hash=d945fab9fb5b4c5b38e93ea6bc271284#comment-816001
https://1xbetsport-uz.com/?unapproved=234454&moderation-hash=0ea14e60bb1323903c5c5345eba8b834
https://gtamilchat.info/forum/index.php?topic=6564.new#new
https://jtf.org/what-trump-does-on-this-issue-will-decide-if-america-survives-jtf-video/#comment-473345
https://virtualboxes.org/contact-us/?contact-form-id=927&contact-form-sent=58545&contact-form-hash=825362666e3867930afdd39743fcc0e1be2514b3&_wpnonce=5deefd05bc
https://hoangvietco.net/product/keyboard-logitech-k375s-bluetooth/?unapproved=210766&moderation-hash=33ef49ee2ce41f0a0f4083fa8f6fd0d6#comment-210766