LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How create bootstick from ISO image (https://www.linuxquestions.org/questions/linux-newbie-8/how-create-bootstick-from-iso-image-856530/)

dafydil 01-15-2011 03:07 PM

How create bootstick from ISO image
 
(I tried to post this earlier and it got lost.) I have a Ubuntu ISO image that I downloaded with Slackware, the only system I have. Ubuntu does not tell how to make a bootstick using anything but Windows,Mac, and Ubuntu. I tried "dd if=...ubuntu... of=/dev/sdb bs=512" and it did not put anything on the stick. Is there a procedure for making such a thing?

newbeeman 01-15-2011 03:16 PM

I would suggest you transfer the file to your machine, then copy to your stick.
Ubuntu live CD is bootable. So you would have to set your bios to boot from USB. Then I would suggest a re-boot, then it should install from the USB.
Seems a long way round when you can boot from the CD!
Perhaps more knowledgeable folks might correct me?

jmszr 01-15-2011 03:27 PM

dafydil,

UNetbootin: http://unetbootin.sourceforge.net/#introduction should work for you. Here is a similar tutorial:http://www.pendrivelinux.com/using-u...Drive+Linux%29

Hope that helps.

xandercage17 01-15-2011 03:49 PM

Delete My account

linus72 01-15-2011 04:39 PM

easiest advise is to install unetbootin from Salix repo, along with depends qt4 and p7zip
http://download.salixos.org/i486/current/salix/xap/

use Unetbootin to install iso to usb-hdd

then, if you want persistent usb you need to manually make either a caper-rw persistent file or a ext3 formatted partition labeled "casper-rw"
instructions here
https://help.ubuntu.com/community/LiveCD/Persistence

note it's best to use a big ext3 partition rather than a (i think) restricted-to-4gb casper-rw file

you could also forget Unetbootin and mount and copy iso to usb, install syslinux and then create persistent file/partition

assuming usb is sdb1 and mounted on /media/disk and iso is named ubuntu.iso
assuming iso is in /home/Desktop

Code:

cd /home/Desktop
su + password
mkdir isotmp
mount ubuntu.iso isotmp
cp -r isotmp/* /media/disk
cp -r isotmp/.disk /media/disk
umount isotmp
syslinux /dev/sdb1


dafydil 01-15-2011 05:10 PM

Current status: I am groping at this. Newbeeman, I failed to understand your comment. The ISO file is on my machine; copying to the stick is what I need to do. Jmszr, I tried as you suggested. It failed to write anything on the stick; maybe that was because I lacked the p7zip; but it thought it had done it. Xandercage, trying to make a CD first seems sensible, but I may next try the lengthier suggestion from linus72

xandercage17 01-16-2011 10:06 AM

Delete My account

dafydil 01-16-2011 02:04 PM

[Solved.] I did as Xandercage suggested and made a bootable disk. I have a disk drive, after all, and might as well use it. (A netbook user could not do this, and might need the further suggestions of linus72.) I have therefore marked this as solved, though I did not create a bootable stick. Xandercage, I needed a DVD: CD's are only 700MB and the Ubuntu 10.10 ISO image was larger. To make the disk with Slackware called only for inserting the disk and the command: "growisofs -speed=2 -dvd-compat -Z /dev/hda=ISO-pathname...".

newbeeman 01-17-2011 08:52 AM

Quote:

Originally Posted by dafydil (Post 4225549)
Current status: I am groping at this. Newbeeman, I failed to understand your comment.

Perhaps we are talking of cross purposes here but I believe what you wanted to do was this? If not, not to worry!
http://www.ehow.com/how_7337879_make-usb-boot-cd.html


All times are GMT -5. The time now is 06:14 AM.