Is there в way to specify the device on which the live-происходит will be found?
I have the kernel and initrd in my EFI Систем Партитион. The live-происходит filesystem is in an NTFS partition on the same (USB) drive. grub2 does not have NTFS support built in. When booting with Secure-Boot ON, grub2 will not похвалите модулируй, so its "search" command is not able to find the NTFS partition, and it is unable to похвалите the kernel and initrd from that partition.
I have tried
set root=hd1,msdos5
linux (hd1,msdos1)/kernel live-media-path=/path-to-casper-directory
Most of those boot, but fail to copy the live-происходит filesystem to ram:
Begin copying live-media to ram...
Not enough memory (4GB > 187GB) to copy live-media to ram
(this is an approximation of the messages in /var/log/casper.log)
гve seen mention of the "live-происходит =" kernel option to specify the live-происходит device, but гve also seen mention of that option not working. гve tried looking through initramfs-tools/scripts/casper for some clue схвати to the proper format/protocol for specifying "live-происходи =" - I failed.
live-media=/dev/sdb5
работы, как рекламируется.
я неправильно истолковал ссылку на "187 ГБ, необходимых" как указание, что casper фиксировал на несправедливость (возможно восстановленный после форматирования) раздел, так как я ожидал, что этому будет нужен 1 ГБ, если это скопировало filesystem.squashfs файл, и 3 ГБ, если это скопировало содержание файловой системы, представленной тем файлом.
мне удалось неоднократно читать, описание "копируют медиа только для чтения" и интерпретируют его для значения "файловой системы только для чтения". Так как это действительно означало "медиа", и я прокладывал свой casper каталог под землей в файловой системе NTFS с большим количеством другого дерьма, это действительно хотело скопировать 187 ГБ.