Cub Linux is Chromium+Ubuntu. Unlike ChromixiumOS, it comes in a nice LiveCD ISO format and so we can easily run this from an E2B drive. As it is based on Ubuntu, we can also add persistence.
Here is the .mnu for the 64-bit version (also added to \_ISO\docs\Sample mnu Files\linux\CubLinux-amd64_Persistent.mnu in E2B v1.84d).
# Make a ext4 file using RMPrepUSB in the root of the drive (i.e. File Name=cub-rw Volume Name=casper-rw)
# Place this .mnu file and the ISO in (_ISO\xxx\MNU), e.g. \_ISO\MainMenu\MNU or \_ISO\Linux\MNU
# This menu will work even on an NTFS USB boot drive
# IMPORTANT: you MUST run WinContig (Ctrl+F2) before booting E2B.
iftitle [if exist $HOME$/CubLinux-1.0RC-amd64.iso] CubLinux amd64 PERSISTENT\n Boot using .mnu file with persistence
set ISO=$HOME$/CubLinux-1.0RC-amd64.iso
set PF=/cub-rw
if "%E2BDEV%"=="" set E2BDEV=hd0 && pause E2BDEV forced to hd0!
if exist CD echo WARNING: Cannot use partnew command! && pause && configfile (bd)/menu.lst
#enable parttype output
debug 1
# make empty table entry in 3rd position in ptn table
parttype (%E2BDEV%,2) | set check=
debug off
set check=%check:~-5,4%
if "%check%"=="0x00" partnew (%E2BDEV%,2) 0 0 0
if not "%check%"=="0x00" echo WARNING: PTN TABLE 3 IS ALREADY IN USE - PERSISTENCE MAY NOT WORK! && pause
debug 1
if not exist %PF% echo WARNING: %PF% persistence file not found! && pause
errorcheck off
if "%check%"=="0x00" partnew (%E2BDEV%,2) 0x0 %PF%
errorcheck on
#map ptn 4 to ISO
partnew (%E2BDEV%,3) 0x0 %ISO%
map %ISO% (0xff)
map --hook
root (0xff)
kernel /casper/vmlinuz.efi boot=casper persistent noeject noprompt quiet splash --
if exist /casper/initrd.gz initrd /casper/initrd.gz
if exist /casper/initrd.lz initrd /casper/initrd.lz
boot
Please tick one of the 'Reactions' boxes if you enjoyed a post.
Here is the .mnu for the 64-bit version (also added to \_ISO\docs\Sample mnu Files\linux\CubLinux-amd64_Persistent.mnu in E2B v1.84d).
# Make a ext4 file using RMPrepUSB in the root of the drive (i.e. File Name=cub-rw Volume Name=casper-rw)
# Place this .mnu file and the ISO in (_ISO\xxx\MNU), e.g. \_ISO\MainMenu\MNU or \_ISO\Linux\MNU
# This menu will work even on an NTFS USB boot drive
# IMPORTANT: you MUST run WinContig (Ctrl+F2) before booting E2B.
iftitle [if exist $HOME$/CubLinux-1.0RC-amd64.iso] CubLinux amd64 PERSISTENT\n Boot using .mnu file with persistence
set ISO=$HOME$/CubLinux-1.0RC-amd64.iso
set PF=/cub-rw
if "%E2BDEV%"=="" set E2BDEV=hd0 && pause E2BDEV forced to hd0!
if exist CD echo WARNING: Cannot use partnew command! && pause && configfile (bd)/menu.lst
#enable parttype output
debug 1
# make empty table entry in 3rd position in ptn table
parttype (%E2BDEV%,2) | set check=
debug off
set check=%check:~-5,4%
if "%check%"=="0x00" partnew (%E2BDEV%,2) 0 0 0
if not "%check%"=="0x00" echo WARNING: PTN TABLE 3 IS ALREADY IN USE - PERSISTENCE MAY NOT WORK! && pause
debug 1
if not exist %PF% echo WARNING: %PF% persistence file not found! && pause
errorcheck off
if "%check%"=="0x00" partnew (%E2BDEV%,2) 0x0 %PF%
errorcheck on
#map ptn 4 to ISO
partnew (%E2BDEV%,3) 0x0 %ISO%
map %ISO% (0xff)
map --hook
root (0xff)
kernel /casper/vmlinuz.efi boot=casper persistent noeject noprompt quiet splash --
if exist /casper/initrd.gz initrd /casper/initrd.gz
if exist /casper/initrd.lz initrd /casper/initrd.lz
boot
Please tick one of the 'Reactions' boxes if you enjoyed a post.
No comments:
Post a Comment