LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-11-2006, 01:03 AM   #1
jcai
Member
 
Registered: Sep 2004
Distribution: Fedora 5
Posts: 48

Rep: Reputation: 15
Boot problem with Gentoo installed on external HD


Hi all,

I recently installed gentoo on my new external hd, and in the process i decided to install GRUB onto the external hd as well. (NOT onto the MBR of my old hard drive)

When i was partitioning the HD using the installation cd environment, it recognized my external HD as /dev/sda however, i discovered that in
grub.conf, when i specify

root (sd0,0)

and i boot from the external HD it does not recognize itself as /dev/sda...i found out that when i boot from the external HD it thinks itself as /dev/hda. so in grub.conf i changed the root to (hd0,0) because /dev/sda1 is where my linux boot partition is.

it then entered into the boot process correctly, but...

PROBLEM: when the boot process gets to the part when it has to mount the root, it tells me that my root= clause in grub.conf is wrong...i have the root on /dev/sda3, so i set root=/dev/hda3 thinking that it will recognize it correspondingly since it thought that /dev/sda1 was /dev/hda1...what am i doing wrong?
 
Old 01-11-2006, 01:38 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,120

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
I'm surprised an external came up as hd0.
The "root (hd0,0)" is a directive for grub- it doesn't know (or care) about S-ATA or (E)IDE - it cares about disks; hd0,hd1, ...
The "root=..." is for the kernel - and it does care.
Try changing it to "root=/dev/sda3", as you would expect the kernel to know it as.
 
  


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
Blank screen after selecting boot option in Gentoo (Just installed) BuckRogers01 Linux - Distributions 2 08-30-2005 01:25 PM
Gentoo 2004.3-r1 installed. How DO i start KDE at boot? Junior41180 Linux - Distributions 3 01-25-2005 11:11 AM
base gentoo installed, can't boot, need to repair lilo. how? Junior41180 Linux - Distributions 6 11-10-2004 04:45 AM
I installed linux on an external drive, and now I can't boot WizzKid Linux - Newbie 4 11-09-2004 08:37 PM
Installed gentoo cannot boot fossilet Linux - Distributions 12 10-18-2004 07:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:38 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