Re burning liveCD on USB stick making the latter bootable
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Pendrivelinux provides simplified information to make it easy for anyone to install, boot, and run their favorite Gnu/Linux Distribution from a portable flash drive! Boot and run Linux from a USB flash memory'.
Live USB_Wiki 'A live USB is a USB flash drive or a USB external hard disk drive containing a full operating system which can be booted. Live USBs are closely related to live CDs, but typically have the ability to save settings and permanently install software packages back onto the USB device.' Links: 'system administration, data recovery method'.
Wiki includes a distribution table reference.
Use simply the /dev/sdb and be sure sdb is that flash.
This assumes you have a hybrid iso image and that you don't care about the installed size to the drive and a few other yada yada's.
I used to use the www.pendrivelinux tools and many are good. However, every distro made in the last ten or so years can be installed to a usb. I simply use the distro's installer feature and be very careful where the boot loader goes. To be safe I always chicken out and use a virtual machine for this task.
A normal iso file won't boot when copied via dd to a usb stick. Fedora and a few other distros construct their iso files in such a way as to be bootable from both cd/dvd drives and usb sticks. Not sure what that "X" is doing in your dd command; when copying a Fedora livecd iso file to a usb stick, it looks something like this:
Several years back I did many times using live CD to create bootable pendrive. No additional software was needed, only command lines and no need burning the *.iso on CD. Unfortunately I forgot the steps. I spent almost 2 days searching around my database as well as googling Internet without result.
without burning it on CD. I booted it on VM of VirtualBox without problem. I could play around the live cloud on VM. Then I ran the steps of "pendrivelinux" creating a live USB, also on the same VM. The steps went through without complaint. Unforturnately the live USB created can't boot on physical PC. I must complete this step making sure the live USB can boot a physical PC before going further to make it boot on VM. It is a different approach.
Use simply the /dev/sdb and be sure sdb is that flash."
I meant the statement ought to be fully this.
From root or use sudo
dd if=/path_to/Live_cd.iso of=/dev/sdb
I make live usb's all the time in a virtual machine. What you may be mistaking is that you need to remove the VM hard drive and install the system then to the "ATTACHED" usb flash drive. Then follow the install program.
Use simply the /dev/sdb and be sure sdb is that flash."
I meant the statement ought to be fully this.
From root or use sudo
dd if=/path_to/Live_cd.iso of=/dev/sdb
I make live usb's all the time in a virtual machine. What you may be mistaking is that you need to remove the VM hard drive and install the system then to the "ATTACHED" usb flash drive. Then follow the install program.
Hi jefro,
Tks for your advice.
I already have a live USB pendrive created according to;
The steps worked seamlessly. Now the USB pendrive can boot physical PC. However it can't boot VM. I created a raw disk to do the job, but still having a minor defect which I'm now trying to correct
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.