Re: Mounting a spares root fs

H. Peter Anvin (hpa@transmeta.com)
22 Nov 1998 07:40:58 GMT


Followup to: <199811212014.VAA12655@capway.com>
By author: "christophe leroy" <christophe.leroy5@capway.com>
In newsgroup: linux.dev.kernel
>
> I'm creating a Linux i386 based card for a embedded system.
> I'd like to be able to boot on /dev/sda1 when zip drive is present
> and on /dev/ramdisk when zip drive is absent.
>
> Is that possible ?
>
> (I dont want to use initrd and I cannot modify options passed to
> kernel)
>

There are three ways to do it: use initrd, modify the options passed
to the kernel appropriately, or modify the mount_root() routine in the
kernel.

-hpa

-- 
    PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD  1E DF FE 69 EE 35 BD 74
    See http://www.zytor.com/~hpa/ for web page and full PGP public key
        I am Bahá'í -- ask me about it or see http://www.bahai.org/
   "To love another person is to see the face of God." -- Les Misérables

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/