Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
You might say WHAT ISO image it is you're trying to write?
How you've tried to write it?
The more details you provide, the more likely someone will be able to help you. Given an ISO image is generally a complete disk image, then I would have thought the ISO image would include whatever partitions there are to be made.
Have you followed any instructions? If so, which ones?
Usually, when I write an ISO image (in this case ISO image of Slackware to USB on an UBUNTU machine), i do sudo fdisk -l. Get the partition. Then format the USB to fat32 with mkdosfs -F 32 -I /dev/sdbX (x being whatever partition number, usually sdb1). Then use sudo dd if=(path to iso image) of=/dev/sdb1 (or whatever partition).
ah that was my dumb error. Thanks. I still am unable to format the USB to fat32. It seems to be an issue due to the partition. I used:
sudo mkdosfs -F 32 -I /dev/sdb (I believe here I would use sdb1). My results were
mkfs.fat 4.1 (2017-01-24)
attribute "partition" not found
The way I've always done it manually is first using fdisk -l to find the path to the usb. Then formatting the USB to fat32 with the above command. After that is when I use the dd command. Ive tried a few times today to skip formatting to fat32, but seems like the data is now being written to the USB.
Yea I always run lsblk as well to make sure the device is what I think it is. I previously thought the USB stick was mounted on /dev/sdb actually though was mounted on /dev/sdc.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
There is no need to format the drive at all before dding the image onto it -- any file system will be lost when you dd the image anyhow. You likely read a guide written by a Windows user or similar.
I will have to keep playing around with it. I've tried several USBs'. For some reason it doesn't become bootable after using dd and rebooting. I've also tried on another machine. Very odd. Maybe ill stumble over something silly that is being overlooked.
I am just trying to get ISO image on the USB to boot up slackware and install. I even tried unetbootin, but still no go. Not sure if somehow, I corrupted my USB or if its something else.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.