custom CD not working for 22.04.3
Jerry Geis
jerry.geis at gmail.com
Tue Nov 28 14:10:18 UTC 2023
On Tue, Nov 28, 2023 at 8:22 AM Oliver Grawert <ogra at ubuntu.com> wrote:
> Hi,
> Am Dienstag, dem 28.11.2023 um 08:09 -0500 schrieb Jerry Geis:
> > I am trying the simplest method to create a custom cd.
> > All I need is a new grub.cfg.
>
> assuming you only want to change the kernel cmdline, have you seen:
>
> https://github.com/mwhudson/livefs-editor
>
> which is provided by our installer maintainer to edit server install
> media ? that should help without you having to jump through too many
> hoops ...
>
> ciao
> oli
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
So their readme is "very" confusing to someone that does not know python
nothing on the readme says 'python3 -m livefs_edit'.
rm ../test.iso 2> /dev/null ; python3 -m livefs_edit
../ubuntu-22.04.3-live-server-amd64.iso ../test.iso --cp ../grub.cfg
/boot/grub/grub.cfg
set up loop device /dev/loop16 backing
../ubuntu-22.04.3-live-server-amd64.iso
found live iso9660 filesystem on /dev/loop16p1
running cp with arguments {'source': '../grub.cfg', 'dest':
'/boot/grub/grub.cfg'}
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File
"/home/silentm/CDROM.iso/Ubuntu.22.04/livefs-editor-main/livefs_edit/__main__.py",
line 105, in <module>
main(sys.argv[1:])
File
"/home/silentm/CDROM.iso/Ubuntu.22.04/livefs-editor-main/livefs_edit/__main__.py",
line 87, in main
func(ctxt, **kw)
File
"/home/silentm/CDROM.iso/Ubuntu.22.04/livefs-editor-main/livefs_edit/actions.py",
line 57, in impl
return func(ctxt, **kw)
File
"/home/silentm/CDROM.iso/Ubuntu.22.04/livefs-editor-main/livefs_edit/actions.py",
line 177, in cp
shutil.copy(interpret_path(ctxt, source), interpret_path(ctxt, dest))
File "/usr/lib/python3.10/shutil.py", line 417, in copy
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/usr/lib/python3.10/shutil.py", line 254, in copyfile
with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory:
'/tmp/tmp1vcuunzf/../grub.cfg'
I dont know what to do with that ?
Thanks
jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20231128/ce9c2e3e/attachment-0001.html>
More information about the ubuntu-users
mailing list