SPONSORED LINKS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running Linux from external Jaz via PCMCIA



> support. This happily recognises the Bus Toaster and allows me to
> access the Jaz drive - but by this time my root partition is /dev/hda3
> and I can't change it to be /dev/sda1. How can I get round this?
> Presumably I need to create a LILO boot image with PCMCIA
> built in that sets up PCMCIA support before trying to mount the
> root (SCSI) directory.

    The thing to use is the `initrd' feature. This lets you
load an `initial' root image into RAM to get things started,
and once you've got PCMCIA going, it will mount the real root
partition. I set this up on a Zip, and it works. Since you
can compress the disk image, it's actually possible to get
kernel, loader (LILO or LOADLIN), and image all on a floppy,
and boot competely without the internal HD.

    With RedHat, the info doc is /usr/src/linux/Documentation/initrd.txt;
I dunno about SW. There's an example at 

  ftp://elserv.ffm.fgan.de/pub/linux/loadlin-1.6/initrd-example.tgz

too. 

    The setup is only slightly weird; it expects a program called
`linuxrc' to be in the root directory of the init image.

    You can change the root partition on the fly through
/proc/sys/kernel/real-root-dev, too. Nifty.

----
Chris Bednar - Budding Quantum Optician, Quantum Fundamentalist
But really, baby, I'm not like the other theorists!

Dept. of Physics, TAMU, Coll. St., TX 77843-4242
(409)845-7018
(409)845-2590 FAX

Houston Advanced Research Center (HARC)   (713)363-7920

http://terminator.tamu.edu/~bednar/

ghoti == fish
  - W. H. Auden? G. B. Shaw?