mirror of
https://github.com/mbusb/multibootusb
synced 2024-11-01 15:40:16 +00:00
Added ReactOS
This commit is contained in:
parent
767bcc6d4e
commit
1e3f1f1c26
BIN
data/multibootusb/mboot.c32
Normal file
BIN
data/multibootusb/mboot.c32
Normal file
Binary file not shown.
@ -121,6 +121,8 @@ def distro(iso_cfg_ext_dir, iso_link):
|
||||
return "alt-linux"
|
||||
elif re.search(r'Sergei Strelec', string, re.I):
|
||||
return "Windows"
|
||||
elif re.search(r'ReactOS', string, re.I):
|
||||
return "ReactOS"
|
||||
|
||||
distro = detect_iso_from_file_list(iso_link)
|
||||
if distro:
|
||||
|
@ -89,6 +89,8 @@ def install_distro():
|
||||
iso_extract_full(config.iso_link, usb_mount)
|
||||
elif config.distro == 'grub4dos':
|
||||
iso_extract_full(config.iso_link, usb_mount)
|
||||
elif config.distro == 'ReactOS':
|
||||
iso_extract_full(config.iso_link, usb_mount)
|
||||
else:
|
||||
iso.iso_extract_full(config.iso_link, install_dir)
|
||||
|
||||
|
@ -269,6 +269,9 @@ def update_mbusb_cfg_file(iso_link, usb_uuid, usb_mount, distro):
|
||||
config_file.write("LINUX memdisk\n")
|
||||
config_file.write("INITRD " + "/multibootusb/" + iso_basename(iso_link) + '/' + iso_name(iso_link) + '\n')
|
||||
config_file.write("APPEND iso\n")
|
||||
elif distro == 'ReactOS':
|
||||
config_file.write("COM32 mboot.c32")
|
||||
config_file.write("APPEND /loader/setupldr.sys")
|
||||
else:
|
||||
if isolinux_bin_exist(config.iso_link) is True:
|
||||
if distro == "generic":
|
||||
|
Loading…
Reference in New Issue
Block a user