Posts

Showing posts from October, 2015

Creating USB installed Ubuntu bootable in both UEFI and legacy BIOS mode

Resouces the instruction that I am following GPartd tutorial My notes on the steps Step A: Format the USB stick as required. Boot GPartd. Select the USB stick. If there is a key icon next to any partitions of the stick, unmount the USB stick from either the Linux system or GPartd. Select Partition, then Create new partition. Use the default DOS-favor of partition table. Create the first FAT32 partition of size 1-2GB, with label usb-live at the front. Confirm and make the change before you can right click, select "Manage flag" and make it bootable. Use the remaining space to create a extended partition. From within create the ext4 partition with label usb-installed, and then linux-swap. Note the order is important. The ext4 partition will then move to partition 6 rather than partition 5 if you reverse the order. Step B Straightforward Step C Make sure you detach all the other disks of your PC before booting using the USB. If you come across error when usi

Convert format, resize vdi and set uuid of virtual disks in VirtualBox

Convert format: VBoxManage clonehd source.vdi target.vmdk --format VMDK Resize vdi: VBoxManage modifyhd YOUR_HARD_DISK.vdi --resize SIZE_IN_MB   Set harddisk uuid: vboxmanage internalcommands sethduuid "Windows 8.1 Pro.vdi" f8acb710-46c9-4d77-b7d3-52a1845d06c7

Set custom time for VirtualBox virtual machines

Open VirtualBox and identify the name of the virtual machine that you want to work on. Go to the VirtualBox executable page (In Windows, it is usually C:\Program Files\Oracle\VirtualBox). Run the following command to stop the VM to sync its clock with the host. VBoxManage setextradata "My Virtual Machine" "VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled" 1 Use the following command to set the time offset between the host and the guest. A positive value will set the time of the virtual machine ahead of the host. BoxManage modifyvm "VM name" --biossystemtimeoffset Reference