LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 08-23-2015, 04:08 PM   #1
gmccoy
LQ Newbie
 
Registered: Aug 2015
Posts: 1

Rep: Reputation: Disabled
grub-install error


Hi,

I'm trying to set up grub (Chapter 8.4) but I'm getting an error.

Code:
# grub-install /dev/sdb

grub-install: error: cannot find a GRUB drive for /dev/sdb4.  Check your device.map.
I'm trying to install LFS on an external HD - /dev/sdb. sdb4 is a separate /boot partition. I have tried looking around for a answer but haven't found anything. any ideas?

Thanks
 
Old 08-24-2015, 02:51 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,502

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Take a look at the link below, the part starting with Fix a Broken System. You need to mount the boot partition and point to it in the install command, item 6 has an example entry. That should work for Grub2 which I'm not sure you are using?

https://help.ubuntu.com/community/Gr..._Broken_System
 
  


Reply



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
error grub-install: error: failed to get canonical path of `unionfs' ibouvousaime Linux - Newbie 1 08-08-2015 01:20 PM
Grub error 25! This is not on install but months after install tbrownarcher Linux - General 2 01-19-2009 12:14 PM
install kubuntu 8.10 with lilo rather than grub (because of grub error 18) dukeinlondon Ubuntu 7 12-27-2008 06:53 PM
Grub error 17, and wont reinstall using grub-install! chiefreborn Linux - General 6 06-06-2007 10:29 AM
Grub error 21 on new install Eoin Dubh Debian 2 12-01-2006 03:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 03:06 AM.

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
Open Source Consulting | Domain Registration