Author Topic: Installing Grub2  (Read 4999 times)

cumali

  • Member
  • Posts: 44
  • Karma: +3/-0
    • View Profile
Installing Grub2
« on: March 05, 2012, 07:44:24 AM »
To install GRUB2 and os-prober to detect your other systems:

Code: [Select]
sudo packer -S grub2-bios os-prober
Code: [Select]
sudo grub_bios-install /dev/sdX (replace X with yours)
Code: [Select]
sudo grub-mkconfig -o /boot/grub/grub.cfg
Code: [Select]
sudo grub_bios-install /dev/sda
source: Bridge linux README: Install Extras
was tested: http://opensource-tr.org/destek/thread-672.html
                   http://forum.ubuntu-tr.net/index.php?topic=32504.0

« Last Edit: March 10, 2012, 03:28:18 PM by cumali »

Ninja-1

  • Administrator
  • Bridger
  • *****
  • Posts: 802
  • Karma: +27/-0
    • View Profile
    • Miller Technologies
Re: Installing Grub2
« Reply #1 on: March 05, 2012, 09:41:37 AM »
This is useful information, I am going to have a wiki up soon that you can possibly help with.
Wanna help and know multiple languages? Check out the Bridge Linux Translation Project.

cumali

  • Member
  • Posts: 44
  • Karma: +3/-0
    • View Profile
Re: Installing Grub2
« Reply #2 on: March 05, 2012, 09:59:26 AM »
would be very nice :)

Patrick

  • Member
  • Posts: 3
  • Karma: +0/-0
  • like growing Linux Community
    • View Profile
Re: Installing Grub2
« Reply #3 on: April 17, 2012, 03:19:45 PM »
grub_bios-install doesn't work. isn't it grub-install ?

YFDogan

  • Member
  • Posts: 99
  • Karma: +5/-0
    • View Profile
Re: Installing Grub2
« Reply #4 on: April 17, 2012, 04:35:27 PM »
Try this:
Code: [Select]
# pacman -S grub2-bios os-prober
Code: [Select]
sudo grub-install /dev/sda
Code: [Select]
sudo grub-mkconfig -o /boot/grub/grub.cfg
Code: [Select]
sudo grub-install /dev/sda
Dell İnspiron N5110, İ7 proceccor, 8GB DDR Ram, Nvidia-İntel Graphic card (succesfull with bumblebee),Primary and only OS Bridge Linux KDE 2012.5

Ninja-1

  • Administrator
  • Bridger
  • *****
  • Posts: 802
  • Karma: +27/-0
    • View Profile
    • Miller Technologies
Re: Installing Grub2
« Reply #5 on: April 17, 2012, 10:21:34 PM »
Yep, it just got changed upstream in an update not too long ago.
Wanna help and know multiple languages? Check out the Bridge Linux Translation Project.

Patrick

  • Member
  • Posts: 3
  • Karma: +0/-0
  • like growing Linux Community
    • View Profile
Re: Installing Grub2
« Reply #6 on: April 18, 2012, 09:21:07 AM »
yes this seems to work but only if you change the default install config :
/boot partition shouldn't be ext2 !
I don't remember the error message, Grub2 should be installed on ext3 ? or ext4 partition
(hope I'm clear enough, English isn't my mother tongue)

Ninja-1

  • Administrator
  • Bridger
  • *****
  • Posts: 802
  • Karma: +27/-0
    • View Profile
    • Miller Technologies
Re: Installing Grub2
« Reply #7 on: April 18, 2012, 09:52:46 AM »
There's a differen't method for using a /boot partition. https://wiki.archlinux.org/index.php/GRUB2#Install_to_Partition_or_Partitionless_Disk
Wanna help and know multiple languages? Check out the Bridge Linux Translation Project.

Patrick

  • Member
  • Posts: 3
  • Karma: +0/-0
  • like growing Linux Community
    • View Profile
Re: Installing Grub2
« Reply #8 on: April 18, 2012, 12:41:42 PM »
it has worked the way you said YFDogan  :)

ludvick

  • Bridger
  • Posts: 231
  • Karma: +13/-0
    • View Profile
Re: Installing Grub2
« Reply #9 on: April 29, 2012, 05:10:30 PM »
@YFDogan

From me +1 for great working solution! Thanks!
« Last Edit: April 29, 2012, 05:41:49 PM by ludvick »

YFDogan

  • Member
  • Posts: 99
  • Karma: +5/-0
    • View Profile
Re: Installing Grub2
« Reply #10 on: April 30, 2012, 12:59:43 AM »
U re wellcome friends.
Dell İnspiron N5110, İ7 proceccor, 8GB DDR Ram, Nvidia-İntel Graphic card (succesfull with bumblebee),Primary and only OS Bridge Linux KDE 2012.5

cumali

  • Member
  • Posts: 44
  • Karma: +3/-0
    • View Profile
Re: Installing Grub2
« Reply #11 on: April 30, 2012, 04:56:06 AM »
now is not up to date

Code: [Select]
# grub-install /dev/sda
source_dir doesn't exist. Please specify --target or --directory

may be the solution

Code: [Select]
# grub-install --directory=/usr/lib/grub/i386-pc --target=i386-pc --grub-setup=/bin/true --boot-directory=/boot --recheck --debug /dev/sda
https://wiki.archlinux.org/index.php/Grub2