How to install Linux (CentOS preferred) using 128MB CF as BOOT and USB as storage

I've been digging through the internet trying to accommodate a need I have to install CentOS (5.4) on a machine with the following configuration:

IDE0:0 Compact Flash (128MB card)
IDE1:0 CDROM
SBA: USB mass-storage device (1GB or so)
RAM: 512MB (however, trying to AVOID ISO loading into memory)

What I "want" to do is have the CF boot the machine and tend to HAL...  but have the actual "OS" on the USB drive (which could also be used for swap if needed) however I have yet to find a way to accomplish this.

How to format the CF to manage GRUB, etc. and then switch over to sba: for the actual operating system.  I have running Windows and Linux machines at my disposal to accomplish the task.

In the end, what I'd like to end up with is a flash drive that holds an OS that the CF "calls onto" thus allowing somewhat of a plug-n-play environment where the OS could be switched out without having to do much of anything to the /boot (CF)

Thoughts and/or ideas welcome!
CentralWareAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

nociSoftware EngineerCommented:
That can be done by setting up your USB drive as Root and
setup /boot as the CF card. Grub needs to be on the CF card as does the boot partition with  a kernel and initial ram disk.

But keep in mind that you mind need to change some settings in the grub.conf file as RHEL/CENTOS use UUID's (part of the volumelabel of the disk) to identify disk, the initial ramdisk software uses that to search for the right volume.

This UUID scheme esp. makes sense when RHEL/CentOS etc are deployed in laarger environments where SAN's (iSCSI and/or FibreChannel) are used.
For smaller environments they are not that kind of nuisance.
In your case you are best of (IMHO) when you make multiple boot entries one per disk needed.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CentralWareAuthor Commented:
Had to come up with a different solution...  the amount of information found online relating to what I had in mind is horribly limited at best.  (Everyone HAS answers...  or so it seems...  but very few if any actually DISCUSS what they are.)

For example, I was reading through DSL, Puppy, etc. and everyone claims these mini-linux distros CAN be set up as Live CDs and in some cases, bootable floppies...  but when it comes to installing the same distro onto a hard drive...  I'm lost.
0
nociSoftware EngineerCommented:
during the setup of CentOS (when booting from the cd/dvd) select manual setup and when selecting partitions create a partition on your CF disk and mark that as /boot volume.
Then select your USB disk and partiotion it, mark the partition you intended as root as /.

And continue with the install. That's about all that's to it.
Select grub as your boot loader later in the process and be sure to use an initial ramdisk (as it is needed to load the usb drivers).

See also:
http://www.centos.org/docs/5/html/Installation_Guide-en-US/s1-diskpartitioning-x86.html
0
EE_AutoDeleterCommented:
I've requested that this question be deleted for the following reason:

No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Not enough information to confirm an answer.

If you feel this question should be closed differently, post an objection and a moderator will read all objections and then close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

Experts-Exchange Auto Deleter
0
nociSoftware EngineerCommented:
i disagree, at the time this was the right answer, now more possibilities exist
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.