Create a persistent Ubuntu USB

Boot into USB

Ctrl+Alt+T –> Open Terminal


sudo add-apt-repository universe
sudo add-apt-repository ppa:mkusb/ppa
sudo apt-get update

GUI:
sudo apt-get install mkusb
TEXT:
sudo apt-get install mkusb-nox


p --> create a persistent live install
sudo -H mkusb ubuntu-16.04-desktop-i386.iso p




🙂

Install Kali Linux on my old HP laptop

Yesterday i wanna try out my new Alfa High-Gain USB Wireless Adapter
And I was like why don’t I also install Kali Linux on my old HP laptop…

I created a Kali Live USB and boot into it.

Problem 1 –> It pops up an error saying CD-ROM couldn’t be mounted
solution: select “Execute a shell” and run the command “mount -t vfat /dev/sdb1 /cdrom”

Problem 2 –> error message: The missing firmware files are: iwlwifi-7260-9.ucode iwlwifi-7260-8.ucode
solution: download firmware (https://packages.debian.org/jessie/all/firmware-iwlwifi/download)
and copy the firmware-iwlwifi_0.43_all.deb file to Live USB folder “firmware”
cat /proc /dev/sd + tab <-- can use this command to find out sdX

Update Kali Linux

1 nano /etc/apt/sources.list
and add official Kali sources.list Repositories

deb http://http.kali.org/kali kali-rolling main contrib non-free
# For source package access, uncomment the following line
# deb-src http://http.kali.org/kali kali-rolling main contrib non-free

deb http://old.kali.org/kali sana main non-free contrib
# For source package access, uncomment the following line
# deb-src http://old.kali.org/kali sana main non-free contrib

2 run commands
apt-get clean
apt-get update
apt-get upgrade (install a newer version of tools and removed the older version. It upgrades only tools)
apt-get dist-upgrade (upgrade newer version of Operating System)

——————after all—————-
It works perfectly and i tested my alfa usb wireless card with airmon-ng, airodump-ng, aireplay-ng and reaver to crack WPA, WPA2 also packet injection functions…all works fine …. just it is a slow HDD computer… but It’s fine i still like it for having Linux OS installed on it 🙂

XDXD

Install VMware EXSi in Windows Server 2016 Hyper-V

Windows Server 2016 Hyper-V can’t run third party nested virtualization so it is just for fun and practice experience.

Windows 10
Windows Server 2016 Version 1607 Build 14393.0
VMware EXSi V6

Step 1 Create Windows Server 2016 USB
———————————————————–
You can download Evaluation Server 2016 from Microsoft website.
You can use Rufus to create your 2016 USB drive. or if you want you could try to use cmd manually create it.

1. Double-click the ISO file to mount it
2. Open CMD (as admin)and run commands
diskpart
list disk
select disk 1 –> (USB drive)
clean
create partition primary
select partition 1
active
format fs=ntfs quick label=”2016Server”
exit
3. under CMD change to ISO mount point ex: cd F:
4. then –> cd boot
bootsect /nt60 d: –> d: is your USB drive
5. xcopy F:\*.* D:\ /E /H /F –> copy windows files onto USB drive

after these steps you now have Windows Server 2016 USB Drive

Step 2 Install Windows 2016
———————————————————–
Installed 2016 on school computer and the Intel board we have doesn’t have graphic driver for server… 🙁
I also have “Missing media driver” problem…. tried to change BIOS settings and use different ISO…etc can’t work
It could be bad ISO or USB… or USB 2.0 3.0 problem my USB is 3.0 and we don’t have 3.0 port on our working computer…
so I can’t try to use 3.0 port… however I found a solution online…. so basically just unplug the usb and plug it back on DIFFERENT usb port.
and try to run “Install Now” again …… it works !! lol

Step 3 Prepare Nested VM and Inject network driver onto EXSi ISO
———————————————————–
VMWare PowerShell CLI — “The VMware PowerCLI User’s Guide provides information about installing and using the VMware PowerCLI cmdlets (pronounced “commandlets”) for managing, monitoring, automating, and handling lifecycle operations for VMware® vSphere, VMware Site Recovery Manager, vSphere Automation SDK, vCloud Director, vCloud Air, vSphere Update Manager, vRealize Operations Manager, and VMware Horizon components.”

Enable-NestedVM.ps1 – Powershell script to enable Nested Virtualization in for Hyper-V
ESXi-Customizer-PS.ps1 –Inject network driver needed for Hyper-V into EXSi ISO

1. install VMWare PowerShell CLI and restart computer
2. Powershell runs as admin and run “.\ESXi-Customizer-PS-v2.4.ps1 -v60 -vft -load net-tulip”
It will download EXSi V6 ISO and inject network driver into it

when i run this script i got “A provider is not available for the following required component service: CisCoreService” error message
but after i restart computer it works fine XD

3. Create VM in Hyper-v assign two virtual CPU to it and use legacy network card
4. run “.\Enable-NestedVm.ps1 -vmName ‘EXSi-Test 1′” to enable Nested VM function

Step 3 Install EXSi V6
———————————————————–
When first boot for installation you have to TAB to interrupt the boot process then add “ignoreHeadless=TRUE” to boot option
after you reboot the machine you also have to TAB and add “mboot.c32 -c boot.cfg ignoreHeadless=TRUE” to boot option

After done the installation and setup network settings I am able to connect to EXSi website to download vSphere client
however after we connect to the EXSi server and create VM.. when we try to start the VM it pop up an error message says
“vmware not compatible with hyper v” XDXD well it is still a fun experience

Ref: https://dscottraynsford.wordpress.com/2016/04/22/install-a-vmware-esxi-6-0-hypervisor-in-a-hyper-v-vm/