Re: how to setup loopback before calling mount_root() .. root=/dev/loop0

Andreas Dilger (adilger@clusterfs.com)
Wed, 17 Apr 2002 10:38:57 -0600


On Apr 17, 2002 18:24 +0200, Domen Stangar wrote:
> Can anyone please tell me if there is a way to use lo_ioctl before mounting
> root.
> How to use lo_ioctl in kernel in way like:
> losetup /dev/loop0 /dev/hda3 ?
> then root=/dev/loop0

Set up an initrd which does this exactly.

Cheers, Andreas

--
Andreas Dilger
http://www-mddsp.enel.ucalgary.ca/People/adilger/
http://sourceforge.net/projects/ext2resize/

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