Ubuntu: Fixing USB Drive & Installing Archbang



Question:

I'd like to install Archbang on top of my Ubuntu installation. To do this, I reduced my Sda5 LVM partition by 100Mb, planning on being able to add a new partition in there. This is where I hit a brick wall; not knowing what to do.

From there, I tried to install Archbang onto my USB using Startup Disk Creator software, provided with Ubuntu. Somehow, while wiping this USB, it removed all partitions, and is now only visible to the 'Disks' program. When trying to add a single partition onto it, it gives me this error message.

TLDR: I want to create a 100Gb partition to install Archbang on on my Ubuntu 15.04 PC. I also want to make an Archbang live USB to do this. Being the incompotent mess I am, I've made this clusterf***. Any help is greatly appreciated.


Solution:1

As long as you are using and Arch Linux derivative I suggest you check out the Arch wiki. The USB flash installation page is really helpful for creating bootable USB drives (it works for any ISO files). I follow the "Using dd" section. The command you use would be something to the effect of

sudo dd bs=4M if=/path/to/archbang.iso of=/dev/sdX && sync  

X is whatever your flash drive letter is from running `lsblk

for me lsblk outputs

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT  sda      3:0    0 465.8G  0 disk   â"œâ"€sda1   3:1    0   100M  0 part /boot/efi  â"œâ"€sda2   3:2    0 410.9G  0 part /  â""â"€sda3   3:3    0   6.9G  0 part [SWAP]  sdb      8:16   1   1.9G  0 disk   â"œâ"€sdb1   8:17   1   657M  0 part /media/user/ARCH_201508  â""â"€sdb2   8:18   1    31M  0 part   

So my flash drive is /dev/sdb


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »