Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 08-26-2004, 02:19 PM   #1
Registered: Oct 2003
Location: Atlanta, GA
Distribution: gentoo
Posts: 68

Rep: Reputation: 15
booting linux from compactflash

I am trying to figure out how to create images of a linux system I built, in a way that I can write them to flash cards and have them automatically boot in a system, without having to run grub or anything like that on the machines.

I have been looking into this for several hours now, and think that I am close to having it figured out. What I think will work (although I dont know exactly how to do it yet) is:
1. create a small dos partition at the front of the flash with a small kernel, initrd, and syslinux
2. boot the initrd image, with a tiny system capable of mounting the other partition
3. chroot to the other partition, where the real system (ext2 filesystem) is
4. free up the RAM occupied by the ramdisk

sounds right to me, but I am looking for anyone who may have experience doing something similar, or anyone who might be able to offer me any suggestions or somewhat specific instructions, since I am having trouble finding out too much about this



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't boot from CompactFlash card TSloth DamnSmallLinux 2 01-06-2006 11:56 PM
Copying A Linux CompactFlash Card ?? Ken3939 Linux - Newbie 11 10-26-2005 12:02 AM
Ghosting to a CompactFlash longnam Slackware 2 03-25-2005 06:14 PM
MDK 10.1 kernel panic (booting from IDE CompactFlash card)... sleeper.service Linux - Hardware 3 12-03-2004 06:09 AM
CompactFlash downinthemine Linux - Newbie 1 08-03-2003 01:08 PM

All times are GMT -5. The time now is 03:14 PM.

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