LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
LinkBack Search this Thread
Old 11-29-2007, 02:53 PM   #1
sir-lancealot
Member
 
Registered: Aug 2007
Posts: 336

Rep: Reputation: 31
compact flash boot setup help


Hey guys, here is the scoop, I have just been given a few mini-box's to stage a working OS on. They will boot off a compact flash and have an internal IDE drive. I need to setup that compact flash to boot into a live image perhaps and opt to install to the local internal.

I tried using the http://fedoraproject.org/wiki/FedoraLiveCD/USBHowTo as if it was a USB keychain but got a Invalid System Disk, so at a stuck point. Someone mentioned mounting the flash (which works fine) to my machine and doing a dd (never used) but any advice would be helpful.

Lr
 
Old 11-29-2007, 05:19 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 194Reputation: 194
If the flash drive is big enough to hold the iso image, yeah, simply do a dd to the flash drive from the iso file and boot to install. Done it myself for Red Hat/CentOS installs and kickstarts.
 
Old 11-29-2007, 10:11 PM   #3
sir-lancealot
Member
 
Registered: Aug 2007
Posts: 336

Original Poster
Rep: Reputation: 31
Cool, thanks. The Fedora live CD is around 700mb and the flash is 1gb so space is not an issue. Only help I would need is the dd as I am not familiar with that command ( I will google as it downloads the CD). Do I dd the .iso, or extract and dd, etc. I know it must be bootable so not sure how to make that work (unless the dd handles that also) .

Thanks again.

lr
 
Old 11-30-2007, 07:04 AM   #4
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 194Reputation: 194
dd will actually take care of it for you if it's an iso, or img file.

dd if=nameof.iso of=/dev/sda

Just dump to the raw device without partitioning the flash drive, etc.
 
Old 11-30-2007, 08:42 AM   #5
sir-lancealot
Member
 
Registered: Aug 2007
Posts: 336

Original Poster
Rep: Reputation: 31
Thanks, but no good. Actually odd. I used the above method after downloading the Fedora-8-Live-i686.iso and issuing the dd command, after a few minutes I get the confirmation

dd if=Fedora-8-Live-i686.iso of=/dev/sdg
1427904+0 records in
1427904+0 records out
731086848 bytes (731 MB) copied, 350.978 s, 2.1 MB/s

After removing and booting off that I get;
Boot Failure
Rebooot and Select propoer Boot Device or Insert Boot Media in selected Boot device.

Then if I use another flash device and issue
dd if=diskboot.img of=/dev/sdg
24576+0 records in
24576+0 records out
12582912 bytes (13 MB) copied, 6.50159 s, 1.9 MB/s

Reboot on that, I get the welcome to Fedora start page with the install option, but since there is no other data on there, I can't do anything more than select english. So the problem lies in the Live iso, it confirmed it copied the 731mb but some reason it doesn't boot off it!

Very very odd!
 
Old 11-30-2007, 09:36 AM   #6
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 194Reputation: 194
Hmm, I've seen some hardware do this before where it just complains. If you have another machine with space and network connectivity, you can actually mount the iso as a loopback on it, configure apache on it and just kickstart with the bootdisk.img you created as you can pass the "linux ks=http://server/kickstart/ks.cfg"
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
linux does not boot on external board with compact flash raklo Linux - Hardware 1 09-10-2006 04:17 PM
linux does not boot from compact flash raklo Linux - General 1 09-09-2006 03:50 AM
HowTo setup Slackware from Compact Flash ATA 120Mb cyclix Linux - Laptop and Netbook 2 12-14-2005 09:45 AM
Boot Linux from Compact Flash IDE ludwig Linux - Hardware 2 08-18-2003 01:23 PM
PCMCIA Compact Flash Boot kroberts740 Linux - Hardware 0 03-18-2003 11:04 AM


All times are GMT -5. The time now is 05:08 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration