ALT Linux Distributions development
 help / color / mirror / Atom feed
From: Leonid Krivoshein <klark.devel@gmail.com>
To: devel-distro@lists.altlinux.org
Subject: Re: [devel-distro] Большой образ
Date: Sat, 12 Feb 2022 03:26:04 +0300
Message-ID: <20d76c30-7b78-6ed5-2c19-88b45ef2149a@gmail.com> (raw)
In-Reply-To: <YgZplwLFeDlmyndY@lks.home>



11.02.2022 16:50, Konstantin Lepikhov пишет:
> Hi Leonid!
>
> On 02/11/2022, at 03:34:10 PM you wrote:
>
>>
>> 11.02.2022 14:27, Konstantin Lepikhov пишет:
>>> Hi Leonid!
>>>
>>> On 02/09/2022, at 08:36:05 PM you wrote:
>>>
>>>> 09.02.2022 18:42, Konstantin Lepikhov пишет:
>>>>> Hi Антон!
>>>>>
>>>>> On 02/09/2022, at 05:15:30 PM you wrote:
>>>>>
>>>>>> 09.02.2022 17:11, Артём Проскурнёв пишет:
>>>>>>> В любом случае это вопрос необходимости. Поэтому про надо или не надо оставим за скобками. :-)
>>>>>>> Главное узнать возможно ли это? Можно ли отключить ограничение или подавить ошибку?
>>>>>> Это невозможно для iso. Делайте образ флэшки с файловой системой, которая поддерживает более 4 ГБ,
>>>>>> например с ext4fs.
>>>>>> Но mkimage-profiles на данный момент такое не позволяет сделать.
>>>>> Зачем ext4, UDF же :)
>>>> С UDF нельзя загрузиться, он только для данных.
>>> установочный iso windows же как-то загружается.
>> Полагаю, речь о UDF Bridge, т.е. ISO-9660 с ElToritto + MicroUDF, но я
>> не знаю, чем в Linux'е можно записать одновременно соответствующее
>> стандартам ISO-13346 и ISO-13490.
> https://rwmj.wordpress.com/2010/11/04/customizing-a-windows-7-install-iso/
> есть хаки, вроде пишут они до сих пор работают.

Надо будет как-нибудь сравнить xorriso и mkisofs с т.з. создания 
дистрибутивного контейнера. Однако, я кажется нашёл простой способ 
решения исходной задачи: достаточно пропатчить mkimage и с локальным 
mkimage собрать образ, добавив к xorriso опцию "-file_size_limit off". 
Из документации:

-file_size_limit value [value [...]] --

Set the maximum permissible size for a single data file. The values get 
summed up for the actual limit. If the only value is "off" then the file 
size is not limited by xorriso. Default is a limit of 100 extents, 4g 
-2k each:

-file_size_limit 400g -200k --

When mounting ISO 9660 filesystems, old operating systems can handle 
only files up to 2g -1 --. Newer ones are good up to 4g -1 --. You need 
quite a new Linux kernel to read correctly the final bytes of a file >= 
4g if its size is not aligned to 2048 byte blocks. xorriso’s own data 
read capabilities are not affected by operating system size limits. Such 
limits apply to mounting only. Nevertheless, the target filesystem of an 
-extract must be able to take the file size.


-- 
Best regards,
Leonid Krivoshein.



  reply	other threads:[~2022-02-12  0:26 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-09 10:07 ` Антон Мидюков
2022-02-09 10:15     ` Антон Мидюков
2022-02-09 11:34       ` Leonid Krivoshein
2022-02-09 13:37           ` Антон Мидюков
2022-02-09 14:16               ` Антон Мидюков
2022-02-09 14:32             ` Leonid Krivoshein
2022-02-09 15:42       ` Konstantin Lepikhov
2022-02-09 17:36         ` Leonid Krivoshein
2022-02-11 11:27           ` Konstantin Lepikhov
2022-02-11 11:46             ` Sergey V Turchin
2022-02-11 11:51               ` Антон Мидюков
2022-02-11 12:34             ` Leonid Krivoshein
2022-02-11 12:42               ` Leonid Krivoshein
2022-02-11 13:50               ` Konstantin Lepikhov
2022-02-12  0:26                 ` Leonid Krivoshein [this message]
2022-02-09 11:05   ` Sergey V Turchin
2022-02-09 11:11     ` Антон Мидюков
2022-02-09 11:23       ` Sergey V Turchin
2022-02-10  8:17     ` Anton V. Boyarshinov
2022-02-10 16:53       ` Leonid Krivoshein
2022-02-11  9:14         ` Anton V. Boyarshinov
2022-02-10 17:03       ` Leonid Krivoshein

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20d76c30-7b78-6ed5-2c19-88b45ef2149a@gmail.com \
    --to=klark.devel@gmail.com \
    --cc=devel-distro@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Distributions development

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-distro/0 devel-distro/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel-distro devel-distro/ http://lore.altlinux.org/devel-distro \
		devel-distro@lists.altlinux.org devel-distro@lists.altlinux.ru devel-distro@lists.altlinux.com
	public-inbox-index devel-distro

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel-distro


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git