Author Topic: Grub2 upgrade  (Read 357 times)

0 Members and 1 Guest are viewing this topic.

Offline Rich J

  • Full Member
  • ***
  • Posts: 209
  • Karma: 2
  • Gender: Male
  • A Linux Luvvie!
    • View Profile
    • Awards
Grub2 upgrade
« on: May 08, 2014, 08:32:30 am »
Morning everyone!

I've upgraded from Grub Legacy to Grub2 and now I'm trying to install a Grub config tool but with no success!

Grub Customizer isn't in Synaptic and attempting to download via Terminal gives this error -

$ sudo add-apt-repository ppa:danielrichter2007/grub-customizer
[sudo] password for richard:
You are about to add the following PPA to your system:
 This PPA contains the latest release of Grub Customizer.

sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer
 More info: https://launchpad.net/~danielrichter2007/+archive/grub-customizer
Press [ENTER] to continue or ctrl-c to cancel adding it

Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 160, in <module>
    sp = SoftwareProperties(options=options)
  File "/usr/lib/python2.7/dist-packages/softwareproperties/SoftwareProperties.py", line 96, in __init__
    self.reload_sourceslist()
  File "/usr/lib/python2.7/dist-packages/softwareproperties/SoftwareProperties.py", line 584, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)   
  File "/usr/lib/python2.7/dist-packages/aptsources/distro.py", line 87, in get_sources
    raise NoDistroTemplateException("Error: could not find a "
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template


Now - I'm running Mint 13 KDE, which can be a bit quirky to say the least  ::) and KDE has it's own tool - kcm-grub2.  For the life of me I can't get this installed!  It's not in Synaptic and Terminal returns this -

$ sudo apt-get install kcm-grub2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package kcm-grub2


Have I missed something?

It's not critical - I'm just learning about the system but I'd like to tidy up the grub menu and add a few colours etc............ all part of the process?  ;)

TIA

Rich

 

Offline Emegra

  • Hero Member
  • *****
  • Posts: 2679
  • Karma: 54
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Grub2 upgrade
« Reply #1 on: May 08, 2014, 10:00:32 am »
Hi Richard

If you want Grub Customizer you need to add the ppa to your sources list, you'll find the ppa here

https://launchpad.net/~danielrichter2007/+archive/grub-customizer


Good luck

Graeme
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13979
  • Karma: 347
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Grub2 upgrade
« Reply #2 on: May 08, 2014, 10:58:38 am »
If you want kcm-grub2 run:
Code: [Select]
sudo apt-get install kde-config-grub2

Word of advice .. before messing with tools like this, backup the grub configuration files:
Code: [Select]
sudo cp -v /boot/grub/grub.cfg /boot/grub/grub.cfg.bak
and
Code: [Select]
sudo cp -v /etc/default/grub /etc/default/grub.bak
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline Rich J

  • Full Member
  • ***
  • Posts: 209
  • Karma: 2
  • Gender: Male
  • A Linux Luvvie!
    • View Profile
    • Awards
Re: Grub2 upgrade
« Reply #3 on: May 09, 2014, 09:16:56 am »
Thanks both!

@ Graeme

That link doesn't work for me  - terminal spits out the same error message as in my original post.

@ Mark

That has worked and is installed and warnings duly noted! ;)

I don't do much actual 'computing' any more, in terms of files created, information critical etc.  More it is the 'learning of' the system and how to configure it to one's own needs. As a keen DIYer, Linux is definitely 'right up my alley'!    ;D

Rich

 

Offline Emegra

  • Hero Member
  • *****
  • Posts: 2679
  • Karma: 54
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Grub2 upgrade
« Reply #4 on: May 09, 2014, 06:38:23 pm »
Quote
That link doesn't work for me  - terminal spits out the same error message as in my original post.

Yeah I just gave you a link to what you had already tried, I obviously need to read posts more thoroughly before offering suggestions :)


Anyway glad you got it sorted



Graeme
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal