I have a 4GB pendrive. I have installed ubuntu 14.04 into it. But, ubuntu is not booting from it. Whenever I try to boot from it, only a black screen is up. May be the bootloader is keep on searching for a valid boot source within my pendrive which does not exist at all. Please help me resolve this problem.
I followed these steps to install ubuntu into my pendrive:
I created an extended-partition covering all the 4GB.
I created two primary partitions within it.
partition one - ext4 filesystem - 3.5 GB
partition two - ext2 filesystem - rest of the total memory
I used a liveUSB to install ubuntu into my pendrive
I chose my partition one - ext4 fs for ubuntu installation with the mount point as /
I chose my partition two - ext2 fs as a swap area for the ubuntu to be installed
I then hit Install Now which did the installation, similar to an installation in HDD
Have I done anything wrong? Do I need to do more things? Help me use ubuntu from my pendrive. Thanks in advance.
Update: I tried for solutions here and here. Nothing helped. They were just stuffs related to liveUSB creation which is not my case.