Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to build GRUB without NCURSES
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
chromaf
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2013
Posts: 79

PostPosted: Sun Sep 29, 2013 10:39 am    Post subject: How to build GRUB without NCURSES Reply with quote

Hi. I want to try to build grub without Ncurses becasue when I build it whith it, grub drops me an error telling me that it cant find them. How do I do this with emerge ?

Thank you.
Back to top
View user's profile Send private message
mrbassie
Apprentice
Apprentice


Joined: 31 May 2013
Posts: 243

PostPosted: Sun Sep 29, 2013 12:25 pm    Post subject: Reply with quote

Code:
# USE="-ncurses" emerge grub


or

Code:
# echo "sys-boot/grub -ncurses" >> /etc/portage/package.use && emerge grub


I've no idea what the result will be.


Last edited by mrbassie on Sun Sep 29, 2013 12:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
netixen
n00b
n00b


Joined: 26 Sep 2013
Posts: 31

PostPosted: Sun Sep 29, 2013 12:40 pm    Post subject: Reply with quote

mrbassie wrote:
Code:
# USE="-ncurses" emerge grub


or

Code:
# echo "sys-boot/grub -ncurses" > /etc/portage/package.use && emerge grub


I've no idea what the result will be.


Hi,
if you do that echo you will wipe your package.use.
At which point depending on your defaults emerge might do even more damage.
Back to top
View user's profile Send private message
mrbassie
Apprentice
Apprentice


Joined: 31 May 2013
Posts: 243

PostPosted: Sun Sep 29, 2013 12:48 pm    Post subject: Reply with quote

:? Isn't it an empty file on a new install anyway?
I'll edit it.
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 9120

PostPosted: Sun Sep 29, 2013 3:51 pm    Post subject: Reply with quote

mrbassie wrote:
:? Isn't it an empty file on a new install anyway?
I'll edit it.
New installs may not ship with it, but users may have already populated it while installing other packages. Some readers may happen upon your advice when trying to switch to an affected GRUB version after installing their systems.
Back to top
View user's profile Send private message
i92guboj
Moderator
Moderator


Joined: 30 Nov 2004
Posts: 10118
Location: Córdoba (Spain)

PostPosted: Sun Sep 29, 2013 4:37 pm    Post subject: Reply with quote

Static linking might be an option as well.
_________________
Gentoo Handbook | My website
Back to top
View user's profile Send private message
mrbassie
Apprentice
Apprentice


Joined: 31 May 2013
Posts: 243

PostPosted: Sun Sep 29, 2013 9:16 pm    Post subject: Reply with quote

Hu wrote:
mrbassie wrote:
:? Isn't it an empty file on a new install anyway?
I'll edit it.
New installs may not ship with it, but users may have already populated it while installing other packages. Some readers may happen upon your advice when trying to switch to an affected GRUB version after installing their systems.


True. :oops:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum