[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: |
Fri, 15 Dec 2023 10:38:08 +0000 |
On Fri, Dec 15, 2023 at 09:15:22AM +0100, lacsaP Patatetom wrote:
> here's a little script following the exchanges above.
> perhaps it will be useful to others...
If you want a full disk image with its partition table I don't know if
you are aware that those tools can work with offsets, e.g.:
$ truncate -s 500M disk.img
$ echo -e 'label:gpt\n2048,,U' | sfdisk disk.img
$ mkfs.fat --offset 2048 disk.img
$ mcopy -i disk.img@@1M -s /path/to/files ::
where 2048 is the offset of the first partition (2048 sectors = 1MB)
Berto
- Re: Directory does not fit in FAT16 (capacity 516.06 MB), (continued)
- 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/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 <=
- Re: Directory does not fit in FAT16 (capacity 516.06 MB), lacsaP Patatetom, 2023/12/15