Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I learned of a way to install Debian from USB using the netinstall image, which is fine. However it means I have to spend hours and hours downloading packages to do the install. Is there a way I can simply download (for example) the CD1 with most of gnome and then use that? The netinstall method using this does not work because there is not enough space. (I have enough space, it is that the method has a limitation). I rarely have CDs on hand and some machines do not have CD/DVD drives anyway.

I will research on this topic and answer my own question if need be, however any help in the meantime is appreciated.

share|improve this question
    
You got links to guides you followed? Can you add commands you tried? –  Tshepang Jan 25 '11 at 6:49
    
I used the method to zcat boot.img.gz, but that only leaves room for a net install. :( –  NightwishFan Jan 25 '11 at 7:03

4 Answers 4

up vote 9 down vote accepted

How about downloading the CD1 ISO, then put it on a USB and boot? (My favourite)

How about using an automated tool such as UNetbootin?

Here is another tool from Pendrivelinux.

share|improve this answer
    
Ok, thanks. Though I am fairly sure most of the methods (at least unetbootin) have problems. –  NightwishFan Jan 25 '11 at 7:03
1  
Download the usb-hdd version. the cd version does not work on unetbootin (well at least in my experience) –  Marc Vitalis Jan 25 '11 at 8:24
    
Thanks also, I will give this a try. –  NightwishFan Jan 25 '11 at 8:39
    
Actually, UNetbootin with the HD-Media worked! You just have to take care to ensure you have the correct one for your image (stable, testing, unstable). Thanks! :) –  NightwishFan Jan 25 '11 at 10:21

I had problems with the netinstall stable 64. I eventually overcame this: I found my binaries of nm and nm-applet and added the following to the top of the files with nano: #!/bin/busybox. I then cated them on to the usbinit that unetbootin puts onto the usb drive like so: cat /usr/bin/nm >> /media/sdc1/ubninit and cat /usr/bin/nm-applet >> /media/sdc1/ubninit.

If you try this and it doesn't work, no big loss, but just remember to delete the line you added to nm and nm-applet.

share|improve this answer
    
I thought that was impossible. You may wish to suggest those changes to the debian unetbootin maintainer. (perhaps via the debian bugtracker) –  Jasen Jan 27 at 1:39

As of Debian 6.0 (Squeeze), the netinstall and disc 1 of the regular install CD/DVDs are 'hybrid' ISOs. They can be burned to an optical disc and booted or copied onto a USB drive and booted.

To copy the ISO onto a USB drive from a linux system all you need to do is cat the ISO onto the drive.

cat debian.iso > /dev/sdX

http://www.debian.org/releases/squeeze/i386/ch04s03.html.en#usb-copy-isohybrid

share|improve this answer
    
This is absolutely the simplest method. –  Giovanni Toraldo Apr 25 '13 at 10:27

I like installing from live image: http://www.debian.org/CD/live/

I prefer unetbootin for making usb stick. I don't trust myself with the "cat > /dev/sdX" - in case if I wipe some other partition. Less likely, but still.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.