Re: live rootfs from squashfs and read write ability

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

 



On 05/21/14 at 04:51pm, Vasiliy Tolstov wrote:
> Hello! I'm very happy with dracut (i'm create live squashfs image and
> boot it), but as i see i have my root in read only mode. How can i get
> route in read/write mode (in ram).
> My cmdline like:
> bond=bond0:eth0,eth1:mode=6 net.ifnames=0 ip=bond0:auto6 rd.bootif=0
> rd.md=0 rd.dm=0 rd.lvm=0 rd.luks=0 rd.shell
> root=live:http://[2001:db8:0:f101:92e2:baff:fe31:44e]/image/mh-vm/image.squashfs
> console=tty0 console=ttyS1,115200 rw

I don't think there's easy solution for read-write mount since it need stacked fs like
unionfs. But maybe you can try mount some folder as tmpfs such as /tmp, /var etc.
and only write to the specific folders.

I imagine a simpe implement for unionfs specific for initramfs use.. 

Thanks
Dave
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux