Saturday, October 4, 2014

linux - How can I tell if my USB flash drive can be made bootable?


I'd like to try out Linux Mint before deciding whether or not to install it on my laptop. I've got an ISO image that I've dd'd onto a USB flash drive (sudo dd if=~/Downloads/linuxmint-14.1-cinnamon-dvd-32bit.iso of=/media/24C4-1E16/linuxmint-14.1-cinnamon-dvd-32bit.iso oflag=direct bs=1048576) but when I reboot my machine and boot from the flash drive I get a "disk error press any key to restart".


The problem is, I can't tell if I have made the flash drive wrong or if I have gotten the wrong iso image. The iso image says "dvd" in the name of the file so it could certainly be the wrong image but I don't see any other version of linux mint to download though. So if you could point me in that direction that would be helpful.


UPDATE:


 $ sudo dd if=~/Downloads/linuxmint-14.1-cinnamon-dvd-32bit.iso of=/dev/sdb/linuxmint-14.1-cinnamon-dvd-32bit.iso oflag=direct  bs=1048576
dd: opening `/dev/sdb/linuxmint-14.1-cinnamon-dvd-32bit.iso': Not a directory

Looks like I don't need the filename in the "of=" piece


Answer



Your usb does not need to be mounted, use that:


sudo dd if=~/Downloads/linuxmint-14.1-cinnamon-dvd-32bit.iso of=/dev/sdX oflag=direct bs=1048576

Be careful with X, generally sda is your hard disk, so sdb, sdc, can be your usb drive


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...