News for hackers. Stuff that matters.
Re:DebianDog – A small Debian Live CD by unicornporn on Saturday September 10, 2016 @07:17PM (#12471328)
Looks awesome. But who really uses a CD for live distros in this day and age? A flash drive would be more apt example. This made me think about how traditionalist large parts of the linux community is. :)
Re:DebianDog – A small Debian Live CD by Lagged2Death on Saturday September 10, 2016 @08:39PM (#12471544)
I'm a Linux noob, I've played around with some live CDs. The other day I tried to set up a flash drive to work the same way as a live CD. I did get it working eventually, but it was a surprisingly bad experience. Some of the flash drives I created didn't work at all, one of them booted a couple times, then stopped working, the boot process would vary from one boot to the next, etc. In my experience, live CDs "just work" in comparison.
Re:DebianDog – A small Debian Live CD by stryk on Saturday September 10, 2016 @09:45PM (#12471691)
It's really super easy. If you're creating the bootable USB stick on a Windows machine, use RUFUS ( https://rufus.akeo.ie/ ). It's about as straight-forward and noob-friendly as it gets. A single window, options in plain English. If you're creating the bootable USB stick from a Linux machine, use Etcher ( https://www.etcher.io/ ). Also very user friendly and simple. It's even distributed as a downloadable .AppImage file, so it's a double-click install on most distros. On Mac OSX - sorry, no idea, haven't used one since Apple IIe's in middle school, but I'm sure there is something similar out there for OSX (and if nothing else, you could probably get dd working in a terminal if you had to) EDIT: Forgot to mention that RUFUS on Windows will automatically detect which versions of syslinux (the low-level booty-BIOS-y stuff) the .ISO that you select uses, and sets itself up accordingly. It can even use a newer version of syslinux if the one supplied in the .ISO is outdated. Really solid software.
Re:DebianDog – A small Debian Live CD by j_s on Saturday September 10, 2016 @11:32PM (#12471883)
RUFUS is fast but Yumi is best if you want a swiss-army-knife style bootable USB stick with multiple images to choose from, including Windows install DVD images. It also supports setup on an existing USB stick you don't want to completely wipe.

http://www.pendrivelinux.com/yumi-multiboot-usb-creator/

http://AlternativeTo.net pulled up UNetBootin as a cross-platform alternative.

http://unetbootin.github.io/

Re:DebianDog – A small Debian Live CD by voltagex_ on Sunday September 11, 2016 @12:10AM (#12471957)
UNetBootin seemed to break a lot of images back a few years ago when I used it. Rufus actually scans the image and makes sure it's using the correct bootloader / filesystem type.
Re:DebianDog – A small Debian Live CD by quesera on Sunday September 11, 2016 @02:01AM (#12472188)
On macOS (and Linux etc) you can write images to USB drives using dd, cp, or even cat.

If you prefer a GUI, Etcher is cross-platform.

Re:DebianDog – A small Debian Live CD by Lagged2Death on Sunday September 11, 2016 @09:14AM (#12473191)
Thanks for the tip, but Rufus was one of three programs I tried, and it created a couple of duds (and a working stick) for me.

I suspect that the paradigm of bootable flash drives simply leaves more variables uncontrolled than write-once disks do.

Re:DebianDog – A small Debian Live CD by solotronics on Sunday September 11, 2016 @01:13AM (#12472091)
my goto method is to use dd to format the USB with an ISO. it is a one step process. do not set 'of' to one of your hard drives.

# if=input_file, of=output_file, bs=block_size

dd bs=4M if=/path/to/fedora.iso of=/dev/sdx status=progress && sync

Re:DebianDog – A small Debian Live CD by quesera on Sunday September 11, 2016 @02:08AM (#12472208)
I've used dd forever, but nowadays these also work equally well (same speed and reliability):

    cp fedora.iso /dev/sdx
    cat fedora.iso > /dev/sdx
I wish I knew what changed. Smarter block sizes? Something about the raw device or ioctl?
Re:DebianDog – A small Debian Live CD by voidz on Sunday September 11, 2016 @02:12PM (#12474716)
They're both faster because they don't read and write block by block. Why people keep recommending dd for stuff like this, I don't have a clue.
Re:DebianDog – A small Debian Live CD by kylegordon on Saturday September 10, 2016 @07:24PM (#12471355)
In normal Debian fashion, it's a hybrid image that can be dd'ed to either CD or USB.
Re:DebianDog – A small Debian Live CD by dragonbonheur on Saturday September 10, 2016 @07:25PM (#12471357)
There are tools like Linux Live USB creator to put ISOs on USB flash drives. http://www.linuxliveusb.com/
Re:DebianDog – A small Debian Live CD by khedoros on Sunday September 11, 2016 @03:49AM (#12472416)
Me, every time I do an install. I've got a ton of DVDs left around. I've had USB devices designated as OS install devices, but those always end up repurposed or given away in the months/years between OS installs...but I don't have much other use for the DVDs anymore, so they're always available.
Re:DebianDog – A small Debian Live CD by nxzero on Saturday September 10, 2016 @07:22PM (#12471346)
One reason is that it's surprisingly hard to find a cheap flash drives that use hardware enforced read-only access.
Re:DebianDog – A small Debian Live CD by teach on Saturday September 10, 2016 @07:39PM (#12471398)
Is this desirable? Why would one care if your live CD is able to write to the flash if it were to try?
Re:DebianDog – A small Debian Live CD by mjevans on Saturday September 10, 2016 @07:43PM (#12471409)
Yes, it is, if you want to trust that using your bootable media in a hostile system will not infect it with some firmware level nastyness.

Yeah... BIOSes are attack vectors too.

Re:DebianDog – A small Debian Live CD by nxzero on Saturday September 10, 2016 @07:51PM (#12471427)
Security reasons. If you boot in a hostile environment you don't have to worry about anything attacking you, hiding in free space, etc.

Of course, this assumes the firmware is secured too; aka Bad USB.

An OS read from a CD player that's read-only won't have this issue; that said, even if the CD is burned and all the free space too, it's likely you could introduce an exploit onto the CD by editing the encoding already on the CD by putting it in a CD player that's able to read & write to it and override the read-only flag on the CD.

Re:DebianDog – A small Debian Live CD by keithpeter on Sunday September 11, 2016 @04:54AM (#12472552)
I keep copy of clonezilla on a CD along with my Slackware DVD and an old Ubuntu live DVD. Just in case as emergency tools.

For messing around with random distros I just use a USB stick.

Re:DebianDog – A small Debian Live CD by lgp171188 on Sunday September 11, 2016 @10:11AM (#12473419)
I use DriveDroid (http://softwarebakery.com/projects/drivedroid) on my rooted OnePlus One running CM 13. Very easy and convenient.