custom CD not working for 22.04.3

Jerry Geis jerry.geis at gmail.com
Tue Nov 28 16:10:27 UTC 2023


On Tue, Nov 28, 2023 at 11:00 AM Colin Law <clanlaw at gmail.com> wrote:

> On Tue, 28 Nov 2023 at 14:17, Jerry Geis <jerry.geis at gmail.com> wrote:
>
> >
> > livefs-edit ubuntu-22.04.3-live-server-amd64.iso test.iso --cp grub.cfg
> /boot//grub//grub.cfg
> >
>
> Why have you got the double slashes?  I don't expect it to make a
> difference but worth trying.
>
> Colin L
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users




 python3 -m livefs_edit ubuntu-22.04.3-live-server-amd64.iso test.iso --cp
grub.cfg  /boot/grub/grub.cfg
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 "/usr/local/lib/python3.10/dist-packages/livefs_edit/__main__.py",
line 75, in <module>
    main(sys.argv[1:])
  File "/usr/local/lib/python3.10/dist-packages/livefs_edit/__main__.py",
line 66, in main
    func(ctxt, **kw)
  File "/usr/local/lib/python3.10/dist-packages/livefs_edit/actions.py",
line 105, in cp
    shutil.copy(ctxt.p(source), ctxt.p(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/tmptffibk85/grub.cfg'

removed the extra / and still nothing. Thanks


Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20231128/f255bd67/attachment.html>


More information about the ubuntu-users mailing list