LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 12-30-2010, 05:44 AM   #1
computerfreak97
Member
 
Registered: Dec 2010
Posts: 45

Rep: Reputation: 0
When setting up grub, it cant find hd0,3


When setting up grub in chapter 8.4 it says to run (inside of grub) root (hd0,3). For me this returns: Error 22: No such partition. According to it, the only partition that exists on hd0 is number 0. In the beginning I set the hdd to what is said in the book, hda1. What i'm wondering is is there any command that you have to do to make the partition table I created a little while ago go into effect?
 
Old 12-30-2010, 06:27 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Hi,

hd0,3 is just an example.

Assuming you only used one partition (if you only mount $LFS, this is the case. If you also mount for example $LFS/boot, it is not the case) you need to substitute the 3 with the appropriate number.

If you used:
- sda1 -> hd0,0
- sda2 -> hd0,1
etc

The first 0 tells grub it is on the first disk. The second number tells which partition (Mind you: it starts counting from 0, not 1!!).

With the info given you probably need to use: root (hd0,0) You also need this in the menu.lst (further on in that chapter).

Hope this helps.
 
  


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
grub problem cannot load hd0 listener Linux - Hardware 3 10-12-2010 09:24 PM
hdd/sda: How to find which one is hd0 and hd1 ? frenchn00b Linux - Newbie 11 05-14-2008 03:26 PM
Grub cannot find the filesystem type of my hd0 drive JimmyGourd Linux - Newbie 9 09-25-2004 01:28 PM
Grub: how to recover Boot Record for (hd0,0)? fishwombat Linux - General 1 04-27-2004 10:43 AM
Grub can't find files on (hd0,0) nathology Linux - Software 6 10-24-2003 11:53 AM


All times are GMT -5. The time now is 04:37 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration