LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-13-2004, 08:50 AM   #1
pudhiyavan
Member
 
Registered: Oct 2003
Location: Linux world
Distribution: redhat,mandy,centos,debian,ubuntu
Posts: 209

Rep: Reputation: 30
Question Booting thru USB stick


Hi mates

good to C all u guys again.
okay

i am trying the feather linux on my usb stick 256 MB, basd on their documents i tried doing

dd if=bootusb.img of=/dev/sda1

and it will do well, but later when i am trying to copy the KNOPPIX folder, it gives me a error saying "no space".

the actual minitrd.gz and linux24 files will be occupying max of 1.1 Mb of space,

remaining space how to utilise.?

any suggestions>

basically i want to boot the machine which doesnt have HDD, FDD or CDD inside it. only USB port will be there..

any suggestions please

pudhi

syslinux also does the same, like occupying 1.4 MB and not allowing to write extra files.

please help
 
Old 07-13-2004, 09:18 AM   #2
fluppi
Member
 
Registered: Oct 2003
Location: Switzerland (Europe)
Distribution: OpenSuSE, RedHat, Knoppix, IRIX + MacOSX
Posts: 198

Rep: Reputation: 31
dd copies the data, but destroy the partition sda1. A second partition should be useful, but I don't recommend to dd a flashstick (I destroyed one with dd or was it fdisk ? ;-)

Will the installer not recognize the stick to make a "proper" installation ?
 
Old 07-13-2004, 10:58 PM   #3
pudhiyavan
Member
 
Registered: Oct 2003
Location: Linux world
Distribution: redhat,mandy,centos,debian,ubuntu
Posts: 209

Original Poster
Rep: Reputation: 30
hi fluppi

you are right?

but i dont have any idea about the installer, can u recommend me some opensource installers.?
 
Old 07-14-2004, 02:19 AM   #4
fluppi
Member
 
Registered: Oct 2003
Location: Switzerland (Europe)
Distribution: OpenSuSE, RedHat, Knoppix, IRIX + MacOSX
Posts: 198

Rep: Reputation: 31
Uhm, all Distros I ever used had their own installer, including tomsrtbt (who is build to fit on a single floppy).
Sorry.
 
Old 07-14-2004, 06:41 AM   #5
pudhiyavan
Member
 
Registered: Oct 2003
Location: Linux world
Distribution: redhat,mandy,centos,debian,ubuntu
Posts: 209

Original Poster
Rep: Reputation: 30
Hi fluppi
thanks for your support

now i got rid of this, by making fat16 partition (previous i formatted the partition as ext3)

then ran syslinux /dev/sda1, after this i copied all the files from feather linux other than ldlinux.sys

it works fine

Last edited by pudhiyavan; 07-14-2004 at 06:44 AM.
 
Old 07-14-2004, 06:42 AM   #6
pudhiyavan
Member
 
Registered: Oct 2003
Location: Linux world
Distribution: redhat,mandy,centos,debian,ubuntu
Posts: 209

Original Poster
Rep: Reputation: 30
hi fluppi

can u tell me how do i create my own live usb image like this KNOPPIX from the redhat distribuition.?
 
Old 07-14-2004, 09:58 AM   #7
fluppi
Member
 
Registered: Oct 2003
Location: Switzerland (Europe)
Distribution: OpenSuSE, RedHat, Knoppix, IRIX + MacOSX
Posts: 198

Rep: Reputation: 31
Uhhh, RedHat focus now on Enterprises and big business.
Maybe dd the Knoppix-CD to USB Stick should work, but the space is not enough, and downsizing will be too time-consuming ?

A normal Installation with the minimum will work, BUT your stick will die shortly, due all log and temp files will be written on the stick who "just" can be written 10000 to 100000 times (sounds much but with a few writing every second done very fast) and writelocked will there be problems.

How about the following alternatives:
-Big CompactFlash as hda repacement
-Boot from network
-Customizing Knoppix ?
-Build a Linux from Scratch (= your own Distribution)

And maybe is an USB-Stick Linux distribution already out there ?
 
Old 07-14-2004, 03:43 PM   #8
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
If you intend to run Linux from a USB Flash disk, it must run from a RAMDISK, or else your Flash Disk will be toasted, like fluppi said.

I made my own distro to run from a RAMDISK, it isn't that hard. The problem is that you are limited by the machine's physical amount of RAM, so you can't really get X or anything without running out of free RAM. This wasn't a problem for me, but you seem to want a GUI.

You could copy the contents of the Damn Small Linux disk onto your flash, and boot it with SYSLINUX. DSLinux is already designed to run from a read-only media, so you shouldn't have any problems with toasting your drive. Plus, it is small, only 48 MB.
 
  


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
mount/umount usb stick - PQI Intelligent Stick 2.0 sandbag Linux - Software 5 05-06-2005 11:12 AM
usb stick jwijesundra Linux - Newbie 2 02-03-2005 11:51 PM
USB stick bardia_amir Linux - Hardware 3 08-29-2004 11:30 PM
USB problems: Memorex USB stick 256MB and PSX to USB adapter by Radio Shack Knuckles T15 Linux - Hardware 1 05-19-2004 06:58 PM
USB-Stick/usb-storage JC_at_LQ Linux - General 2 07-14-2003 06:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:53 AM.

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