SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 Help & Support (Other) » need to change menu title on grub2 » 2015-10-19 10:37:14

ejames82
Replies: 1

hello,


to be fair, I am letting it be known beforehand that I am posting this on other quality forums as well.  I hope I don't offend anyone and I will share all helpful info.


the problem:

need to change menu title on grub2.  to change this, I am supposed to edit the /etc/grub.d/30_os-prober file.  I can edit the /etc/grub.d/30_os-prober file, but as soon as I update grub and reboot, grub2 still shows Microsoft Windows XP Professional (on /dev/sda1)    my edit to the /etc/grub.d/30_os-prober file does not change, (it appears to be permanently saved, even after rebooting and updating grub2), yet it doesn't show on grub2 menu at boot.  anyone with suggestions or advice would be most appreciated.  could I have a permissions issue, how would I check/verify?

from the beginning:
when the computer boots up, first I get the bios splash screen, then I get the first grub screen.  listed among the entries is this:
Microsoft Windows XP Professional (on /dev/sda1)

I would rather have it say this:
choose between XP Professional and tinycore
below are highly regarded tutorials that show how to do it:
http://ubuntuforums.org/showthread.php?t=1287602
http://ubuntu-install.blogspot.com/2009 … weaks.html

both of these tutorials say the same thing.
1. Run this command to get the current Grub 2 menu entries:
sudo cat /boot/grub/grub.cfg | grep "menuentry" | cut -d '"' -f 2
2. This section appears around line 150 of the file.
3. Copy the exact title you wish to change (Example: Microsoft Windows XP Home Edition ) and place it between the quotes in the first line below. Note the title does not include the portion "(on /dev/sdXX)"
Enter the desired title between the quotes in the second line below - in this example, "Windows XP" would replace "Enter Desired New Title Here".
--------------------------------------------------------------------------------------------------------------------------
# if [ -z "${LONGNAME}" ] ; then
#    LONGNAME="${LABEL}"
# fi

  if [ "${LONGNAME}" = "Enter Exact Title You Just Copied" ] ; then
    LONGNAME="Enter Desired New Title Here"
  elif [ -z "${LONGNAME}" ] ; then
    LONGNAME="${LABEL}"
  fi

-----------------------------------------------------------------------------------------------------------------


here is what I did.  it is the exact edit in the 30_os-prober file:

-----------------------------------------------------------------------------------------------------------------

#  if [ -z "${LONGNAME}" ] ; then
#    LONGNAME="${LABEL}"
#  fi


if [ "${LONGNAME}" = "Microsoft Windows XP Professional (on /dev/sda1)" ] ; then
  LONGNAME="choose between xp pro and tinycore"
elif [ -z "${LONGNAME}" ] ; then
  LONGNAME="${LABEL}"
fi

-----------------------------------------------------------------------------------------------------------------------

I have looked it over a dozen times.  I can't see where I have done anything wrong.  it appears to be correct.

there is more to the story, but I didn't think it was relevant and I didn't want to clutter the thread.  here is a link:
http://reboot.pro/topic/20752-noobie-ne … ub4dos-hd/

thank you

#2 Re: CrunchBang Talk » tried crunchbang again. nice job. especially the installer. » 2011-11-09 15:27:57

Unia,

thanks for that info.


machinebacon,

Super-p would be the dmenu launcher in certain WMs, maybe it is intentionally left unused in #!...
maybe.

Ctrl-Alt-q opens the menu.
I like keyboard shortcuts, so maybe I am biased.

Maybe one day in the future the cb-welcome script would ask if certain shortcuts want to be customized
this would make a nice alternative.


thanks for the replies.

#3 Re: CrunchBang Talk » tried crunchbang again. nice job. especially the installer. » 2011-11-08 21:30:23

hello rhowaldt and VastOne,

in the interest of being fair, let me say that making the terminal a keyboard shortcut was a great move.

Super+S and Super+P don't do anything here
super+P is just begging to be used.  that is exactly what I was thinking two and a half years ago when I first tried crunchbang.  it's really not that big of a deal to me anymore, now that I am more skilled with linux in general (now I will install several programs at one time), but when you're a newbie and you're discovering the programs you need one at a time, that task of right-clicking and that little tiny menu entry searching for the way to install what you need among a list and asking yourself which one it is, if any.  everything else on that list belongs there.  I just feel in my opinion that accessing the package management deserves a keyboard shortcut.  nothing else.  it's evident that hard work continues to benefit crunchbang.

Welcome back to #! ejames82, glad to see you made it..
when it's a good OS, you always return.  smile

#4 CrunchBang Talk » tried crunchbang again. nice job. especially the installer. » 2011-11-08 18:15:49

ejames82
Replies: 6

hi,

I first installed crunchbang about two and a half years ago and it was quite good.  my biggest complaint was that I felt (and still feel, but not as strongly) that accessing the package management should be possible by a keyboard shortcut by default. 

super job by the installer.  it's as good as any that I have ever used, and I have used many.  it was great then, and it still is now.

it shows that alot of effort was put into the installation of software after the installation (cb-welcome).  being able to push any key as new software is being installed, being prompted about new software and the explanation of that software was organized and delivered nicely.  I actually read all of it and installed just what I wanted and didn't install what I did not want.

it's always nice when the OS is fast too, by the way.

anyway I just wanted to give a little feedback and say I am going to try it again for a while and it's no surprise that crunchbang is one of the most popular distros.  deservedly so.  good job you guys.  smile

#5 Re: Help & Support (Crunchbang 11 "Waldorf") » help with dual-boot » 2009-06-22 14:15:00

maybe i will try each suggestion and weigh the benefits of each.  my problem is that OS's that, for instance, mepis, my wife didn't like, somehow was still on the HDD several installs later.  i just don't seem to be able to direct which OS goes where very well.  any screenshots would be helpful.  they're probably hard to get because you're not exactly in the OS at the time.
sorry i couldn't reply.  i worked several days.

#6 Re: Help & Support (Crunchbang 11 "Waldorf") » help with dual-boot » 2009-06-18 16:08:43

i think i see what i did wrong initially.  i chose ext3 when the first opportunity presented itself, disregarding and not even recognizing the rest of the options being offered.  i could not choose both ext3 and swap.  it was either one or the other.  i thought all partitions had to be ext3 and that's where i went wrong.  i didn't even notice swap on the list.

#7 Re: Help & Support (Crunchbang 11 "Waldorf") » help with dual-boot » 2009-06-18 14:43:44

iggy,

after hammering on a piece of paper for a while, this has been my determination:

3gb swap
67gb root
430gb home

crunchbang is going to be the OS that the computer boots to when she turns on the computer.  the other OS will be linux as well.  we're leaning toward PCOS, because it also can be used to print.
thanks for the reply.  it was very easy to read.  any other advice would be great.

#8 Re: Help & Support (Crunchbang 11 "Waldorf") » help with dual-boot » 2009-06-18 13:31:48

hi paul

i don't know why my eyes just did not see that.  excellent screenshot. 
how would you divide up 500gb of free space for crunchbang?  i thought the root and swap were supposed to be about the same, with home about three times as much as either root or swap.  i readily admit that i'm a newbie. 
i'll take all the advice you are willing to give me.
i tried installing mepis (and succeeded) last night, but now my crunchbang cannot be found. i thought i used the 500gb of unallocated space for it without interrupting the crunchbang installation, but i think it's gone. 
like i said, i'll take any advice you offer.
thanks.

#9 Help & Support (Crunchbang 11 "Waldorf") » help with dual-boot » 2009-06-18 12:43:20

ejames82
Replies: 13

my wife likes crunchbang linux.  she especially likes the fact it has drivers for her printer, but she wants to have dual-boot with another linux distro.  so she wants to make crunchbang the OS that her computer boots to after she pushes the power button.  it's a 1tb hard drive, so there's plenty of space.  i partitioned with gparted in this way:

1st 100gb primary /
2nd 100gb primary
3rd 300gb primary /home
4th 500 primary intended for use as another OS

i planned on making the first three partitions dedicated to crunchbang, and the 4th partition would be the other OS. 
i thought everything was going well.  i found the choice for root "/", and i found the choice for "/home", but i couldn't find anywhere in the installer, the option for swap space. there were plenty of other options, that i wondered why they were there, but i tried them anyway.   i tried "/boot", "dev", "var", "usr", in fact, i tried all the options cause i'm a newbie, maybe one of these options is actually the swap and i don't know it yet.  each was rejected.  i was never able to find the choice for swap partition.  i kept getting pop-ups saying "you need to choose a swap partition".
i know it doesn't make sense to use 4 primary partitions, but i'm a newbie.  at least i'm trying "something".  for what it's worth, this is probably the only time i will ever have a dual-boot hard drive.  i have seen tutorials several pages long and i just got lost in the haze.  these tutorials are applied to very complicated scenarios, and my problem is relatively simple.  two OS's, 500gb's each, with crunchbang as "Master", and where's the option to choose swap located in the crunchbang manual installer?  thanks.

#10 Help & Support (Crunchbang 11 "Waldorf") » unable to login with xp hard drive installed » 2009-05-08 16:19:14

ejames82
Replies: 1

i am able to log in with the crunchbang hard drive installed, but when i install the windows xp hard drive, i get a message that says it appears i have logged in successfully, but i need to have cookies enabled.  the problem is, i already allowed the cookie.  i have also disabled my antivirus and firewall, to no avail. 
any ideas?

#11 Feedback & Suggestions » nice job with printer drivers. package manager a little inconvenient. » 2009-05-08 12:32:49

ejames82
Replies: 2

i am new to crunchbang.  my wife liked the name, so why not give it a try and make her happy.  i was pleasantly surprised.  though not pretty (and i think pretty is overrated), it's lightning fast (i really, really like fast).  i couldn't believe how quick my ebay page came up.
my wife immediately found a suitable desktop picture and had me point her to the package manager (a keyboard shortcut like super + p would have been perfect for this).  shortly thereafter she told me that the drivers for her printer were listed in the package manager.  i spent a whole day trying to install ubuntu edgy eft just so i could use the printer with linux, but failed.  within 5 minutes, she printed a page.  i had to go change undergarments.
also i would like to commend the choice to use super + t as a shortcut for the terminator terminal.

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo