[SOLVED] Installing debian Wheezy from USB stick instructions from the manual not clear
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.
Installing debian Wheezy from USB stick instructions from the manual not clear
I have read the instructions on how to install from USB stick and downloaded the required files:
boot.img
initrd
vmlinuz
debian-7.1.0-i386-CD-1.iso
I do not really understand what is asked from me to do with these files as the commands they are listed in the pdf file manual are not working and I do not understand them completely.
I inserted my USB stick (which is 4GB) in the computer and it shows in the Dolphin as a media device and I can copy files on it, but what do I copy on it and what is that mount / unmount talking in the instructions I do not understand.
What comands do I have to use exactly after I have the stick inserted to get the files in order so I can make my USB bootable?
If you're doing this from a linux box, the easy way is:
Code:
lsblk
to determine what your USB device is, but do not mount it.
Code:
dd if=<image> of=/dev/<your USB drive>
The debian image is hybrid and this is all that's actually required. You can specify a blocksize if you choose, it can speed up the copy, but it's not needed.
I'm not on a linux box at the moment, but I thought lsblk was in /usr/bin...might be in sbin though, in which case you'd need to become root before being able to use the command.
When doing the dd command <image> means the name of the image, and <your usb drive> means the name of your drive.
so if your image was named image.iso and your USB drive was /dev/sdb, you'd type dd if=image.iso of=/dev/sdb.
Sorry for repeating myself but I have 4 files downloaded to a linux computer and they are on the desktop. I want to install debian Wheezy on another computer from a USB. What do I do with those 4 files mentioned above? just copy them on the USB stick? I don't think that would be enough... the command you gave me dd... is that what makes the USB bootabe? I just need to know what to do with those 4 files ... what commands I use to make that damn USB bootable?
dd writes the iso file directly to the USB drive. The iso file is a hybrid iso, it requires NOTHING ELSE to be done to the usb drive after it is written to the drive. It will overwrite the boot record and will become bootable. The other 3 files are completely unnecessary for modern Debian images.
Thank you for your explanation. It clarifies the issue of having 4 files. One more question, I do not know which /dev/sd? my USB stick is. It appears in Dolphin as /media/USB-KEY1 and maybe it is mounted already? I have tried your command like this:
dd if=/home/children/Desktop/Linux/debian-7.1.0-i386-CD-1.iso of=/dev/sdX
dd: writing to `/dev/sdX': No space left on device
1016065+0 records in
1016064+0 records out
520224768 bytes (520 MB) copied, 7.39842 s, 70.3 MB/s
but actually i didn't see anything copied on my USB stick (it remained as before the command was executed)
Thank you for your explanation. It clarifies the issue of having 4 files. One more question, I do not know which /dev/sd? my USB stick is. It appears in Dolphin as /media/USB-KEY1 and maybe it is mounted already? I have tried your command like this:
dd if=/home/children/Desktop/Linux/debian-7.1.0-i386-CD-1.iso of=/dev/sdX
dd: writing to `/dev/sdX': No space left on device
1016065+0 records in
1016064+0 records out
520224768 bytes (520 MB) copied, 7.39842 s, 70.3 MB/s
but actually i didn't see anything copied on my USB stick (it remained as before the command was executed)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.