Menu

Creating Live USB using dd and partitioning.

Denis
2015-11-05
2015-12-19
  • Denis

    Denis - 2015-11-05

    Good day!

    I have not found how to create Live USB stick using dd program.
    Can I use this command:
    sudo dd if=~/Desktop/linuxmint.iso of=/dev/sdx oflag=direct bs=1048576
    Where '~/Desktop/linuxmint.iso' is the name and location of your downloaded image
    Or better to use this:
    sudo dd if=path_to_iso of=path_to_usbstick bs=4M && sync
    I have read dd --help but I cannot clearly understand what does sync command do.

    Another question is about partitioning. My old Linux Mint suddenly stopped to boot. I have read in forums, to avoid this in feature, you should make separate /boot partition.
    So, I have made this partitioning:
    http://imgur.com/77cfKaz
    http://imgur.com/aDKcsBZ
    All partitions are primary.
    Can I use this partitioning safely to install Q4OS? And can I make /boot partition size 512MB?

     
  • Q4OS Team

    Q4OS Team - 2015-11-05

    You don't need to use 'dd', the easiest way is to use 'cp' command:
    $ sudo cp ~/Desktop/linuxmint.iso /dev/sdb
    where sdb is your USB drive.

    Yes, you can use this partitioning to install Q4OS even with 512MB '/boot', however it could be significantly smaller, for ex. 100MB.

     

    Last edit: Q4OS Team 2015-11-05
  • Denis

    Denis - 2015-11-05

    Thank you! Simply I am learning how to use some dd functions such as copying Linux iso files and secure disk wiping. Also it is better to use Live USB stick than Live CD.
    But the main purpose I prefer dd is because it creates Hidden HPFS/NTFS file system, so I cannot accidently delete or damage some files on my Live USB stick.

    Update: Found this command in https://www.debian.org/CD/faq/index.en.html
    dd if=<file> of=<device> bs=4M; sync
    Can I use this command safely for creating my Live USB stick? Using cp is good but I prefer dd.

     

    Last edit: Denis 2015-11-05
  • Q4OS Team

    Q4OS Team - 2015-11-05

    The above 'dd' command is safe to create Live USB, be sure it will rewrite data on your device.

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.