Hello Andrei,
On 11.02.2015 07:31, Andrei Borzenkov wrote: > Dropping super-user requirement would be useful. You can build rescue > CD using grub-mkrescue that does not require any root and QEMU itself > certainly does not require it. just dropped sudo on KVM, good point. When working with KVM I am usually dealing with block devices rather than regular files. That's how sudo got in there. I would love to drop use of sudo/root altogether, but I'm afraid it's not trivial: While grub-mkrescue does have a --themes=THEMES parameter, I need support for copying files in from an arbitrary folder, including a grub config file. I don't see support for that. > Oh, and many ditros install new grub as grub2. I tried it on openSUSE: > > cp: невозможно создать обычный файл > «/home/bor/src/grub2-theme-preview/3a3b931c4be83230c53f444e83e1d4935fe99ead099f8a3b7679f6ad8592f3d8/boot/grub/grub.cfg»: > Нет такого файла или каталога > > (No such file or directory) > > which is correct > > bor@opensuse:~/src/grub2-theme-preview> LC_ALL=C ll > 3a3b931c4be83230c53f444e83e1d4935fe99ead099f8a3b7679f6ad8592f3d8/boot/ > total 13 > drwxr-xr-x 5 root root 1024 Feb 11 09:27 grub2 > drwx------ 2 root root 12288 Feb 11 09:26 lost+found Interesting. I guess a new parameter and maybe auto-detection is needed. At least for anything new, please open a ticket at GitHub: https://github.com/hartwork/grub2-theme-preview/issues Best, Sebastian _______________________________________________ Help-grub mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-grub
