LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help with grub (https://www.linuxquestions.org/questions/linux-newbie-8/help-with-grub-4175434522/)

sycho123321 10-28-2012 03:44 PM

Help with grub
 
Hello i just installed grub custumizer but found i dont have grub or or burg if someone could tell me how to install ither one that would be great

Ztcoracat 10-28-2012 04:28 PM

Hi:

Here's a step by step on How To Install Grub:
http://www.gnu.org/software/grub/man...2dinstall.html

And here's the full tutorial:
http://www.dedoimedo.com/computers/grub.html

Best Regards:hattip:

sycho123321 10-28-2012 04:44 PM

ok so acually can you help me with burg im on debian

Ztcoracat 10-28-2012 04:54 PM

Do you mean burg instant messaging?

Or do you mean the German term http://www.burgimmobilien.de/
My German is very rusty-

sycho123321 10-28-2012 05:00 PM

http://http://www.unixmen.com/how-to...urg-in-ubuntu/ but for debian

Ztcoracat 10-28-2012 05:14 PM

I found the manual instructions:
http://code.google.com/p/burg/wiki/ManualInstall

I'm still looking for another way to help you-
https://wiki.archlinux.org/index.php/BURG

sycho123321 10-28-2012 05:54 PM

apt-get build-dep burg-pc burg-emu

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: You must put some 'source' URIs in your sources.list

Ztcoracat 10-28-2012 06:05 PM

Here a member listed what should be in your sources.list for Debian
http://www.linuxquestions.org/questi...e-list-330913/

Here is my sources list:

Code:

deb http://ftp.us.debian.org/debian/ squeeze main contrib non-free
#deb-src http://ftp.us.debian.org/debian/ squeeze main contrib non-free

deb http://security.debian.org/ squeeze/updates main contrib non-free
#deb-src http://security.debian.org/ squeeze/updates main contrib non-free

deb http://www.deb-multimedia.org squeeze main non-free

deb http://ftp.us.debian.org/debian/ squeeze-proposed-updates contrib non-free main

deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free

deb http://mozilla.debian.net/ squeeze-backports iceweasel-release


sycho123321 10-28-2012 06:10 PM

i used yours and still it does not work

sycho123321 10-28-2012 06:14 PM

wait ill use all of his

sycho123321 10-28-2012 06:17 PM

even whith all of his i still get apt-get build-dep burg-pc burg-emu
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: You must put some 'source' URIs in your sources.list

Ztcoracat 10-28-2012 06:20 PM

Debian Sid is the unstable version so you wouldn't want that http: in your sources list. At least I wouldn't-

Is it working now?

Ztcoracat 10-28-2012 06:28 PM

Are you using the terminal to edit your sources list?

I use Nano and when I do I open the terminal and run this to bring up my list and edit it-
Code:

nano /etc/apt/sources.list
Than add all of the http: <address, etc...>
During the process of editing your list in the terminal you should see the word Modify.
Make sure you save the chances before you close your terminal.

Or are you editing your sources list through Synaptic?

sycho123321 10-28-2012 06:38 PM

i use gedit but i got all my sources discombobulated should i use yours

Ztcoracat 10-28-2012 06:42 PM

Yes,
as long as your running Debian Squeeze. Take your time don't rush through your sources list one mistake can make communication with the Debian website and backports null and void even if your off by one letter.

sycho123321 10-28-2012 06:44 PM

....

sycho123321 10-28-2012 06:46 PM

i have squeeze but when i apt-get update it says at the end
W: GPG error: http://mozilla.debian.net squeeze-backports Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 85A3D26506C4AE2A
W: GPG error: http://www.deb-multimedia.org squeeze Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 07DC563D1F41B907

Ztcoracat 10-28-2012 06:51 PM

I'm sorry I'm not on my Debian Squeeze machine now. I'm away from my Desktop Pc-
I'm using my Win's 7 Sony Vaio to help you.

From the Debian Webpage for public key:
http://keyring.debian.org/

In the past I had trouble with a public key and a member here helped me. I'll go and find the Solved thread and post it for you.;)

Here is where Mr. Evo helped me to solve the gpg key problem that I had.
http://www.linuxquestions.org/questi...te-4175426643/

How's it going?

sycho123321 10-28-2012 07:11 PM

the keys did not fix but i dont care right now i jut want to install grub 2

Ztcoracat 10-28-2012 07:22 PM

Ok, you want to install Grub 2. Before you do are you in a dual boot with another operating system?


"Debian Squeeze and later"

Grub "v2" for Debian (package grub) can be installed with:

apt-get install grub

http://wiki.debian.org/Grub

sycho123321 10-28-2012 07:30 PM

Quote:

Originally Posted by Ztcoracat (Post 4817065)
Ok, you want to install Grub 2. Before you do are you in a dual boot with another operating system?


"Debian Squeeze and later"

Grub "v2" for Debian (package grub) can be installed with:

apt-get install grub

http://wiki.debian.org/Grub

yes i have a dualboot whith backtrack i have already apt-get install grub but how do i make it com in afect

Ztcoracat 10-28-2012 07:33 PM

You typed com....what do you mean by 'com' Do you mean compile?

And you typed afect....please spell out your words I'm having trouble understanding what you mean-

sycho123321 10-28-2012 07:38 PM

sorry i men't come in efect because i am still using v1 for some reason

Ztcoracat 10-28-2012 07:44 PM

If you have already successfully installed Grub; re-boot your computer.

After your system re-starts your system will automatically boot to Debian (if you arranged it that way)
If not; Backtrack will boot first.

Which ever operating system you arrange to boot first will boot otherwise use the up, down, left, right arrows to boot which operating system you want to use-

sycho123321 10-28-2012 07:49 PM

but i have rebooted and it still uses the older version but ill try rebooting again

sycho123321 10-28-2012 07:52 PM

ya it says it is gnu grub version 1.9.8-ubuntu

Ztcoracat 10-28-2012 08:01 PM

Ok, I explained what is going on in this thread in a new General thread that I posted.
I have asked if other members here if they would jump in and help me to help you because I am out of ideas.

Grub 2 shouldn't be difficult perhaps I missed something so I will re-read the instructions:
https://wiki.archlinux.org/index.php/GRUB2

sycho123321 10-28-2012 08:02 PM

Quote:

Originally Posted by Ztcoracat (Post 4817090)
Ok, I explained what is going on in this thread in a new General thread that I posted.
I have asked if other members here if they would jump in and help me to help you because I am out of ideas.

Grub 2 shouldn't be difficult perhaps I missed something so I will re-read the instructions:
https://wiki.archlinux.org/index.php/GRUB2

ok thank you

Ztcoracat 10-28-2012 08:07 PM

You are welcome;)
Stepping up to the plate and saying that even I needed help I knew was the right thing to do.

I didn't know BTW that Grub 2 is the default boot-loader for Ubuntu.....I just found that out-
https://help.ubuntu.com/community/Grub2

And I also didn't know that:
no changes are made to the GRUB 2 menu until the update-grub command is run as root.

Which makes sense because Ubuntu is Debian based-

sycho123321 10-28-2012 08:11 PM

wait so 1.98 is grub 2?

Ztcoracat 10-28-2012 08:12 PM

Quote:

Originally Posted by sycho123321 (Post 4817097)
wait so 1.98 is grub 2?

I (think) so-

towheedm 10-28-2012 11:08 PM

OK, I'll say this first, I did not read all of the posts, but from the OP's first post, I'm assuming he/she is trying to customize/theme GRUB2. And since the OP's info shows that he/she is using Debian, I'll assume it's Debian stable or Squeeze. Squeeze installs GRUB2 by default, no need to install it again (unless or course you screwed it up).

Ubuntu has been using GRUB2 since Karmic (9.10) or probably even before that. I really started using Linux seriously from that point. Karmic used GRUB v1.97~Beta4. All GRUB versions above 1.97 is referred to as GRUB2, while all GRUB versions up to 0.97 is now referred to as GRUB-legacy.

Take note of this: BURG is a fork of GRUB2. It is no longer maintained, which means bugs and the like go unchecked.

Since the OP is also dual-booting with Backtrack, the GRUB version used by the latest release of Backtrack (from distrowatch.com) is v1.98. Depending on how the installations were done, the GRUB version in use will normally be from the last distro installed, provided of course that the user selected to install the bootloader from the installation scripts.

The version of GRUB in Squeeze is presently 1.98+20100804-14+squeeze1.

The following is purely informative. You can change the distro (Squeeze or Backtrack), which controls the configuration of GRUB2 that boots the system.

Let's assume you want the version of GRUB2 from Squeeze to control the boot sequence and your primary boot device is /dev/sda.
  • Boot into Squeeze.
  • Open a terminal window and enter
    Code:

    sudo grub-install /dev/sda
    .This will install the bootloader to the MBR of /dev/sda. Note that it is not recommended to install the bootloader of GRUB2 to a partition as may have been done previously for GRUB-legacy. If the installation was successfully, you'll get a Installation finished message.
  • Now update the GRUB configuration file (/boot/grub/grub.cfg). In the terminal window, enter
    Code:

    sudo update-grub
    . This will cause GRUB2 to search through the system for OSes and create a menuentry for each OSes and kernel versions found.
On your next reboot, the system will boot the version of GRUB2 from Squeeze and present you with a menu to select the OS/kernel to boot.

Now if you are looking to customize/theme GRUB2, have a look at my The Definitive Guide to Theming GRUB2 v1.99 Edition 3 Revision 1. The download also includes the second edition which covers GRUB2 v1.98. The download link is in my sigs.

For quite a few themes, check out this thread:
http://ubuntuforums.org/showthread.php?t=1823915

towheedm 10-28-2012 11:53 PM

OK, I should have taken the time to do it first. After looking at the other posts, I'll add these.

Where are you seeing GRUB v1? You also said, the GRUB2 version was 1.98-Ubuntu. This says you are booting GRUB2 from Backtrack, since it's based on Ubuntu. To see the version of GRUB you are using, open a terminal window and enter:
Code:

sudo grub-install --version
You'll get something like: grub-install (GRUB) 1.99-14. Post the output from the above command.

If you installed GRUB-legacy, you can revert to GRUB2, but first please clean up your sources.list file. I would not recommend that you install anything from the backports unless you know exactly what you are doing. You can really screw-up your installation. Leave that for after you have gained a bit more experience.

Here's a stock Squeeze sources.list file (use it to get your system back to normal):
Code:

deb http://ftp.us.debian.org/debian/ squeeze main non-free contrib
deb-src http://ftp.us.debian.org/debian/ squeeze main non-free contrib

deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free

# squeeze-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ squeeze-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian/ squeeze-updates main contrib non-free

After saving, enter in the terminal window:
Code:

sudo apt-get update
This will pull in all the updates. If you wish to install the updates at this point, go ahead:
Code:

sudo apt-get upgrade
This will upgrade the packages. If some kernel packages are held back, you may also want to do:
Code:

sudo apt-get dist-upgrade
Now if you want to install GRUB2 in Squeeze (for a PC/BIOS architecture):
Code:

sudo apt-get install grub-pc grub2-common
This will install GRUB2, configure it and generate the /boot/grub/grub.cfg configuration file.

Your next reboot will be from GRUB2 installed from Squeeze.

You can now further customize/theme GRUB2 according to my guide. Further info for configuring GRUB2 via /etc/default/grub can be found at (enter in the terminal window):
Code:

info -f grub -n 'Simple configuration'
Or read the complete manual with:
Code:

info grub
Hope this sheds a bit more light.

Ztcoracat 10-30-2012 01:03 AM

Towheedm:

Thank you for jumping in and helping.

I was not aware that Burg is no longer maintained-
I couldn't find the guide for Sycho 123321 but you did. Thanks!
That Definitive Gude to Theming Grub2 looks good-

I knew from the beginning that Sycho 123321 had Grub from his Debian install but didn't know which (v1.99 or 1.9.8) he had.

Thanks again; Towheedm for helping us!

Sycho 123321:

Towheedm provided great information and instructions for you and now you can give this a go.

Keep in mind that Debian does not use "sudo" in Debian we use "su" than put your rootpassword in.

towheedm 10-30-2012 10:06 PM

Quote:

Originally Posted by Ztcoracat (Post 4817873)
Keep in mind that Debian does not use "sudo" in Debian we use "su" than put your rootpassword in.

Are you sure? From what I recall, I had to set a root password in Squeeze. The sudo utility was installed by default.

You can verify this from a clean install of Squeeze by looking at the /etc/shadow file:
Code:

root:!:15342:0:99999:7:::
And from man shadow:
Code:

      encrypted password
          Refer to crypt(3) for details on how this string is interpreted.

          If the password field contains some string that is not a valid
          result of crypt(3), for instance ! or *, the user will not be able
          to use a unix password to log in (but the user may log in the
          system by other means).

          This field may be empty, in which case no passwords are required to
          authenticate as the specified login name. However, some
          applications which read the /etc/shadow file may decide not to
          permit any access at all if the password field is empty.

          A password field which starts with a exclamation mark means that
          the password is locked. The remaining characters on the line
          represent the password field before the password was locked.

See:
Code:

man passwd    # or
man shadow

for more information.

Ztcoracat 10-31-2012 11:24 AM

I had two members in Debian testing tell me to only use 'su' and su only.

towheedm 10-31-2012 08:43 PM

Continuing that debate here would hijack to OP's thread. Probably you'd like to start a new thread for that.

BTW: I was simply responding to what you said:
Quote:

Keep in mind that Debian does not use "sudo" in Debian we use "su" ...

Ztcoracat 11-01-2012 12:47 AM

Quote:

Originally Posted by towheedm (Post 4819351)
Continuing that debate here would hijack to OP's thread. Probably you'd like to start a new thread for that.

BTW: I was simply responding to what you said:

Oh, only responding sorry, I got carried away:o

sycho123321 11-03-2012 05:48 PM

thanks

sycho123321 11-03-2012 07:48 PM

Quote:

Originally Posted by Ztcoracat (Post 4817873)
Towheedm:





Keep in mind that Debian does not use "sudo" in Debian we use "su" than put your rootpassword in.

I use sudo

sycho123321 11-03-2012 07:50 PM

can i just use grub-custumizer?

towheedm 11-03-2012 10:24 PM

Of course you can. It's your choice. I have never used it, so I can't say what it's capable of. I could not find it in the Debian repos.

sycho123321 11-04-2012 10:08 AM

ya i had to biuld it from source

sycho123321 11-04-2012 10:12 AM

on the theaming guide install.sh does not work

sycho123321 11-04-2012 02:05 PM

now it working tanks everyone!!!!:p :p ;) :)

towheedm 11-04-2012 05:41 PM

Quote:

Originally Posted by sycho123321 (Post 4821964)
on the theaming guide install.sh does not work

What problems are you having with it?


All times are GMT -5. The time now is 02:11 AM.