[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Directory does not fit in FAT16 (capacity 516.06 MB)
From: |
Alberto Garcia |
Subject: |
Re: Directory does not fit in FAT16 (capacity 516.06 MB) |
Date: |
Wed, 13 Dec 2023 11:23:07 +0000 |
On Wed, Dec 13, 2023 at 11:46:51AM +0100, lacsaP Patatetom wrote:
> to quickly test my efi application `./esp/EFI/BOOT/BOOTX64.EFI`, I use the
> following command `qemu-system-x86_64 -accel kvm -machine q35 -m 1024 -bios
> /usr/share/edk2/x64/OVMF.fd -hda fat:./esp/ -snapshot` but it has recently
> failed with the error message given in subject.
I'm not familiar with the QEMU vvfat driver, but FAT16 does allow
larger filesystems, I suspect there's a limitation there?
> for various reasons, i can't purge/reinitailize/empty the folder :
> what other options do I have with qemu or do I have to start from a
> lighter folder ?
You can create a FAT image, put your files there using e.g mtools and
boot from that image:
$ fallocate -l 1G esp.img
$ mformat -i esp.img
$ mcopy -i esp.img -s /path/to/files ::
Berto
- Directory does not fit in FAT16 (capacity 516.06 MB), lacsaP Patatetom, 2023/12/13
- Re: Directory does not fit in FAT16 (capacity 516.06 MB),
Alberto Garcia <=
- Re: Directory does not fit in FAT16 (capacity 516.06 MB), lacsaP Patatetom, 2023/12/13
- Re: Directory does not fit in FAT16 (capacity 516.06 MB), Narcis Garcia, 2023/12/13
- Re: Directory does not fit in FAT16 (capacity 516.06 MB), Alberto Garcia, 2023/12/13
- Re: Directory does not fit in FAT16 (capacity 516.06 MB), Thomas Huth, 2023/12/13
- Re: Directory does not fit in FAT16 (capacity 516.06 MB), lacsaP Patatetom, 2023/12/13
- Re: Directory does not fit in FAT16 (capacity 516.06 MB), Alberto Garcia, 2023/12/13
- Re: Directory does not fit in FAT16 (capacity 516.06 MB), lacsaP Patatetom, 2023/12/15
- Re: Directory does not fit in FAT16 (capacity 516.06 MB), Alberto Garcia, 2023/12/15