>From the initrd:

1. mount the loop device as the new rootdir
2. cd to the new rootdir
3. perform the pivot_root
4. perform chroot to the new rootdir
5. umount the initrd

rowel



On Fri, 17 Aug 2007, Amir Franco Joven wrote:

> hi all,
>
> i am trying to create an ext3 rootfs image to be mounted as loopback device.
> i replaced kernel param root=/ with root=/dev/loop0
> during bootup, initrd can successfully mount it but fails during switchroot.
>
> i am using fedora core 6.
>
> has anyone here experience the same?
>
> thank in advance
>
>
> amir
>
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to