Skip to content

Instantly share code, notes, and snippets.

@DevWellington
Last active August 29, 2015 14:11
Show Gist options
  • Select an option

  • Save DevWellington/0edfe9bb461d9fa2c0a8 to your computer and use it in GitHub Desktop.

Select an option

Save DevWellington/0edfe9bb461d9fa2c0a8 to your computer and use it in GitHub Desktop.
Criando um boot no usb com Ubuntu
#Criando um boot no usb com Ubuntu
## Comando 1
ll /media/[username]/
total 28
drwxr-x---+ 4 root root 4096 Dez 8 19:37 ./
drwxr-xr-x 3 root root 4096 Out 16 20:33 ../
drwx------ 1 devwellington devwellington 16384 Out 28 22:26 66DCFC30DCFBF7DF/
drwxr-xr-x 24 root root 4096 Fev 2 2013 e671ed6a-cce9-4ae0-9c89-983615d38ae0/
## Comando 2
ll /dev/disk/by-uuid/
total 0
drwxr-xr-x 2 root root 120 Dez 8 19:37 ./
drwxr-xr-x 6 root root 120 Dez 8 19:37 ../
lrwxrwxrwx 1 root root 10 Dez 8 15:17 5f107f6a-ff28-49e9-aa59-1f84438e82ff -> ../../sda1
lrwxrwxrwx 1 root root 10 Dez 8 15:17 66DCFC30DCFBF7DF -> ../../sda3
lrwxrwxrwx 1 root root 10 Dez 8 15:17 E482F56982F5411A -> ../../sda2
lrwxrwxrwx 1 root root 10 Dez 8 19:37 e671ed6a-cce9-4ae0-9c89-983615d38ae0 -> ../../sdb1
`
OR
ll /dev/disk/by-id/
total 0
drwxr-xr-x 2 root root 240 Dez 8 19:53 ./
drwxr-xr-x 6 root root 120 Dez 8 19:37 ../
lrwxrwxrwx 1 root root 9 Dez 8 15:17 ata-ST9320325AS_6VE6VAWP -> ../../sda
lrwxrwxrwx 1 root root 10 Dez 8 19:51 ata-ST9320325AS_6VE6VAWP-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Dez 8 19:51 ata-ST9320325AS_6VE6VAWP-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Dez 8 19:46 ata-ST9320325AS_6VE6VAWP-part3 -> ../../sda3
lrwxrwxrwx 1 root root 9 Dez 8 15:17 ata-TSSTcorp_DVD+_-RW_TS-L633J_R8126GGB529000 -> ../../sr0
lrwxrwxrwx 1 root root 9 Dez 8 19:53 usb-Kingston_DT_101_II_001372982EE3BA5126050D57-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 9 Dez 8 15:17 wwn-0x5000c50022a3aab7 -> ../../sda
lrwxrwxrwx 1 root root 10 Dez 8 19:51 wwn-0x5000c50022a3aab7-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Dez 8 19:51 wwn-0x5000c50022a3aab7-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Dez 8 19:46 wwn-0x5000c50022a3aab7-part3 -> ../../sda3
##Criar a "vm"
VBoxManage internalcommands createrawvmdk -filename /home/[username]/VirtualBox\ VMs/usb.vmdk -rawdisk /dev/sdb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment