Jump to content
Son zamanlarda artan kullanıcı hesap hırsızlıkları sebebiyle tüm kullanıcılara şifre sıfırlama maili gönderilmiştir. Lütfen güveli şifreler seçiniz. Mevcut e-mail adresinize erişemiyorsanız, en aşağıdaki destek linkinden bize ulaşınız. ×

Altay Grub2fm + Ventoy Multiboot V8.4 2020


serhat100
 Share

Recommended Posts

  • 5 hafta sonra ...
alive64, 02.05.2019 - 14:34 yazdı:

Update: add support for booting WIM files in UEFI ( grub2 wimboot module)

You can download grub2 binaries from 

wimboot module usage:


wimboot @:boot.wim:/path/to/test.wim @:bootmgfw.efi:/path/to/bootmgfw.efi @:bcd:/path/to/bcd @:boot.sdi:/path/to/boot.sdi

More info: 

Please register to see this content.

Wimboot yöntemi ile UEFI modunda WIM dosyalarını çalıştırmak için gereken kodları ve dosyaları buradan paylaşabilirimisiniz acaba?

  • Like 1
Link to comment
Share on other sites

17 hours ago, crasadure said:

Can you share the code and files needed to run WIM files in UEFI mode with the Wimboot method?

modified grub2:   (wimboot.mod)

BCD, boot.sdi & bootmgfw.efi (x86_64-efi): 

BCD, boot.sdi & bootmgfw.efi (i386-efi)      : 

Please register to see this content.
  (not tested)

Link to comment
Share on other sites

alive64, 52 dakika önce yazdı:

modified grub2:   (wimboot.mod)

BCD, boot.sdi & bootmgfw.efi (x86_64-efi): 

BCD, boot.sdi & bootmgfw.efi (i386-efi)      : 

Please register to see this content.
  (not tested)

Merhaba @alive64 üstad;

Legacy menü de wim yönteminde şöyle bir hata alıyorum. kodlarda bir yanlışlık mı var acaba 

fi
if [ "${grub_platform}" == "pc" ]; then
menuentry "Windows 7sp1_8.1_10 x32_x64 Kurulum [wim]" --class wim {
terminal_output gfxterm;
 insmod part_msdos
 insmod ntfs
terminal_output console;
enable_progress_indicator=1;
export file=(hd0,msdos1)/wim/boot.wim
export file_type=wim
loopback loop /wim/boot.wim
loopback wimboot ${prefix}/wimboot; 
linux16 (wimboot)/wimboot; initrd16 newc:bootmgr:(wimboot)/bootmgr newc:bcd:(wimboot)/bcd newc:boot.sdi:(wimboot)/boot.sdi newc:boot.wim:
boot;
}

504927028_EkranAlnts.PNG.372eef21eddf68be837634fa0d725aa7.PNG

Link to comment
Share on other sites

19 minutes ago, serhat100 said:

linux16 (wimboot)/wimboot; initrd16 newc:bootmgr:(wimboot)/bootmgr newc:bcd:(wimboot)/bcd newc:boot.sdi:(wimboot)/boot.sdi newc:boot.wim:

linux16 (wimboot)/wimboot;
initrd16 newc:bootmgr:(wimboot)/bootmgr newc:bcd:(wimboot)/bcd newc:boot.sdi:(wimboot)/boot.sdi newc:boot.wim:/xxx.wim;
boot;

Edited by alive64
typo
Link to comment
Share on other sites

@alive64 Qemu ile test yaptığımızdan dolayı bellek yetersizliğinden bu hataya düşüyormuş gerçek bilgisayarda test ettiğimizde boot oluyor. ?

kodlar

fi
if [ "${grub_platform}" == "pc" ]; then
menuentry "Wim yöntemi ile Boot [wim]" --class wim {
terminal_output console;
enable_progress_indicator=1;
set root='(hd0,msdos1)'
loopback loop (hd0,msdos1)/wim/winpe.wim
loopback wimboot ${prefix}/wimboot; 
linux16 (wimboot)/wimboot; initrd16 newc:bootmgr:(wimboot)/bootmgr newc:bcd:(wimboot)/bcd newc:boot.sdi:(wimboot)/boot.sdi newc:boot.wim:(hd0,msdos1)/wim/winpe.wim;
boot;
}

@crasadure hocam sorunsuz yalnızca dosya yolu ve wim adını yani (loopback loop (hd0,msdos1)/wim/winpe.wim) ile ((hd0,msdos1)/wim/winpe.wim;) bu iki yeri kendimize göre düzenleyince olay tamam test edilmiştir. sorunun bellek yetersizliğinden kaynaklandığını qemu ile test etmemizden işlem uzadı boşu boşuna uğraştık artık gerisi size kalmış. kolay gelsin

 

Link to comment
Share on other sites

serhat100, 4 dakika önce yazdı:

@alive64 Qemu ile test yaptığımızdan dolayı bellek yetersizliğinden bu hataya düşüyormuş gerçek bilgisayarda test ettiğimizde boot oluyor. ?

kodlar

fi
if [ "${grub_platform}" == "pc" ]; then
menuentry "Wim yöntemi ile Boot [wim]" --class wim {
terminal_output console;
enable_progress_indicator=1;
set root='(hd0,msdos1)'
loopback loop (hd0,msdos1)/wim/winpe.wim
loopback wimboot ${prefix}/wimboot; 
linux16 (wimboot)/wimboot; initrd16 newc:bootmgr:(wimboot)/bootmgr newc:bcd:(wimboot)/bcd newc:boot.sdi:(wimboot)/boot.sdi newc:boot.wim:(hd0,msdos1)/wim/winpe.wim;
boot;
}

@crasadure hocam sorunsuz yalnızca dosya yolu ve wim adını yani (loopback loop (hd0,msdos1)/wim/winpe.wim) ile ((hd0,msdos1)/wim/winpe.wim;) bu iki yeri kendimize göre düzenleyince olay tamam test edilmiştir. sorunun bellek yetersizliğinden kaynaklandığını qemu ile test etmemizden işlem uzadı boşu boşuna uğraştık artık gerisi size kalmış. kolay gelsin

 

@serhat100 

zaten LEGACY çalıştırmada bir sıkıntım yok ...bunu video olarak anlattık zaten...@mephistoo2 krd UEFI yi sorunca video anlatımı eksik kalmış oldu...

UEFI de gereken kodlara bakıyorum şu an...bir anlayayım sindireyim,kafamda mesele oturursa video çekimi yaparım...eve yeni geldim daha...

paylaştığınız kodları ve dosyalarla deneme yapmam lazım...takıldığım hususlarda buradan da size sorarım ...paylaşım  için sağolun

Link to comment
Share on other sites

  • Editor
crasadure, 33 dakika önce yazdı:

@serhat100 

zaten LEGACY çalıştırmada bir sıkıntım yok ...bunu video olarak anlattık zaten...@mephistoo2 krd UEFI yi sorunca video anlatımı eksik kalmış oldu...

UEFI de gereken kodlara bakıyorum şu an...bir anlayayım sindireyim,kafamda mesele oturursa video çekimi yaparım...eve yeni geldim daha...

paylaştığınız kodları ve dosyalarla deneme yapmam lazım...takıldığım hususlarda buradan da size sorarım ...paylaşım  için sağolun

Ben de az önce GRUB2FM son sürüm ile UEFI'de wim dosyalarını sorunsuz önyükleme yaptım. Önyükleme yaparken test ettiğim dosyalar Windows kurulum dosyası olan boot.wim ve RescuePE.wim dosyaları, ikisinde de sorunsuz ön yükleme gerçekleşti; ancak nedense bu iki dosyayı MBR modunda grubfm.iso dosyası aracılığıyla ön yükleme yapamadım.

Bu arada Windows ve WinPe iso dosyaları da hem UEFI hem de MBR modunda GRUB2FM ile ön yükleme olmuyor...

Linux iso dosyalarını denemedim.

Edited by mephistooo2
  • Thanks 1
Link to comment
Share on other sites

@crasadure hocam siz wimboot içeriğini klasöre çıkarıp öyle yapmışsınız izlediğim kadarıyla bunda her hangi bir klasöre çıkarmaya gerek yok sadece wim adını gerekli yere yazdığımızda işlem bitiyor bende bu kodlara gerek kalmadan grub2 file manager dosyalarından faydalandığım için yalnızca wim üzerine gelip entere basınca otomatikmen boot oluyor uefi yi denedim dediğim gibi imzaya takılıyor efiguardDxe.efi yi kullanarak bir test yapcam başarırsam paylaşırım.

Link to comment
Share on other sites

@crasadure hocam 64bit wim dosyası boot oluyor sorun 64bit sistemde 32bit wim boot etmeye çalıştığımızdan kaynaklanıyormuş çözüldü.

fi
if [ "${grub_platform}" == "efi" ]; then
menuentry "Wim Yöntemi ile Boot [wim]" --class wim {
terminal_output gfxterm;
 insmod part_msdos
 insmod ntfs
terminal_output console;
enable_progress_indicator=1;
set root='(hd0,msdos1)'
loopback loop (hd0,msdos1)/wim/wimpe64.wim
loopback wimboot ${prefix}/wimboot.gz; 
wimboot @:bootmgfw.efi:(wimboot)/bootmgfw.efi @:bcd:(wimboot)/bcd @:boot.sdi:(wimboot)/boot.sdi @:boot.wim:(hd0,msdos1)/wim/wimpe64.wim;
}

Link to comment
Share on other sites

@alive64 usta; uefi 64bit de windows10x64.iso şu kodlar ile test yaptım tam kuruluma geçerken pc yeniden flash diskten başlatıyor

fi
if [ "${grub_platform}" == "efi" ]; then
menuentry "Windows Sistemleri UEFİ [ISO]" --class wim {
  terminal_output gfxterm;
 insmod part_msdos
 insmod ntfs
  terminal_output console;
  enable_progress_indicator=1;
  set root='(hd0,msdos1)'
  loopback loop (hd0,msdos1)/ISO/windows10x64.iso
  loopback wimboot ${prefix}/wimboot.gz;
  loopback install ${prefix}/install.gz;
  set installiso=\\ISO\\windows10x64.iso;
  save_env -f ${prefix}/null.cfg installiso;
  wimboot @:bootmgfw.efi:(wimboot)/bootmgfw.efi @:bcd:(wimboot)/bcd @:boot.sdi:(wimboot)/boot.sdi @:null.cfg:${prefix}/null.cfg @:mount_x64.exe:(install)/mount_x64.exe @:mount_x86.exe:(install)/mount_x86.exe @:start.bat:(install)/start.bat @:winpeshl.ini:(install)/winpeshl.ini @:boot.wim:(loop)/sources/boot.wim;
}

IMG_20190617_155802.jpg.92d1b4f1f79f0d41061544665b2535ac.jpg

Please register to see this content.

Edited by serhat100
Link to comment
Share on other sites

Burada bu konuyla ilgili açıklamalar var @serhat100

WIM dosyalarını multiboot toolkit de çalıştırma işi Tamam....şimdi de sıra ISO dosyalarında...ama iso dosyaları büyük olduğundan bunun için çok fazla RAM belleğe ihtiyaç olacağını düşünüyorum....8gb ram en az olması gerekir kanaatindeyim...yanlışmıyım acaba?

@mephistooo2 üstad 

Bu ipxe yi öğrenmelisin sen....sen server ve network üzerinden işlemler yaptığını yazmıştın önceden....sırf bunun için bir pe sistem yaptın forumda...bak ipxe nın marifetlerine  ?? (sitesinden alıntı)

iPXE

iPXE is the leading open source network boot firmware. It provides a full PXE implementation enhanced with additional features such as:

  • boot from a web server via HTTP
  • boot from an iSCSI SAN
  • boot from a Fibre Channel SAN via FCoE
  • boot from an AoE SAN
  • boot from a wireless network
  • boot from a wide-area network
  • boot from an Infiniband network
  • control the boot process with a 
    Please register to see this content.
Edited by crasadure
  • Like 2
Link to comment
Share on other sites

@echo off
%cd%\wpeinit.exe
ren %cd%\wpeinit.exe wpeinit.exe.old
set arch=x64
if %PROCESSOR_ARCHITECTURE% == x86 (
  set arch=x86
  )
echo Operating System is %arch% bit
echo Installing ISO Driver
mount_%arch%.exe -xi
for /f "tokens=1,2 delims==" %%a in ('find "installiso=" null.cfg') do set isopath=%%b
echo ISO Path: %isopath%

for %%I in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%I:%isopath% set isodrive=%%I:
IF "%isodrive%"=="" (
echo ERROR - COULD NOT FIND ISO!

goto :EOF
)
echo ISO Full Path: %isodrive%%isopath%

mount_%arch%.exe -m:r %isodrive%%isopath%

MODE CON COLS=30 LINES=4
cls
echo DO NOT CLOSE THIS WINDOW
echo Please wait ...
ping -n 6 127.0.0.1>null
for %%i in (A B C D E F G H I J K L M N O P Q R S T U V W X Y Z) do (
if exist %%i:\sources\install.wim %%i:\setup.exe
)
exit

startup.bat was written by a friend of mine.

  • Thanks 1
Link to comment
Share on other sites

Bu konu başlığı forumda ayrıca açılmalı bence...

iPXE-Open source  boot firmware 

Please register to see this content.

diye bir konu açılıp burada bu yöntem iyice ve genişçe ele alınmalı...devamlı yenilenen ve geliştirilen bir sistem bu....ben bile yeni yeni farkına varıyorum....anlayan ve bilgi sahibi olan biri varsa topic olarak açsın arkadaşlar

Edited by crasadure
Link to comment
Share on other sites

alive64, 38 dakika önce yazdı:

@echo off
%cd%\wpeinit.exe
ren %cd%\wpeinit.exe wpeinit.exe.old
set arch=x64
if %PROCESSOR_ARCHITECTURE% == x86 (
  set arch=x86
  )
echo Operating System is %arch% bit
echo Installing ISO Driver
mount_%arch%.exe -xi
for /f "tokens=1,2 delims==" %%a in ('find "installiso=" null.cfg') do set isopath=%%b
echo ISO Path: %isopath%

for %%I in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%I:%isopath% set isodrive=%%I:
IF "%isodrive%"=="" (
echo ERROR - COULD NOT FIND ISO!

goto :EOF
)
echo ISO Full Path: %isodrive%%isopath%

mount_%arch%.exe -m:r %isodrive%%isopath%

MODE CON COLS=30 LINES=4
cls
echo DO NOT CLOSE THIS WINDOW
echo Please wait ...
ping -n 6 127.0.0.1>null
for %%i in (A B C D E F G H I J K L M N O P Q R S T U V W X Y Z) do (
if exist %%i:\sources\install.wim %%i:\setup.exe
)
exit

startup.bat was written by a friend of mine.

This batch file code ok....

But it is missing @alive64

We can download Two ARCHITECTURE in one ISO file from microsoft site

So it is searching wim file at :/sources/install.wim

but it can be like that...(two wim file in one iso)

microsoft iso file iş  like that:

/x86/sources/install wim

/x64/sources/install.wim 

Or

x86/sources/install.esd

/x64/sources/install.esd

so...This script file good...and it can be develop

Link to comment
Share on other sites

Al sana bir bilgi daha  ?(adamlar aşmış olayı...normalde biz *.efi dosyası ile BCD yi çağırır, BCD de WIM dosyasını çalıştırır...adam grub2 ekranında WIM dosyasını listeleyip, oradanda seçilen WIM üzerinden Wimboot ile WIM dosyasını yüklüyor...hay maşallah :)  )

Please register to see this content.

05_2000_550.jpg.a5c819f954e0a85d0aae21486300b465.jpg

set default=0
set fallback=1
set timeout=5
menuentry "0.Windows" --hotkey=0
{
 chainloader /efi/microsoft/bootx64.efi
}

menuentry "1.WePE" --hotkey=1
{
#loopback wimboot /efi/grub/wimboot.gz
#wimboot @:bootmgfw.efi:(wimboot)/bootmgfw.efi @:bcd:(wimboot)/bcd @:boot.sdi:(wimboot)/boot.sdi @:boot.wim:/wepe.wim
 set wim_boot=("${cmddevice}")/efi/grub/wimboot
 wimboot @:bootmgfw.efi:"${wim_boot}"/boot.efi @:bcd:"${wim_boot}"/bcd @:boot.sdi:"${wim_boot}"/boot.sdi @:boot.wim:/wepe.wim
}

menuentry "2.WIM/EFI" --hotkey=2
{
if search --file /wim/360pe.wim --set=wimdevice --no-floppy ; then
set grub_path=("${wimdevice}")/wim
export grub_path
fi
  configfile /efi/grub/grubfm.cfg
}

menuentry "3.xorboot" --hotkey=3
{
  chainloader /efi/xorboot/bootx64.efi
}

menuentry "4.refind" --hotkey=4
{
  chainloader /efi/refind/bootx64.efi
}

Link to comment
Share on other sites

crasadure, 4 saat önce yazdı:

Burada bu konuyla ilgili açıklamalar var @serhat100

WIM dosyalarını multiboot toolkit de çalıştırma işi Tamam....şimdi de sıra ISO dosyalarında...ama iso dosyaları büyük olduğundan bunun için çok fazla RAM belleğe ihtiyaç olacağını düşünüyorum....8gb ram en az olması gerekir kanaatindeyim...yanlışmıyım acaba?

@mephistooo2 üstad 

Bu ipxe yi öğrenmelisin sen....sen server ve network üzerinden işlemler yaptığını yazmıştın önceden....sırf bunun için bir pe sistem yaptın forumda...bak ipxe nın marifetlerine  ?? (sitesinden alıntı)

iPXE is the leading open source network boot firmware. It provides a full PXE implementation enhanced with additional features such as:

  • boot from a web server via HTTP
  • boot from an iSCSI SAN
  • boot from a Fibre Channel SAN via FCoE
  • boot from an AoE SAN
  • boot from a wireless network
  • boot from a wide-area network
  • boot from an Infiniband network
  • control the boot process with a 
    Please register to see this content.

 

crasadure, 3 saat önce yazdı:

This batch file code ok....

But it is missing @alive64

We can download Two ARCHITECTURE in one ISO file from microsoft site

So it is searching wim file at :/sources/install.wim

but it can be like that...(two wim file in one iso)

microsoft iso file iş  like that:

/x86/sources/install wim

/x64/sources/install.wim 

Or

x86/sources/install.esd

/x64/sources/install.esd

so...This script file good...and it can be develop

Sa. @crasadure hocam uefi de iso testinde pc restart yapacağı yere kadar geldiğim süre wimboot yönteminden daha az zamanda boot oldu win10x64.iso ile testimde.

yanlış hatırlamıyorsam wimboot yönteminde esd formatı desteklenmiyor  

Link to comment
Share on other sites

arkadaşlar vereceğim kodlar ile windows10x64.iso testi yapma imkanınız varmı 

title Windows10x64.iso Yuklemesini wimboot metod
map /Windows10x64.iso (0xff)
map --hook
root (0xff)
kernel (hd0,0)/wimboot
initrd @Windows10x64.iso.tag=/boot/bcd @start.bat=(hd0,0)/start.bat @winpeshl.ini=(hd0,0)/winpeshl.ini @bcd=/boot/bcd @boot.sdi=/boot/boot.sdi @boot.wim=/sources/boot.wim 
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
boot

 

menuentry "Windows iso Dosyalarını Boot etme Legacy [ISO]" --class wim {

terminal_output gfxterm;
 insmod part_msdos
 insmod ntfs
 set isoname=windows10x64.iso
 loopback loop /$isoname
 linux16 /wimboot;
 initrd16 newc:bcd:(loop)/boot/bcd
 newc:windows10x64.iso.tag:(loop)/boot/bcd
 newc:winpeshl.ini:/winpeshl.ini
 newc:start.bat:/start.bat
 newc:boot.sdi:(loop)/boot/boot.sdi
 newc:boot.wim:(loop)/sources/boot.wim
 drivemap -s hd0 hd1
 boot
}

bendeki iso da öyle sanıyorum ki problemli indirme imkanım kısıtlı  arkadaşlar test yapan geri dönüş yaparsa sevinirim Teşekkür ederim.

Edited by serhat100
Link to comment
Share on other sites

@serhat100 Öncelikle teşekkür ederim güzel ve çok emek verilmiş bir çalışma. Bende  son verdiğin  komutlar çalışması legacy ve uefi,de sonuç vermedi diğer arayüz geçişlerinde de sorun var veya geri dönüşte ve açılışta çıkan sesler çok rahatsız edici, bende hp envy x360 leptop  var test ettim bios menüde legacy kapalı olduğunda uefi boot etmedi. Ayrıca kusura bakmazsan biraz fazla reklam olmuş ;)

  • Thanks 1
Link to comment
Share on other sites

@awengers44 komutlar bende de çalışmadı demek İSO hatalı değil. Geçişlerde ki sesler kapatılabilir sorun değil uefi de boot etmemesi sorunu paylaştığım dan bu zamana kadar baya değişiklik oldu o sorun yeni versiyon da olmaz diye düşünüyorum. Kusura bakmam arkadaşım aslında multibootu kendim için hazırladım paylaşmak gibi bir düşüncem yoktu sonradan madem bir iş çıktı ortaya paylaşayım isteyen faydalansın mantığı ile oldu. Grub2 de Windows.iso sunu boot etme işine biraz daha uğraş verilmesi gerekiyor tavsiye windows7.iso üzerine ama biz de test edelim belki çözüm çıkar ortaya teşekkür ederim. 

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

Ellerin dert görmesin güzel ve üstünde çalışılacak emeğe değer bir paylaşım ayrıca harici programlara ihtiyaç duymaması farkını ortaya koyuyor. Uefi boot ile disk içinden direk Windows10x64.iso kurulumu başlattım disk bölümlerine kadar geldim ancak devam etmedim. Zaman buldukça ve başka pc,ler üstünde test etmeye devam ederim ve kısmi düzenlemeler yaparım inşaAllah :) grub4dos dosyalar nerede acaba menu.lst vs en azından legacy kurulum ile çalıştırmaya devam ederim :)

  • Thanks 1
Link to comment
Share on other sites

@awengers44 Teşekkür ederim uefi boot başka pc demi boot ettiniz önceki mesajınızda uefi de boot etmediğini yazmıştınız 32bit uefi pc lerde boot etmez çünkü dosyalarını koymadım uefi pc lerde boot etmesi için iki adet dosyamız var fat32 bölümde efi klasörü boot klasörü içerisindeki bootx64.efi ile grubx64.efi  benim paylaştıklarım grub2 file manager den alınma diğital imza olayında en başarılı olanı ben şahsen yaptığım testlerde 64bit sistemlerde boot etmeyene rastlamadım dediğim gibi 32bit uefi sistemde boot etmez çünkü dosyalarını koymadım. şu kısımı açarmısın lütfen ( Uefi boot ile disk içinden direk Windows10x64.iso kurulumu başlattım disk bölümlerine kadar geldim) grub4dos dosyaları main.cfg içerisindeki kodlardan bakarsak flashın ntfs bölümünde ISO/aLTayboot.iso bu grub4dos tüm dosyaları içerisinde mevcut. kolay gelsin 

  • Thanks 1
Link to comment
Share on other sites

@serhat100  Teşekkür ederim. Boot ediyor herhangi bir sorun yok , secure boot açık olduğunda boot etmedi sadece.  Uefi boot ettiğimde direk gelen disk bölümleri içinde  winpe ve iso dosyası çalıştırmada extra bir koda ihtiyÇ DUYMADAN NT6x ile sorunsuz çalışmakta kastım bu idi eksik anlattım kusura bakmayın. Grub4dos komutun,da ise seçip çalıştırınca aynı menüye geri dönüyor herhangi bir oynama yapmadım henüz. Son olarak ses nasıl disable edilir :D ve usb bellek çalıştırılıp boot edilince ilk gelen hoş geldiniz ekranında grup menu gelmeden bir tuşa basılınca sistem orda kalıyor tekrar res atıp boot etmek gerekiyor.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...