Uploaded August 2020 | Updated November 2026, 3 hours ago
While using mbr2gpt for a conversion from MBR partitioning scheme to GPT partitioning scheme, a common error is:
"Could not find OS partition(s) for disk 0"
In this video, I'll show you a potential reason for this error and a resolution for the problem, using bcdedit.
While using mbr2gpt for a conversion from MBR partitioning scheme to GPT partitioning scheme, a common error is:
"Could not find OS partition(s) for disk 0"
In this video, I'll show you a potential reason for this error and a resolution for the problem, using bcdedit.


![CloudStack 4.0.2 Installation on CentOS 6.4
This is a demo of installation of CloudStack 4.0.2 on CentOS 6.4 with Management Server and Host on the same Machine.
Watch in 1080p or 720p for full clarity.
Most of my steps are form the quick install guide : http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/pdf/Quick_Install_Guide/Apache_CloudStack-4.0.2-Quick_Install_Guide-en-US.pdf
For detailed steps, visit: http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/pdf/Installation_Guide/Apache_CloudStack-4.0.2-Release_Notes-en-US.pdf
The following steps were performed in a subnet of 10.3.3.0/24
CLOUDSTACK 4.0.2 INSTALLATION GUIDE CENTOS 6.4 x86_64
Refer: http://www.youtube.com/watch?v=Fxn195...
1. edit /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
HWADDR=52:54:00:B9:A6:C0 #Replace with appropriate MAC-ID
NM_CONTROLLED=no
ONBOOT=yes
BOOTPROTO=none
BRIDGE=cloudbr0
2. edit /etc/sysconfig/network-scripts/ifcfg-cloudbr0
DEVICE=cloudbr0
HWADDR=52:54:00:B9:A6:C0 #Replace with appropriate MAC-ID
NM_CONTROLLED=no
ONBOOT=yes
BOOTPROTO=none
IPADDR=10.3.3.56
NETMASK=255.255.255.0
GATEWAY=10.3.3.1
DNS1=10.4.3.222
TYPE=Bridge
DELAY=0
3. chkconfig NetworkManager off
4. service NetworkManager stop
5. service network restart
6. chkconfig network on
7. edit /etc/hosts
10.3.3.56 srvr1.cloud.priv
8. service network restart
9. hostname fqdn # should return srvr1.cloud.priv
10. setenforce 0
11. edit /etc/selinux/config SELINUX=permissive
12. yum -y install ntp
13. chkconfig ntpd on
14. service ntpd start
15. edit /etc/yum.repos.d/cloudstack.repo
[cloudstack]
name=cloudstack
baseurl=http://cloudstack.apt-get.eu/rhel/4.0/
enabled=1
gpgcheck=0
16. yum install nfs-utils
17. edit /etc/exports
/mnt/hdd/export/secondary *(rw,async,no_root_squash)
/mnt/hdd/export/primary *(rw,async,no_root_squash)
18. mkdir -p /mnt/hdd/export/secondary
19. mkdir -p /mnt/hdd/export/primary
20. exportfs -a
21. edit /etc/idmapd.conf
Domain = cloud.priv
22. edit /etc/sysconfig/nfs
LOCKD_TCPPORT=32803
LOCKD_UDPPORT=32769
MOUNTD_PORT=892
RQUOTAD_PORT=875
STATD_PORT=662
STATD_OUTGOING_PORT=2020
23. /etc/sysconfig/iptables
-A INPUT -s 10.3.3.0/24 -p udp -m state state NEW -m udp dport 111 -j ACCEPT
-A INPUT -s 10.3.3.0/24 -p tcp -m state state NEW -m tcp dport 111 -j ACCEPT
-A INPUT -s 10.3.3.0/24 -p tcp -m state state NEW -m tcp dport 2049 -j ACCEPT
-A INPUT -s 10.3.3.0/24 -p tcp -m state state NEW -m tcp dport 32803 -j ACCEPT
-A INPUT -s 10.3.3.0/24 -p udp -m state state NEW -m udp dport 32769 -j ACCEPT
-A INPUT -s 10.3.3.0/24 -p tcp -m state state NEW -m tcp dport 892 -j ACCEPT
-A INPUT -s 10.3.3.0/24 -p udp -m state state NEW -m udp dport 892 -j ACCEPT
-A INPUT -s 10.3.3.0/24 -p tcp -m state state NEW -m tcp dport 875 -j ACCEPT
-A INPUT -s 10.3.3.0/24 -p udp -m state state NEW -m udp dport 875 -j ACCEPT
-A INPUT -s 10.3.3.0/24 -p tcp -m state state NEW -m tcp dport 662 -j ACCEPT
-A INPUT -s 10.3.3.0/24 -p udp -m state state NEW -m udp dport 662 -j ACCEPT
24. service iptables restart
25. service rpcbind start
26. service nfs start
27. chkconfig rpcbind on
28. chkconfig nfs on
29. yum -y install mysql-server
30. edit /etc/my.cnf under [mysqld]
innodb_rollback_on_timeout=1
innodb_lock_wait_timeout=600
max_connections=350
log-bin=mysql-bin
binlog-format = ROW
31. service mysqld start
32. service mysqld start
33. chkconfig mysqld on
34. yum -y install cloud-client
35. cloud-setup-databases cloud:password@localhost deploy-as=root
36. cloud-setup-management
37. /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install-sys-tmplt -m /mnt/hdd/export/secondary -u http://download.cloud.com/templates/a... -h kvm -F
#One can also save the template beforehand and then host it on port 443 via pythom -m SimpleHTTPServer (You might need to check your iptables for that)
38. yum -y install cloud-agent
39. edit /etc/libvirt/qemu.conf
vnc_listen=0.0.0.0
40. edit /etc/libvirt/libvirtd.conf
listen_tls = 0
listen_tcp = 1
tcp_port = 16059
auth_tcp = none
mdns_adv = 0
41. edit /etc/sysconfig/libvirtd
Uncomment the following line:
#LIBVIRTD_ARGS listen
42. service libvirtd restart
Visit http://10.3.3.56:8080/client
admin:password
Zone Config:
1. Name - Zone1
2. Public DNS 1 - 10.4.3.222
3. Public DNS 2 -
4. Internal DNS1 - 10.4.3.222
5. Internal DNS2 -
Pod Config:
1. Name - Pod1
2. Gateway - 10.3.3.1
3. Netmask - 255.255.255.0
4. Start/end reserved system IPs - 10.3.3.200-210
5. Guest gateway - 10.3.3.1
6. Guest netmask - 255.255.255.0
7. Guest start/end IP - 10.3.3.220-240
Cluster Config:
1. Name - Cluster1
2. Hypervisor - Choose KVM
1. Hostname - 10.3.3.56
2. Username - root
3. Password - iiit123
PrimaryStorage Config:
1. Name - Primary1
2. Server - 10.3.3.56
3. Path - /mnt/hdd/export/primary
SecondaryStorage Config:
1. NFS server - 10.3.3.56
2. Path - /mnt/hdd/export/secondary CloudStack 4.0.2 Installation on CentOS 6.4](https://i.ytimg.com/vi/Fxn195V3Sm4/mqdefault.jpg)
![Install ElementaryOS x64 (Freya) in UEFI Mode (Dual Boot Windows 7/8/10)
Install ElementaryOS (Freya) in UEFI Mode (Dual Boot Windows 7/8/10)
Tested on: elementaryos-0.3.2-stable-amd64.20151209.iso
Here is a list of stuff which I do in the video:
After making some space for Freya in Windows, follow:
0. Check if you have booted the installation media in UEFI mode or not.
- Fire up a terminal and type the command: [ -d /sys/firmware/efi ] && echo UEFI || echo Legacy
If it says UEFI, then continue.
If it says Legacy, then type:
sudo gdisk -l /dev/sda
If it says GPT: present and MBR: protective, then boot the installation media in UEFI mode. Otherwise, this is not the video for you.
1. Switch to Elementary OS Installer, select Language and click continue.
2. Select Something Else and click on continue.
4. Time to create some partitions.
- Select the free space and create a new partition on it of type swap area at the end of the free space.
- Select the remaining free space and create a new partition with the filesystem ext4 and mount point /
- Click on Install Now and then click continue :)
5. Choose your timezone and click on continue. Then choose your keyboard layout :)
6. Enter your account details and click on continue.
7. The installation might take some time, Ill fast forward it. :) :) :) :D
8. Click on Restart Now.
Music:
0:00-03:43
Rubix Cube by Audionautix is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/by/4.0/)
Artist: http://audionautix.com/
03:34-07:29
Italian Morning by Twin Musicom is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/by/4.0/)
Artist: http://www.twinmusicom.org/
07:30-10:04
Lasting Hope by Kevin MacLeod is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/by/4.0/)
Source: http://incompetech.com/music/royalty-free/index.html?isrc=USUAN1100178
Artist: http://incompetech.com/ Install ElementaryOS x64 (Freya) in UEFI Mode (Dual Boot Windows 7/8/10)](https://i.ytimg.com/vi/HUGWYw3t-x0/mqdefault.jpg)
![Install Fedora 23 in Legacy Mode (Dual Boot Windows 7/8/10)
This is a tiny tutorial for dual booting Fedora 23 with Windows 7/8/10 in Legacy Mode.
After creating some space in Windows, follow:
0. Check if you have booted the installation media in Legacy mode or not.
- Fire up a terminal and type the command:
[ -d /sys/firmware/efi ] && echo UEFI || echo Legacy
The output should say Legacy. If it says UEFI, the check the output for the command:
sudo gdisk -l /dev/sda
- In case it says GPT: Present, the follow: https://www.youtube.com/watch?v=gOP_FtP1e9U
- If it says MBR: Present, then reboot in Legacy mode, and then follow the tutorial.
1. Click on Install to Hard Drive
2. Select Language and click on Continue
3. Wait for sometime and then click on Installation Destination
4. Now you either click on Automatically configure partitioning and then click Done
OR:
Click on I will configure partitioning and then click on Done
5. Now you can either select a predefined partitioning scheme out of Btrfs/LVM/Standard Partitioning and then click on Click here to create them automatically
OR:
5.1 Select Standard Partition
5.2 Click on + to create a new partition and select swap as the mount point.
5.3 Click on + to create a new partition and select / as the mount point and choose the desired space to be 999999 so that this one takes up the entire remaining free space.
6. Click on Done and then click on Accept Changes
7. Click on Begin Installation
8. Click on Root Password and set the root password.
9. Click on User Creation to create a user. Tick on Make this user administrator only if you want this user to have sudo access.
Ill fast forward the installation waiting time! :)))
10. Click on Quit and then reboot to check if you are able to boot into the newly installed Fedora 23
Music: 00:00 - 06:20
Fig Leaf Times Two by Kevin MacLeod is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/by/4.0/)
Source: http://incompetech.com/music/royalty-free/index.html?isrc=USUAN1200096
Artist: http://incompetech.com/
Music: 06:21 - 12:24
Out of the Skies, Under the Earth by Chris Zabriskie is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/by/4.0/)
Source: http://chriszabriskie.com/reappear/
Artist: http://chriszabriskie.com/
Wanna support me? Visit: https://www.patreon.com/nehaljwani Install Fedora 23 in Legacy Mode (Dual Boot Windows 7/8/10)](https://i.ytimg.com/vi/HoLUI9H_nTM/mqdefault.jpg)



![WhatsApp On Ubuntu 14.04 Using Genymotion
Simple video showing how to use Genymotion to install WhatsApp on Ubuntu 14.04
Steps for Whatsapp in Ubuntu 14.04:
Step1: Download [Genymotion][1]
Step2: Download [VirtualBox][2]
Step3: `sudo dpkg -i virtualbox-4.3_4.3.12-93733~Ubuntu~raring_amd64.deb; sudo apt-get install -f`
Step4: `bash genymotion-2.2.0_x64.bin; cd genytmotion; ./genymotion`
Step5: Download image, run it and download [WhatpsApp][3] in the emulator
Step6: Register with your mobile number, youll receive a code. Enter it after 5 minutes.
Working proof till step 5: https://www.youtube.com/watch?v=MHmMDEzsJEY
[1]: https://goo.gl/TJV0Ht
[2]: http://download.virtualbox.org/virtualbox/4.3.12/virtualbox-4.3_4.3.12-93733~Ubuntu~raring_amd64.deb
[3]: http://www.whatsapp.com/android/current/WhatsApp.apk
Wanna support me? Visit: https://www.paypal.me/nehaljwani WhatsApp On Ubuntu 14.04 Using Genymotion](https://i.ytimg.com/vi/MHmMDEzsJEY/mqdefault.jpg)

