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: Andrei Borzenkov
Subject: Re: Tool to test/preview Grub2 themes?
Date: Mon, 16 Feb 2015 20:39:33 +0300

В Mon, 16 Feb 2015 14:30:08 +0100
Sebastian Pipping <address@hidden> пишет:

> 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.

grub-mkrescue ... /boot/grub/grub.cfg=/tmp/tmp.abcdef

It supports standard graft syntax and you can pass arbitrary xorriso
options as well.

> 
> 
> > 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]