Amine212 / burg

Automatically exported from code.google.com/p/burg
0 stars 0 forks source link

fedora install BURG #36

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
my OS is fedora ,how to install BURG like on ubuntu installed

Original issue reported on code.google.com by feilo...@gmail.com on 15 Jan 2012 at 11:57

GoogleCodeExporter commented 8 years ago
I am using fedora 16. I have had some success in installing BURG, following 
this page: 
http://code.google.com/p/burg/wiki/ManualInstall 

In the "Compile and Install" step, however, I ran into a problem when running 
the "make" command:
/home/user/burg/efiemu/main.c:288:14: error: the variable 'err' is set but not 
used.[-Werror=unused-but-set-variable]
To work around this, I edited $HOME/burg_pc/Makefile by searching for the first 
occurrence of "-Werror" (there was only one instance) and removing that option.
(A similar workaround seemed to work for burg-emu.)
I was then able to run make (with several warnings) and make-install and ran 
burg-install and burg-mkconfig (as specified in the wiki link).
Upon reboot, BURG loaded, but in text-only mode. Does anyone know how to fix 
this?

Original comment by wbar8...@gmail.com on 17 Feb 2012 at 1:20

GoogleCodeExporter commented 8 years ago
[SOLVED]
Instructions for installing BURG for Fedora 16 are as follows.
Instructions are modified from the manual install instructions found at this 
page:
http://code.google.com/p/burg/wiki/ManualInstall

PREPARATION
To compile the pc version of BURG, you need install build dependence:
sudo yum install autoconf automake bison flex make gcc ruby python 
gettext-devel freetype-devel

DOWNLOAD SOURCE CODE
First, install bazaar:
sudo yum install bzr
To download source for the first time:
bzr branch lp:burg
After each update, you need to regenerate the configuration files by running 
this command in the burg source directory:
./autogen.sh

COMPILE AND INSTALL
To compile pc version of BURG:
mkdir $HOME/burg_pc
cd $HOME/burg_pc
$HOME/burg/configure --with-platform=pc --prefix=$HOME/burg_install
Now you'll need to go into the $HOME/burg_install directory, and open Makefile 
in gedit. Search the file for "-Werror" (there should only be one occurrence), 
and delete that option. You should now be able to (still in the $HOME/burg_pc 
directory) run the following commands:
make
make install

INSTALLATION
Go ahead and install BURG now:
sudo $HOME/burg_install/sbin/burg-install /dev/sda
sudo $HOME/burg_install/sbin/burg-mkconfig -o /boot/burg/burg.cfg
Now you need to download the fonts and themes:
http://code.google.com/p/burg/downloads/detail?name=burg-themes_20100607.zip&can
=2&q=
Copy all contents of the zip to the /boot/burg directory.

CONFIGURATION
Go to the $HOME/burg_install/etc/default directory and open burg in gedit. I 
found that in order to explicitly state the BURG theme, rather than using the 
nifty "saved" option. I also had to set a few other values as well. Here are 
all the ones I changed:
GRUB_TERMINAL=gfxterm
GRUB_THEME="radiance"
GRUB_FONT="/boot/burg/fonts/unifont.pf2"
After making the necessary challenges, run mkconfig again:
sudo $HOME/burg_install/sbin/burg-mkconfig -o /boot/burg/burg.cfg

Now reboot! Hopefully it worked.

Original comment by wbar8...@gmail.com on 17 Feb 2012 at 4:28

GoogleCodeExporter commented 8 years ago
Thanks, I had the same problem and finally found a solution here!

Original comment by zhangha...@gmail.com on 30 Oct 2013 at 12:37

GoogleCodeExporter commented 8 years ago
Also worked for me! Thanks

Original comment by martinbe...@gmail.com on 26 Nov 2013 at 5:57