help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tool to test/preview Grub2 themes?


From: Sebastian Pipping
Subject: Re: Tool to test/preview Grub2 themes?
Date: Mon, 16 Feb 2015 14:30:08 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

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
> 
> address@hidden:~/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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]