PDA

View Full Version : Booting from PCMCIA Flash Card



averylowiq
10-23-2003, 12:33 AM
I have an IBM Thinkpad A31 with two hard drives. The Primary hard drive has Windows 2000 on it (work requirements) and the secondary hard drive (in one of the Ultra Slim bay) has Knoppix 3.3 installed on it. In the other Ultra Slim bay I can only have either a CD drive or a floppy drive. This Thinkpad does not support hot swap therefore if I use the floppy drive to boot from secondary hard drive (only which has lilo installed on it) I cannot use the CDRW drive. I would prefer to keep CDRW for obvious reasons. I do not want to install lilo on the primary hard drive either.

However, I do have a couple of PCMCIA flash cards with various capacities that I can use for booting.

Is there a way that I can transfer the boot files from Knoppix on the PCMCIA card and use that as my boot device as I would have used a floppy drive alternatively?

jhrbek
11-06-2003, 09:34 PM
Did you ever find a solution for this? I'm trying to do the same thing from a kingston ata pcmcia 5gb drive.

averylowiq
11-06-2003, 10:09 PM
Nope.

I tried different ideas with the flash card but nothing worked

1. Using

mkbootdisk --device /dev/hde <kernel-name>

The command transfered the bootable image to the flashcard but I couldn't make the Thinkpad's BIOS to recognize PCMCIA slot as a boot device.

2. I also tried the same flash card in a USB card reader. In this setup Thinkpad took a long time after the initial BIOS splashscreen raising my hopes that it might be trying to read the flash card as a boot device and then will try to boot off of /dev/hdb but after like 10-15 seconds it went to the default HD for boot killing my hopes.

3. I found another way round my problem by changing the BIOS settings and setting the aux HD as the primary drive so that the notebook will boot from it instead of the drive thats in the primary IDE slot. I don't know how safe is this frequent change of settings for the general well being of the flash memory where BIOS resides though.

I was also thinking of calling up IBM tech support, although a remote possibility, they may have another solution.

garyng
11-07-2003, 12:36 AM
you may try my win32 grub patch which allows you to chain boot from the W2K/XP loader into GRUB that can boot whatever linux that is available on your system(hda, hdb ...).

jhrbek
11-07-2003, 05:01 PM
Hmm, well I'm not sure if that would work for me. It's a long story why I need to do this, but basically what I need is to boot from a pcmcia ata hard drive. I can use floppies to facilitate the process, no problem there. The machines that I would use this on would not have an operating system on them. I'm trying to work out a symantec ghost replacement using either Partition Image (for linux) http://www.partimage.org/index.en.html or some other comparable program. The pcmcia disk would hold a drive image and the necessary software to load the machine. That's all I need it to do. (hope to do?) :roll:

garyng
11-07-2003, 10:14 PM
Hmm, well I'm not sure if that would work for me. It's a long story why I need to do this, but basically what I need is to boot from a pcmcia ata hard drive. I can use floppies to facilitate the process, no problem there. The machines that I would use this on would not have an operating system on them. I'm trying to work out a symantec ghost replacement using either Partition Image (for linux) http://www.partimage.org/index.en.html or some other comparable program. The pcmcia disk would hold a drive image and the necessary software to load the machine. That's all I need it to do. (hope to do?) :roll:

Ah, I see. In that case, you may try spb-linux which can be booted from floppy and once you are in linux, you can have it load the proper PCMCIA drivers and goes from there to do the rest of the stuff you want. What I see your problem is that the BIOS has problem booting from PCMCIA device so having an alternative booting media(and a minimal linux) as a loader should meet the need.