View previous topic :: View next topic |
Author |
Message |
hookooekoo Apprentice
Joined: 02 May 2004 Posts: 196
|
Posted: Sun May 02, 2004 12:20 am Post subject: Grub, help pls. |
|
|
Ok this is my 2nd time going through the install and same error again. I have 1 40 gig hard drive, so first of all, I am not sure why it insists on labeling it hde but it does.
When I go to configure grub
grub> root (hd0,0)
Error 21: selected Disk does nto exist. I have tried different combo's etc, and if I do root ( then tab nothing comes up.
My fstab is as follwoing:
/dev/hde1 /boot ext2 noauto,noatime 1 2
/dev/hde2 none swap sw 0 0
/dev/hde3 / ext2 noatime 0 1
none /proc proc defaults 0 0
none /dev/shm tmpfs 0 0 |
|
Back to top |
|
|
Sargonas Apprentice
Joined: 10 Feb 2003 Posts: 213 Location: user@localhost
|
Posted: Sun May 02, 2004 12:28 am Post subject: Re: Grub, help pls. |
|
|
hookooekoo wrote: | hde but it does.
When I go to configure grub
grub> root (hd0,0)
Error 21: selected Disk does nto exist. I have tried different combo's etc, and if I do root ( then tab nothing comes up.
My fstab is as follwoing:
/dev/hde1 /boot ext2 noauto,noatime 1 2
/dev/hde2 none swap sw 0 0
/dev/hde3 / ext2 noatime 0 1
none /proc proc defaults 0 0
none /dev/shm tmpfs 0 0 |
if it is hde then you have to do:
Also if it is making it hde is your ide chain on a seperate card that is not on your mobo? This is most likely the cause of this.
I will reply back when I find the kernel option that makes them go backwards ( so that you can use hda instead of hde if you would like ) _________________ I do not consider it an insult, but rather a compliment to be called an agnostic. I do not pretend to know where many ignorant men are sure -- that is all Agnosticism means. - Clarence Darrow |
|
Back to top |
|
|
hookooekoo Apprentice
Joined: 02 May 2004 Posts: 196
|
Posted: Sun May 02, 2004 12:36 am Post subject: |
|
|
I get the same error with
grub> root (hd4,0)
I have tried other combo's too just for the hell of it 5,0 etc.
It is an MSI mobo with built in raid controller. I am not using the IDE 3 and 4 though.
The Harddrive is on IDE 1 and 2 DVD roms on IDE 2. Gentoo 1.4 did not do this to me. The reverse order thing be kinda cool, cept for the fact I have to start all over :-p
Even then, there is no guarantee I just don't get the same error again |
|
Back to top |
|
|
Sargonas Apprentice
Joined: 10 Feb 2003 Posts: 213 Location: user@localhost
|
Posted: Sun May 02, 2004 12:37 am Post subject: |
|
|
Ok the kernel option is:
Code: | CONFIG_BLK_DEV_OFFBOARD |
In menuconfig
its found under ata/ide/atapi support | then ata/ide/atapi Block devices | then Boot off-board device chipsets first support
might want to read about this before you try it.
It will then make your ide2/3 devices into 0/1 so you get hda instead of hde, that is if you are using an off mobo chipset _________________ I do not consider it an insult, but rather a compliment to be called an agnostic. I do not pretend to know where many ignorant men are sure -- that is all Agnosticism means. - Clarence Darrow |
|
Back to top |
|
|
t_2199 Tux's lil' helper
Joined: 20 Mar 2004 Posts: 146
|
Posted: Sun May 02, 2004 12:40 am Post subject: |
|
|
hookooekoo wrote: | I get the same error with
grub> root (hd4,0)
I have tried other combo's too just for the hell of it 5,0 etc.
It is an MSI mobo with built in raid controller. I am not using the IDE 3 and 4 though.
The Harddrive is on IDE 1 and 2 DVD roms on IDE 2. Gentoo 1.4 did not do this to me. The reverse order thing be kinda cool, cept for the fact I have to start all over :-p
Even then, there is no guarantee I just don't get the same error again |
Try root (hd4,2) |
|
Back to top |
|
|
Sargonas Apprentice
Joined: 10 Feb 2003 Posts: 213 Location: user@localhost
|
Posted: Sun May 02, 2004 12:44 am Post subject: |
|
|
go into the grub console and if you have already installed a kernel just do a
Code: |
grub> find /boot/vmlinuz
|
it should return something like:
(hd0,0)
that is where you put the root _________________ I do not consider it an insult, but rather a compliment to be called an agnostic. I do not pretend to know where many ignorant men are sure -- that is all Agnosticism means. - Clarence Darrow |
|
Back to top |
|
|
hookooekoo Apprentice
Joined: 02 May 2004 Posts: 196
|
Posted: Sun May 02, 2004 12:45 am Post subject: |
|
|
I have tried every combo 0,0 - 6,2 and nothing, same error.
If my HD is on IDE, why the hell is it not showing up as hda?
sigh I dun wanna go back and reinstall 1.4, or be really sissy and install Fedora.
Last edited by hookooekoo on Sun May 02, 2004 12:51 am; edited 1 time in total |
|
Back to top |
|
|
hookooekoo Apprentice
Joined: 02 May 2004 Posts: 196
|
Posted: Sun May 02, 2004 12:47 am Post subject: |
|
|
I installed the default kenrel but
grub> find /boot/vmlinuz
gives me file not found
FYI I am sure I did something stupid but /shrug. |
|
Back to top |
|
|
fusion Tux's lil' helper
Joined: 02 Nov 2002 Posts: 119
|
Posted: Sun May 02, 2004 12:51 am Post subject: |
|
|
type in root (
then press the tab key to get a list of avaible devices
Quote: |
from grub documention:
When typing commands interactively, if the cursor is within or before the first word in the command-line, pressing the <TAB> key (or <C-i>) will display a listing of the available commands, and if the cursor is after the first word, the <TAB> will provide a completion listing of disks, partitions, and file names depending on the context. Note that to obtain a list of drives, one must open a parenthesis, as root (.
|
_________________ Friends don't let friends send HTML email |
|
Back to top |
|
|
t_2199 Tux's lil' helper
Joined: 20 Mar 2004 Posts: 146
|
Posted: Sun May 02, 2004 12:51 am Post subject: |
|
|
hookooekoo wrote: | I installed the default kenrel but
gives me file not found
FYI I am sure I did something stupid but /shrug. |
Try
Code: |
grub> find /boot/bzImage |
No idea if that works but its worth a try |
|
Back to top |
|
|
Sargonas Apprentice
Joined: 10 Feb 2003 Posts: 213 Location: user@localhost
|
Posted: Sun May 02, 2004 12:52 am Post subject: |
|
|
do an ls /boot then do a find on any file in there, just make sure its not a directory. If it still cant find it, I think you should try lilo as a quick fix, because I have heard grub has some troubles with raid cards. _________________ I do not consider it an insult, but rather a compliment to be called an agnostic. I do not pretend to know where many ignorant men are sure -- that is all Agnosticism means. - Clarence Darrow |
|
Back to top |
|
|
hookooekoo Apprentice
Joined: 02 May 2004 Posts: 196
|
Posted: Sun May 02, 2004 12:56 am Post subject: |
|
|
boot has the following
.keep
boot --> .
grub
initrd-2.4.25-gentoo-r2
kernel-2.4.25-gentoo-r2
lost+found
I tried lilo but it gave me error too, I will try again and post that. |
|
Back to top |
|
|
hookooekoo Apprentice
Joined: 02 May 2004 Posts: 196
|
Posted: Sun May 02, 2004 12:58 am Post subject: |
|
|
with lilo
/sbin/lilo
Fatal: raid_setup: stat(*/dev/hde")
Maybe 2004.1 doesn't recognize this mobo correctly? I found it strange that 1.4 recognized my eth card no problem, but 2004.1 didn't unless I told it to load in the beginning
smp -noapic |
|
Back to top |
|
|
Sargonas Apprentice
Joined: 10 Feb 2003 Posts: 213 Location: user@localhost
|
Posted: Sun May 02, 2004 1:13 am Post subject: |
|
|
it thinks that /dev/hde doesnt exist for some reason, you could try running a:
sh /usr/src/linux/scripts/MAKEDEV.ide
maybe it misdid one of the devices. _________________ I do not consider it an insult, but rather a compliment to be called an agnostic. I do not pretend to know where many ignorant men are sure -- that is all Agnosticism means. - Clarence Darrow |
|
Back to top |
|
|
hookooekoo Apprentice
Joined: 02 May 2004 Posts: 196
|
Posted: Sun May 02, 2004 1:13 am Post subject: |
|
|
Sigh, I guess I just go back to 1.4 and redo. |
|
Back to top |
|
|
Sargonas Apprentice
Joined: 10 Feb 2003 Posts: 213 Location: user@localhost
|
Posted: Sun May 02, 2004 1:15 am Post subject: |
|
|
try booting from 1.4 then doing a grub or lilo and see if it works then. _________________ I do not consider it an insult, but rather a compliment to be called an agnostic. I do not pretend to know where many ignorant men are sure -- that is all Agnosticism means. - Clarence Darrow |
|
Back to top |
|
|
hookooekoo Apprentice
Joined: 02 May 2004 Posts: 196
|
Posted: Sun May 02, 2004 1:29 am Post subject: |
|
|
Wow Good suggestion.
It allowed me to mount /dev/hda rofl, 1.4 see's it correctly, not sure how it is all gonna pan out.
grub> root(hd0,0) was successful now.
Doing and emerge for syslog-ng and vixie-cron etc.
Well see how this pans out. If successful I will take it as a wild one for the win column |
|
Back to top |
|
|
hookooekoo Apprentice
Joined: 02 May 2004 Posts: 196
|
Posted: Sun May 02, 2004 2:10 am Post subject: |
|
|
Ok, So I have HORRIBLE luck with mobo's. For some reason my bios wasn't seeing IDE, hence the problem when Grub probed it.
After flashing the CMOS, all is well, but I am left with the daunting task of trying to repair the current install or starting over
atm, I am guessing LILO gets me up and running pretty fast, and I can hack grub later /em fingers crossed |
|
Back to top |
|
|
hookooekoo Apprentice
Joined: 02 May 2004 Posts: 196
|
Posted: Sun May 02, 2004 2:34 am Post subject: |
|
|
Ok this pains me, but I am gonna reinstall from 1.4.
I am still very new to Gentoo, so if I update portage, is that much different than installing 2004?
If i want to upgrade the kernel, is it just as easy as emerging it? or is there alternative/preferred methods?
thanks |
|
Back to top |
|
|
digitalb0y n00b
Joined: 30 Jan 2003 Posts: 55 Location: Fburg, USA
|
Posted: Thu May 13, 2004 3:13 am Post subject: |
|
|
Are you using Sata raid?
Cause if you do then you probley have the same issue that I did
I did'nt have the Option for the Device in The Kernel
I have an VIA SATA RAID DRIVE so I used the following and it fixed my issue
re-configure the kernel
Device Drivers ->
ATA/ATAPI/MFM/RTL Support ->
[*] VIA82CXXX Chipset Support
I don't know if this helped but also checked this cause I heard this would help
<*> SCSI emulation support
then recompile the kernel
hopes this helps _________________ - Linux. The choice of a GNU generation.
Like Linux DVR's Check out http://Mythtvtalk.com |
|
Back to top |
|
|
|