LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 07-26-2013, 01:28 PM   #1
ShamboPyro
LQ Newbie
 
Registered: Jul 2013
Posts: 2

Rep: Reputation: Disabled
GRUB (grub2 i guess) won't install to the PBR


So here is the deal:

I installed osx mountain lion onto my pre-existing windows-ubuntu dual boot. Now I want to install chameleon to the MBR to replace GRUB. But before I do that, I need to make the linux partiton bootable so that chameleon will recognize. So in Ubuntu, I entered the following command

sudo grub-install /dev/sdb3 and got the following message:

/usr/sbin/grub-probe: error: cannot find a GRUB drive for /dev/sdb3. Check your device.map.

What does this even mean? Also note that sdb3 is the extended partition that has the ubuntu partition and the swap space. Please help.
 
Old 07-26-2013, 04:56 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,392

Rep: Reputation: 1699Reputation: 1699Reputation: 1699Reputation: 1699Reputation: 1699Reputation: 1699Reputation: 1699Reputation: 1699Reputation: 1699Reputation: 1699Reputation: 1699
Quote:
Also note that sdb3 is the extended partition that has the ubuntu partition
Wrong partition. You can't install anything to an Extended partition as it is just a container for other logical partitions. You would have to point it to the correct partition which would be the / (root) partition where the Ubuntu filesystem containing boot files exists. If it is on an Extended partition, it would be sda5 or higher. You can get that info with the fdisk -l or df -h commands. The command you entered is wrong and the command below should work if your boot files are on sda5. The example below should be run from a Live CD of the same OS and with the same Grub version after creating the mount point (/mnt/sda5) and mounting the partition:

Quote:
sudo grub-install --root-directory=/mnt/sda5 /dev/sda5
If the above fails, you can use the force option as in the example below:

Quote:
sudo grub-install --force --root-directory=/mnt/sda5 /dev/sda5
You can get a lot of information on Ubuntu and Grub at the Ubuntu site at the link below:

https://help.ubuntu.com/community/Grub2/Installing
 
Old 07-28-2013, 12:49 AM   #3
ShamboPyro
LQ Newbie
 
Registered: Jul 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
I fixed it, it wasn't the extended partition thing but a whole other mess. Thanks though!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to dual-boot Fedora 18 and Windows 8 on 1 HDD, with GRUB in a PBR LXer Syndicated Linux News 0 02-06-2013 07:30 PM
[SOLVED] Grub/ Grub2/ Lilo - canīt install any of them properly! spoovy Slackware 26 11-19-2010 06:35 AM
grub2 detects Mac OSX on sdb, but doesn't install it to grub.cfg? JohnLocke Linux - Newbie 16 02-17-2010 05:10 PM
How do I install Grub into the Partition Boot Record (PBR)? sirbender Linux - General 3 01-06-2009 11:04 PM
Bad PBR sig when trying to boot FC5 install DVD Eccentric Linux - Newbie 6 11-29-2006 10:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 02:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration