livecd-iso-to-disk的overlay设置

尝试将 CentOS 6.5 的 Live ISO 映像安装到 USB 设备时遇到空间不足的问题。文章详细介绍了安装过程中报错的原因,并解释了 --overlay-size-mb 和 --home-size-mb 参数的作用。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

# ./livecd-iso-to-disk --home-size-mb 900 CentOS6.5.iso  /dev/sda1

Verifying image...

Unable to fit live image + overlay on available space on USB stick

+ Size of live image:  232

+ Home overlay size:  900

---------------------------

= Requested:  1132

- Available:  932

---------------------------

= To fit, free or decrease requested size total by:  200

Cleaning up to exit...



详细的三个参数:

  • --overlay-size-mb  依赖于USB设备,占用USB的空间

  • This option sets the overlay size in megabytes. The overlay is additional storage available to the live operating system if the operating system supports it. The USB storage device must have enough free space for the image and the overlay.

  • --home-size-mb

  • Sets the home directory size in megabytes.

  • --unencrypted-home

  • Disables the encryption of the home directory.


     本文转自fengyuzaitu 51CTO博客,原文链接:http://blog.51cto.com/fengyuzaitu/1570415,如需转载请自行联系原作者




评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值