LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-06-2010, 06:12 AM   #1
Vilius
Member
 
Registered: Jan 2006
Location: Lithuania
Distribution: Arch, Debian
Posts: 193

Rep: Reputation: 16
USB stick install question ?


Hello,

I was reading debian docs how to install using usb stick(Installation guide 4.3.2.2).
One thing is not clear to me:

At first I install syslinux and copy vmlinuz and initrd.gz files to fat16 filesystem. Lets say that my stick boots debian installer with no problem now.
How do I copy all other installation files:
1. I copy whole iso CD image file to my stick and point iso file location to debian setup.
or
2. I extract iso contents to usb stick filesystem ?

thanks
Vilius

Last edited by Vilius; 05-06-2010 at 06:14 AM.
 
Old 05-06-2010, 06:42 AM   #2
giammy
Member
 
Registered: Feb 2010
Posts: 36

Rep: Reputation: 20
hi,

usually you put the iso image on the stick: I never did this by hand - I'm too lazy :-)
I usually use Unetbootin.

(By the way, a good way to see the structure, is to create a usb stick with
Unetbootin and then look how it is build!)

bye
giammy
 
Old 05-06-2010, 07:14 AM   #3
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,887
Blog Entries: 28

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
4.3.*Preparing Files for USB Memory Stick Booting - http://www.debian.org/releases/stabl...h04s03.html.en
4.3.1. Copying the files — the easy way
Code:
There is an all-in-one file hd-media/boot.img.gz which contains all the installer files (including the kernel) as well as syslinux and its configuration file. 

Note that, although convenient, this method does have one major disadvantage: the logical size of the device will be limited to 256 MB, even if the capacity of the USB stick is larger. You will need to repartition the USB stick and create new file systems to get its full capacity back if you ever want to use it for some different purpose. A second disadvantage is that you cannot copy a full CD image onto the USB stick, but only the smaller businesscard or netinst CD images.

To use this image simply extract it directly to your USB stick:

# zcat boot.img.gz > /dev/sdX
http://http.us.debian.org/debian/dis...mages/MANIFEST
hd-media/boot.img.gz -- 256 mb image (compressed) for USB memory stick is the one you want

http://http.us.debian.org/debian/dis...ia/boot.img.gz
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cloning USB stick question Packrat1947 Linux - Newbie 7 12-05-2009 06:11 AM
Install packages from USB-stick? Linuxkundi Debian 1 02-18-2009 02:25 AM
may install from cdrom to USB FLASH DRIVE(to get it a USB stick bootable) the ubuntu lse123 Linux - Newbie 5 01-02-2009 04:56 PM
install to usb stick themanwhowas Linux - General 1 06-20-2008 06:18 PM
Install from USB Stick araldit Linux - Newbie 2 05-21-2004 12:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration