This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
create_live_usb [2015/05/31 20:31] – pavroo | create_live_usb [2021/05/04 13:24] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Create Live USB disk ======= | ||
+ | ---- | ||
+ | |||
===== From a Windows host ====== | ===== From a Windows host ====== | ||
- | From a Windows host/ | + | Running |
- | 1. Use LIVE MODE | + | * [[http:// |
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
- | or | + | How to write Sparkylinux iso to a pen drive on Windows host? |
- | 2. Install Sparkylinux. | + | 1. Insert |
- | + | ||
- | You can even choose to install Sparkylinux from LIVE MODE. | + | |
- | + | ||
- | LIVE MODE is exclusive to many Linux editions like Sparkylinux where you can try the Linux without installing it to the Hard Disk-HDD. If you like the Live version then you can continue to install it to the Hard Disk-hdd. Try it before you install it is what you get with live CD/DVD. | + | |
- | + | ||
- | You can also install Sparkylinux from USB Pen drive. Live mode and installation is faster if you use Pen drive and you need not buy additional disks every time you download an updated iso. | + | |
- | + | ||
- | When it comes to updated linux iso Sparkylinux is very handy. You need not download new iso every time a new Sparky version is released, why? Why because Sparkylinux is a rolling release linux distribution so once you install it, technically you can keep updating it without any re-installation. | + | |
- | + | ||
- | If you are using Windows how do you burn Linux ISO to USB? | + | |
- | + | ||
- | On Windows buring a linux iso to pen drive is not the same as burning to pen drive using windows iso on windows or burning to pen drive using a linux iso on linux. | + | |
- | + | ||
- | Simply put it'a different. Thankfully there are tools that allow you to perform this task. | + | |
- | + | ||
- | So the question is "How to write Sparkylinux iso to pen drive on Windows host?" | + | |
- | + | ||
- | To run Sparkylinux from a USB stick, the first thing you need to do is insert a USB stick with at least 2GB of free space into your PC. | + | |
- | + | ||
- | The easiest way to put Sparkylinux onto your stick is to use the USB installer provided at [[pendrivelinux.com|pendrivelinux.com]]. You’ll need to download | + | |
- | + | ||
- | [[http:// | + | |
- | + | ||
- | Select ' | + | |
{{: | {{: | ||
- | Click ' | + | 2. Click ' |
{{: | {{: | ||
- | Choose the USB drive and click ' | + | 3. Choose the USB drive and click ' |
{{: | {{: | ||
- | Now you can boot Sparkylinux from your Pen drive using Windows host. | + | Now you can boot Sparkylinux from your pen drive changing the boot order in your machine' |
+ | ---- | ||
- | ====== From a Linux host ====== | ||
- | In the Debian based linux you can use this command to know your USB-pen drive' | + | ===== From a Linux host ===== |
- | is it sdb or is it sdc or is it sde? | ||
- | Open terminal Ctrl+alt+t or open terminal from menu, any terminal will do. | + | === GUI method === |
- | Type | + | There are a few applications working with graphical interface (GUI) to make a copy of Sparky onto an USB stick. |
- | **sudo fdisk -l** | + | 1. Mintstick |
- | and then enter your " | + | Simply choose Sparky iso image from your hard drive and USB stick. |
- | and it will show your pen drive letters. | + | {{: |
- | Next step is to erase previous partition info from your usb, | + | 2. [[live_usb_creator|Live USB Creator]] - Sparky' |
- | backup | + | Choose Sparky iso image from your hard drive and USB stick. |
- | sdb is your usb or is it sdc? Check it before you go further... | + | {{: |
- | Enter the below command into terminal and make sure you change the below command with correct drive letter of your pen drive/usb. | + | 3. Unetbootin - available in most Linux distributions. |
- | **sudo dd if=/ | + | {{: |
- | Then unmount your pendrive or usb | + | ---- |
- | A USB key device, assuming that it had been mounted in the directory /mnt/usb, would be unmounted with the following: | + | === CLI method === |
- | **umount /mnt/usb** | + | On a Linux host you can copy the iso image in text mode using **dd** command. |
- | Or you can open a file manager and unmount the pendrive by right clicking on the left pane where the usb drive is displayed. | + | As the first, |
- | Format it to FAT32 using this command, use correct letter, is it sdb or is it sdc or sde? | + | It can be: **sdb**, **sdc**, **sde**, etc. |
- | **sudo mkfs.vfat -n '' | + | Open a terminal and type: |
+ | sudo fdisk -l | ||
- | Now you can use Sparky' | + | and then enter your password. |
- | If gparted application | + | This is only an example, which shows: |
+ | * sda - a hard drive | ||
- | a command in terminal | + | / |
+ | / | ||
+ | / | ||
- | **sudo apt-get install gparted** | + | * sdb - usb pen drive (FAT32 file system) |
- | Open gparted | + | / |
- | gparted | + | Next step is to erase previous partition info from your usb, so backup your data before formatting your pen drive. |
- | Now use Sparky' | + | Unmount your pen drive: |
- | If you don't have USB format application you can use the " dd " commands mentioned above, install gparted and use it and perform installation. | + | |
- | If you don't have USB image writer application then you can use " dd " command | + | Format it to FAT32 file system: |
- | It is really simple. Go to a Terminal and type: | + | sudo mkfs.vfat /dev/sdb |
- | + | ||
- | **sudo dd if=~/ | + | Now copy Sparky |
- | Where '~/ | + | sudo dd if=~/ |
- | If you don't know about the target USB drive path, run this command and figure out your destination | + | Where: |
- | + | | |
- | **sudo fdisk -l** | + | * '/ |
+ | | ||
Warning: Make sure to set the correct device path, as this process will delete all data that was on the specified device previously! | Warning: Make sure to set the correct device path, as this process will delete all data that was on the specified device previously! | ||
- | Remember, don't include an integer for the USB drive, e.g. '/dev/sdx1', as it would refer to the existing partition on that drive and not the drive itself. | + | Remember, don't include an integer for the USB drive, e.g. '/dev/sdb1', as it would refer to the existing partition on that drive and not the drive itself. |
- | + | ||
- | When the USB has been properly created by ' | + | |
- | + | ||
- | **sudo dd if=~/ | + | |
- | + | ||
- | + | ||
- | 706+1 records in | + | |
- | 706+1 records out | + | When the Live USB has been properly created by **dd**, there should be an output similar to this: |
+ | sudo dd if=~/ | ||
+ | 706+1 records in | ||
+ | 706+1 records out | ||
+ | | ||
- | 740601856 bytes (741 MB) copied, 91.7024 s, 8.1 MB/s | + | ---- |
+ | <WRAP center box 100%> | ||
+ | |[[burn_iso|< | ||
+ | </ |