LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-14-2011, 11:36 AM   #1
pfrancois
LQ Newbie
 
Registered: Sep 2005
Location: Antwerp (Belgium)
Distribution: Ubuntu
Posts: 11

Rep: Reputation: 0
Unhappy BIOS of old Compaq Presario cannot detect CF card. Looking for a workaround.


Hello

I was running successfully IPCop on an old Compaq Presario 5471 computer, until the hard disk crashed. I tried to replace the HD by a compact flash card connected with an IDE-CF adapter, but the BIOS (version 686C2) of Compaq cannot detect that card at boot time.

I am looking for a workaround for defining the geometry of the card manually, but the Compaq setup utility doesn't allow it. I am looking for a way to tweak the BIOS.

Any help would be very appreciated.
 
Old 08-14-2011, 11:57 AM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

IDE devices are cheap, and Flash drives are *not* good for a primary (lots of writes) filesystem.

Suggestion: why not just take the path of least resistance and find a usable IDE drive?

Alternatively, perhaps the BIOS might let you boot off of USB (just get a distro like Knoppix, Puppy or DSL)?

Last edited by paulsm4; 08-14-2011 at 11:59 AM.
 
Old 08-14-2011, 01:50 PM   #3
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,112
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Is the adapter a pcmcia for CF card. Or is it internal IDE to CF. Because internal (ide ribbon cable) IDE to CF works on a 8gig microdrive out of a Ipod on one of my Laptop caddies. Solid state CF should be no different.

If PCMCIA adapter. That is a harder nut to crack as far as I know. Requires grub install to floppy and chainloading to linux already installed on CF card (catch-22).

Maybe a Plop floppy would work, but I am not sure as I never tried pcmcia boot with my plop floppy. Just pendrive usb boot.

A site you may find useful is http://kmandla.wordpress.com/

Last edited by rokytnji; 08-14-2011 at 01:57 PM.
 
Old 08-14-2011, 03:20 PM   #4
pfrancois
LQ Newbie
 
Registered: Sep 2005
Location: Antwerp (Belgium)
Distribution: Ubuntu
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by paulsm4 View Post
Hi -

IDE devices are cheap, and Flash drives are *not* good for a primary (lots of writes) filesystem.

Suggestion: why not just take the path of least resistance and find a usable IDE drive?

Alternatively, perhaps the BIOS might let you boot off of USB (just get a distro like Knoppix, Puppy or DSL)?

The distro is IPCop and is foreseen for working with a CF card. All the write operation happen in ramdisk, and are saved on the CF card a few times each day. I tried the CF card because I couldn't find small/cheap IDE drives. The BIOS doesn't support USB booting either.
 
Old 08-14-2011, 03:22 PM   #5
pfrancois
LQ Newbie
 
Registered: Sep 2005
Location: Antwerp (Belgium)
Distribution: Ubuntu
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by rokytnji View Post
Is the adapter a pcmcia for CF card. Or is it internal IDE to CF. Because internal (ide ribbon cable) IDE to CF works on a 8gig microdrive out of a Ipod on one of my Laptop caddies. Solid state CF should be no different.

[...]

A site you may find useful is http://kmandla.wordpress.com/
It is an internal IDE-CF adapter, not PMCIA.
 
Old 08-14-2011, 04:14 PM   #6
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,112
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Quote:
Originally Posted by pfrancois View Post
It is an internal IDE-CF adapter, not PMCIA.
Ok. I am understanding your problem better now. When I did what you did but I used a micro drive instead of cf card. I had to go into my bios and use the autodetect feature for drives in my bios for bios to see it. I realize now that as far as your bios is concerned. There is no drive in the computer.

Tough nut to crack there. You can download the manual in pdf format and read if there is a way to adjust the bios I guess. Instructions for how to recognize a drive/use the bios. may be in there maybe.

If Bios won't recognize the cf card in the adapter. Then you are stuck.

Edit:
Quote:
The BIOS doesn't support USB booting either.
I have also bypassed that limitation by making a Plop Boot Floppy and booted up AntiX 11 on a bios with no capability to boot usb. It was on a IBM a22m Laptop.

http://forum.plop.at/index.php?topic=121.0

http://www.plop.at/en/bootmanager.html

I used the antiX2usbpy in the antiX control center to make a persistent live usb pendrive and the floppy to bypass bios to boot the Linux on USB.

Last edited by rokytnji; 08-14-2011 at 04:25 PM.
 
Old 08-15-2011, 04:57 AM   #7
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,297

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Old machine - modern drives too big?
I think I still have a 1.4 Gig 2.5" internal drive formatted boot, swap, & root which might stand up to a console for you, if it gets you out of something. I'm in Ireland. I totally forget what's installed, (Mandrake?)but it's 10+ years old. It needs LBA

That said, if we're dealing with old stuff, there was a type 47 disk in most bios of the time where you specified your own chs The systems were
< 1023cyl <16heads (sectors were always maxed out) max size 512 Mb without lba

< 1023cyl <255heads (sectors were always maxed out) max size 2Gig with lba

Heads were always 2, and the system was lied to as policy. Some things never change
 
Old 08-15-2011, 03:21 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
The ide to cf works but you either have some setup wrong or too large of a drive or a NON-bootable adapter. The adapter has to say it is bootable.

It would show up in bios and you may have to swag some settings if you can't get exact.

Last edited by jefro; 08-15-2011 at 03:22 PM.
 
Old 08-16-2011, 03:06 AM   #9
pfrancois
LQ Newbie
 
Registered: Sep 2005
Location: Antwerp (Belgium)
Distribution: Ubuntu
Posts: 11

Original Poster
Rep: Reputation: 0
@jefro: The BIOS of Compaq (version 686C2 which is of the year 2000) offers no possibility to define manually the disk type/geometry: the disk is detected or it is not.
 
Old 08-16-2011, 03:26 AM   #10
pfrancois
LQ Newbie
 
Registered: Sep 2005
Location: Antwerp (Belgium)
Distribution: Ubuntu
Posts: 11

Original Poster
Rep: Reputation: 0
@rokytnji: I have a (still working) floppy drive in my Compaq Presario. Do you know if booting from plop will make it possible to chainboot from the IDE primary drive if this latter is not detected by the BIOS?
 
Old 08-17-2011, 02:47 AM   #11
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,297

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
On the floppy, the short answer to your question is yes, with a large BUT.
If you boot with root=/dev/sda1 you will probably do it. What you will not do easily is fit a full 2.6 kernel onto a single floppy. That's the BUT.

A way forward might be to use the bios trick that allows the drive to be drive A: and drive B: in Dos-speak. I would start this way with your kernel
make allnoconfig
make menuconfig
Use bz2 compression for the kernel and investigate what namespaces & auditing you need. You may need to go back in time kernel wise, but I would avoid 2.4 if at all possible.
 
Old 08-17-2011, 05:21 AM   #12
pfrancois
LQ Newbie
 
Registered: Sep 2005
Location: Antwerp (Belgium)
Distribution: Ubuntu
Posts: 11

Original Poster
Rep: Reputation: 0
@business_kid: I do not want to fit the kernel on the floppy, I just want the floppy to boot plop, and then to ask plop to boot the kernel from the CF card that the BIOS failed to detect. So the kernel will be on CF card. I guess it must be possible since you can ask plop to boot from a CD-IDE.
 
Old 08-17-2011, 06:02 AM   #13
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,297

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
It's a maybe. Try it.
/my guess
grub sits up, with limited abilities to do anything. If the system doesn't know it has a disk, how is grub going to? My guess is, I suppose, that the system asks "what kind of disk is out there? and gets no answer.
/end guess
As I understand it, when the kernel has booted, with drivers loaded, it can bypass the bios. But if asking the disc "What's out there?" returns the answer "Nothing!" no software will like it.You would do better with a live cd. You may also be cheered by the low prices at the bottom end of pc sales.

Another option might be to use the floppy with some exotic boot parameters to tell it to never mind what the bios says and just read the disk anyhow. Personally, I feel you're going down in flames, but that's only my opinion.
 
Old 08-17-2011, 08:24 AM   #14
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,820

Rep: Reputation: 229Reputation: 229Reputation: 229
Not to be confused...

If you are going to try Plop, it is the Plop Boot Manager that you should try, not Plop Linux. A floppy of Plop Boot Manager doesn't boot Plop, it tries to boot whatever operating system it finds on the devices it has access to. Note that there is a Plop forum for help.

Does your old system have the latest BIOS available?

http://www.plop.at/en/bootmanager.html

Last edited by thorkelljarl; 08-17-2011 at 08:34 AM.
 
  


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
[SOLVED] trying to set up a compaq presario 2100 for card games megamanx Linux - Newbie 1 05-23-2010 07:44 PM
Need help in setting up wireless card on Compaq Presario 2500 mavpredator Linux - Laptop and Netbook 3 10-10-2004 12:38 PM
Sound card recommendations for Compaq Presario Steve9999 Linux - Hardware 2 05-23-2004 02:47 AM
Sound Card Driver for Compaq Presario 1655? cowboy45 Linux - Hardware 0 03-17-2004 11:58 AM
Compaq Presario 5240 bios and Linux esteeven Linux - General 3 01-22-2004 04:43 PM

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

All times are GMT -5. The time now is 12:39 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