简体   繁体   English

调整fedora LiveCD分区的大小

[英]Resizing fedora LiveCD partitions

I'm using Fedora to create Qubes installation media for a Lenovo machine per their directions here . 我正在使用Fedora按照此处的指示为Lenovo机器创建Qubes安装介质。 There is some weirdness with UEFI on newer lenovos that require special accommodations in the installation LiveCD. UEFI在较新的联想上有些奇怪,需要在安装LiveCD中提供特殊的容纳。 However, the Fedora Media Writer automatically creates a home partition that is only 1.7 GB, which is not enough space to download/store the ISO for Qubes (~4.3 GB). 但是,Fedora Media Writer会自动创建仅1.7 GB的主分区,该空间不足以下载/存储Qubes的ISO(约4.3 GB)。 It looks like Qubes ISO needs to be on the same partition in order to create the media. 看起来Qubes ISO必须位于同一分区上才能创建媒体。 How do I either (1) resize this partition so I can actually place the Qubes ISO on it or (2) give myself enough space in the first place to actually place the ISO on the drive? 我该如何(1)调整此分区的大小,以便实际上可以在其上放置Qubes ISO,或者(2)首先给自己提供足够的空间以将ISO实际放置在驱动器上? I have no idea how to resize partitions on LiveCDs as I don't understand their partition structure. 我不知道如何调整LiveCD上的分区大小,因为我不了解它们的分区结构。

I got around this by: 我通过以下方法解决了这个问题:

  • downloading the Qubes ISO file onto a second flash drive 将Qubes ISO文件下载到第二个闪存驱动器
  • creating a ramdisk in the Fedora LiveCD and copying the ISO there 在Fedora LiveCD中创建一个ramdisk并在那里复制ISO
  • unmounting the second flash drive 卸下第二个闪存驱动器
  • and then writing Qubes onto the flash drive as a live CD per the directions in the linked article above. 然后按照上述链接文章中的说明将Qubes作为实时CD写入闪存驱动器。

Not ideal but better than using parted on a liveCD. 不理想,但是比在liveCD上使用parted更好。 If anyone else gets stuck, I can provide more detailed directions. 如果其他人遇到困难,我可以提供更详细的说明。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM