Burn iso to pen drive
Code:
dd: failed to open ‘/mnt/sdb1/’: Is a directory # # TAHRPUP 6.0.5 SiegeWorks 2016 A.P.K. # # Make file executable: # chmod +x file # # $0 shows the script that has been invoked # echo $0 >> date.txt dd if=tahr-6.0.5_PAE.iso of=/mnt/sdb1/ bs=4M; sync |
Are you creating a multi-iso boot USB drive? Normally you should put the ISO to /dev/sdb.
|
Quote:
I have been having to use Windows to do it. I want to dump Windows, but can't do so. I will try /dev/sdb. |
And you never, ever use dd (or any other command, for that matter) to write directly to a device that contains a currently mounted filesystem. Apparently the Puppy Linux ISOs are not designed to be simply copied as an image to a USB drive. That works only for specially designed hybrid ISO images. The web site http://puppylinux.org/wikka/InstallationFrugal has complete instructions for doing that.
|
You are right.
I did so when the pen drive was unmounted. It resulted in their being no partition table and could not boot from the pen drive. Looks like I have to keep Windows around for a while. I use Universal USB Installer in Windows. As advanced as Linux is, it's amazing that they have nothing to write ISOs to pen drives. Puppy Linux only lets you install Puppy to a pen drive. The problem with frugal installations are that the .sfs files are very slow to load and save. I use a full partition installation. |
That's strange. I was about to take back everything I said, because I downloaded tahr-6.0-CE_PAE.iso, copied it to a USB flash drive with "dd if=tahr-6.0-CE_PAE.iso of=/dev/sde bs=32k", and tahrpup 6.0 booted just fine from that drive, both in a VM and in my laptop. Looking at that drive with fdisk on another machine, I see
Code:
Disk /dev/sde: 16.0 GB, 16039018496 bytes |
I will try it again using bs=32k.
|
The block size should make no difference whatsoever. That's just an arbitrary number, big enough to give better I/O efficiency than the dd's default block size of 512 bytes. You could use "bs=143" and still get the same result, just with the kernel doing a lot more work.
|
It still isn't working.
Even tried a different brand of flash drive. No big deal. :-) |
so what did you want to achieve exactly? A bootable iso may or may not work on an usb (that means you will not be able to boot the iso image - of a cd/dvd from an usb stick). That depends on how do you write it on the usb stick.
Also dd to /dev/sdb1 and /dev/sdb are different. |
Windows is able to take any iso and make a boot-able flash drive.
Works every time. Was hoping Linux could do the same. |
windows is not able to do that, you can find programs written for windows which will do things, but also you may find similar programs for linux too.
You still did not answer what do you need.... |
Hey,
I went into similar problems and finally I found this: https://wiki.ubuntuusers.de/MultiSystem/ You can easily add isos, as many as you want reboot and have a boot loader with all your isos. Links to common live cds are included as well. This tutorial is in german and I didn't find the english version. You have to download the multisystem.sh plus installing some other packages and then just execute it and it asks you what isos you want to add. official homepage (french): http://liveusb.info/ |
Quote:
I will use an actual example. Using Universal USB Installer in Windows XP, I installed tahr-6.0.5_PAE.iso to a 4 Gb Verbatim flash drive. It is a fully bootable Puppy installation that runs in RAM. Have a great evening. I am tired. |
you do not understand what I wrote: windows itself does not do that, just a program named Universal USB Installer. And you will be able to find similar tools for unix too, just you need to explain what do you really want to achieve. dd is not the right one.
|
All times are GMT -5. The time now is 09:48 PM. |