Steve's blog about RMPrepUSB, Easy2Boot and USB booting and sometimes other stuff too!
Visit www.rmprepusb.com for over 140 Tutorials on USB booting or www.easy2boot.xyz for a unique USB multiboot solution.
Hi Great tool you have here Just want to ask if you want to make a .mnu file for Kali Linux(new Backtrack) with persistence. I put the iso in the Main Menu and it work fine. For persistence i made a live-rw file and at boot press TAB and add "persistence". On the desktop appear live-rw and LiveKali but doesn't save nothing. Thanks
This would be my best shot at a mnu file - It will take me over 3 hrs to download the ISO so I can't test it!
# For persistence, create an ext2 file called persistence in the root of the boot drive using RMPrepUSB Create ext2 FS button # Then rename the file to kali-rw (do NOT create a file called kali-rw - you MUST create a file called persistence and then rename it to kali-rw!) # Place ISO in \_ISO\Mainmenu\linux or \_ISO\MNU\Linux (and this .mnu file too) # DOES NOT WORK UNDER VM!!!
iftitle [if exist %MFOLDER%/Linux/kali-linux-1.0.2-i386.iso] Kali Persistent\n #enable parttype output debug 1 # make empty table entry in 3rd position in ptn table parttype (hd0,2) | set check= debug off set check=%check:~-5,4% if "%check%"=="0x00" partnew (hd0,2) 0 0 0 if not "%check%"=="0x00" echo WARNING: PTN TABLE 3 IS ALREADY IN USE! && pause debug 1 #clear ptn 4 partnew (hd0,3) 0x0 0 0 0 if not exist (bd)/kali-rw echo WARNING: /kali-rw persistence file not found! && pause errorcheck off if "%check%"=="0x00" partnew (hd0,2) 0x0 (bd)/kali-rw errorcheck on
That almost did work but it gets to LOGIN and need to enter USERNAME and PASSWORD
this way it logs in automatically as ROOT kernel /live/vmlinuz boot=live noconfig=sudo username=root hostname=kali persistence
The PERSISTENCE works but not the way i expected (but is better than nothing) PERSISTENCE appear like a removable drive and it saves only what you put directly in there if you change the wallpaper or you let something on desktop it doesn't save that
Like i said earlier it says on official doc that you should create a ext4 partition but of course if we have a multiboot it's not easy because my usb is already almost full and i can ruin my setup, thats why i wanted to try this method like it was with Backtrack
made a ext4 persistence file, changed the name to kali-rw but it works the same as ext2 created with RMPrepUSB the only difference it appears as "16GB file system" on desktop and the other one appeared as "persistence"
Hi
ReplyDeleteGreat tool you have here
Just want to ask if you want to make a .mnu file for Kali Linux(new Backtrack) with persistence. I put the iso in the Main Menu and it work fine. For persistence i made a live-rw file and at boot press TAB and add "persistence". On the desktop appear live-rw and LiveKali but doesn't save nothing.
Thanks
Copy the BT5 .mnu file and change the ISO name and the BT5-rw name. Make an ext2 file called live-rw and rename it kali-rw and use that in the menu.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteP.S. from documentation, it looks like for kali, the ext2 filesystem must be created with a name and volume label of 'persistence' and not live-rw.
ReplyDeletesomeone mentioned live-rw in a tut on a forum, thats why tried that.
ReplyDeletein official doc it says to create a ext4 partition for persistence
This would be my best shot at a mnu file - It will take me over 3 hrs to download the ISO so I can't test it!
ReplyDelete# For persistence, create an ext2 file called persistence in the root of the boot drive using RMPrepUSB Create ext2 FS button
# Then rename the file to kali-rw (do NOT create a file called kali-rw - you MUST create a file called persistence and then rename it to kali-rw!)
# Place ISO in \_ISO\Mainmenu\linux or \_ISO\MNU\Linux (and this .mnu file too)
# DOES NOT WORK UNDER VM!!!
iftitle [if exist %MFOLDER%/Linux/kali-linux-1.0.2-i386.iso] Kali Persistent\n
#enable parttype output
debug 1
# make empty table entry in 3rd position in ptn table
parttype (hd0,2) | set check=
debug off
set check=%check:~-5,4%
if "%check%"=="0x00" partnew (hd0,2) 0 0 0
if not "%check%"=="0x00" echo WARNING: PTN TABLE 3 IS ALREADY IN USE! && pause
debug 1
#clear ptn 4
partnew (hd0,3) 0x0 0 0 0
if not exist (bd)/kali-rw echo WARNING: /kali-rw persistence file not found! && pause
errorcheck off
if "%check%"=="0x00" partnew (hd0,2) 0x0 (bd)/kali-rw
errorcheck on
map %MFOLDER%/Linux/kali-linux-1.0.2-i386.iso (0xff)
map --hook
partnew (hd0,3) 0x0 (bd)%MFOLDER%/Linux/kali-linux-1.0.2-i386.iso
root (0xff)
kernel /live/vmlinuz boot=live config live-config.username=root persistence
initrd /live/initrd.img
ok
ReplyDeletewill try that and tell you how it goes
That almost did work but it gets to LOGIN and need to enter USERNAME and PASSWORD
ReplyDeletethis way it logs in automatically as ROOT
kernel /live/vmlinuz boot=live noconfig=sudo username=root hostname=kali persistence
The PERSISTENCE works but not the way i expected (but is better than nothing)
PERSISTENCE appear like a removable drive and it saves only what you put directly in there
if you change the wallpaper or you let something on desktop it doesn't save that
Thank you
That means it is just mounting the filesystem. Maybe it needs to be ext4??
ReplyDeleteDid you try looking at the script inside initrd.img? Maybe see if it looks for 'persistence' volume or live-rw in the script?
ReplyDeleteMaybe it needs to be ext4??
ReplyDeleteLike i said earlier it says on official doc that you should create a ext4 partition but of course if we have a multiboot it's not easy because my usb is already almost full and i can ruin my setup, thats why i wanted to try this method like it was with Backtrack
Can i create a ext4 with RMPrepUSB?
RMPrepUSB just uses mke2fs. You could try creating an ext4 file under linux and then copying it over and renaming it.
ReplyDeletedidn't find any name in initrd
ReplyDeletemade a ext4 persistence file, changed the name to kali-rw but it works the same as ext2 created with RMPrepUSB
the only difference it appears as "16GB file system" on desktop and the other one appeared as "persistence"
OK - cracked it! ext2 does work OK. Just make the ext2 file called kali-rw as in the .mnu file. Then boot to kali and go to terminal and type
ReplyDeletemkdir /mnt/usb
mount /dev/sdb3 /mnt/usb
echo "/ union" >> /mnt/usb/persistence.conf
umount /mnt/usb
The persistent 'volume' needs the persistence.conf file in it!
This is a fantastic tool! I rarely get excited about things, but I'm following the development of this closely!
ReplyDeleteIt works
ReplyDeleteThank you