| View previous topic :: View next topic |
| Author |
Message |
courage n00b

Joined: 22 May 2007 Posts: 30 Location: Latvia
|
Posted: Thu Jul 19, 2007 7:07 am Post subject: [SOLVED] grub |
|
|
Hi,
I instaled Gentoo(I think), i have an error while loading /dev/sda3, because i don't have a sata disk
I forgot to change the disk when i was setting up grub.
Now im trying to change /dev/sda3 to mine, but i don't have an idea how could i do that.
Last edited by courage on Thu Jul 19, 2007 10:25 am; edited 1 time in total |
|
| Back to top |
|
 |
john_r_graham Veteran


Joined: 08 Mar 2005 Posts: 1317 Location: Somewhere over Atlanta, Georgia, USA
|
Posted: Thu Jul 19, 2007 7:14 am Post subject: |
|
|
What type of disk do you have? Ans what does "loading" /dev/sda3 mean? Can you elaborate on where in the install process you are?
- John |
|
| Back to top |
|
 |
courage n00b

Joined: 22 May 2007 Posts: 30 Location: Latvia
|
Posted: Thu Jul 19, 2007 7:17 am Post subject: |
|
|
| Code: | livecd conf.d # time emerge grub
real 1m8.634s
user 0m39.460s
sys 0m15.280s
livecd conf.d # nano -w /boot/grub/grub.conf
default 0
timeout 10
title=Gentoo
root (hd0,0)
kernel /boot/kernel root=/dev/sda3
|
i should be changing /dev/sda3 to /dev/hdc3
But the thing is that it can't load, because i saved conf file and rebooted. |
|
| Back to top |
|
 |
padoor Veteran


Joined: 29 Dec 2005 Posts: 2768 Location: india
|
Posted: Thu Jul 19, 2007 7:28 am Post subject: |
|
|
what are in sda1 and sda2?
it is looking for a jernel in sda1 so it cannot boot
we need more info about the partition scheme and mount points
better give the fstab contents _________________ reach out a little bit more to catch it (DON'T BELIEVE the veteran part under my user name) |
|
| Back to top |
|
 |
courage n00b

Joined: 22 May 2007 Posts: 30 Location: Latvia
|
Posted: Thu Jul 19, 2007 7:30 am Post subject: |
|
|
I don't remeber exactly what was there, but i changed them(BOOT, SWAP, ROOT)
But i know that in grub.conf i made a mistake and now i don't know how to change it.
I have access to grub console! |
|
| Back to top |
|
 |
SLR-722 n00b

Joined: 07 Aug 2006 Posts: 27
|
Posted: Thu Jul 19, 2007 7:37 am Post subject: |
|
|
Use the install disc to chroot into your Gentoo install.
Then manually edit the grub config.
Or simply, when grub pops up press 'E' and replace the sda3 with hdc3.
Last edited by SLR-722 on Thu Jul 19, 2007 7:40 am; edited 1 time in total |
|
| Back to top |
|
 |
courage n00b

Joined: 22 May 2007 Posts: 30 Location: Latvia
|
Posted: Thu Jul 19, 2007 7:40 am Post subject: |
|
|
Thx, i used the "E" method, because if i used by livecd... i will have to mount and then i could only edit xD
Now i have access to my Linux, but there is another problem.
It says that eth0 cannot be loaded, what could be the problem?
Last edited by courage on Thu Jul 19, 2007 7:42 am; edited 1 time in total |
|
| Back to top |
|
 |
SLR-722 n00b

Joined: 07 Aug 2006 Posts: 27
|
Posted: Thu Jul 19, 2007 7:41 am Post subject: |
|
|
| So your system booted up ? , if so glad to help out. |
|
| Back to top |
|
 |
courage n00b

Joined: 22 May 2007 Posts: 30 Location: Latvia
|
Posted: Thu Jul 19, 2007 7:43 am Post subject: |
|
|
Yes, thx, i started my Linux
Now could please help me whit the second problem?
btw, i know i did wrong by copying "modprobe r8169"  |
|
| Back to top |
|
 |
SLR-722 n00b

Joined: 07 Aug 2006 Posts: 27
|
Posted: Thu Jul 19, 2007 7:46 am Post subject: |
|
|
Your having network issues I take it?
(Did you compile the NIC driver support as module or inside the kernel itself?) |
|
| Back to top |
|
 |
courage n00b

Joined: 22 May 2007 Posts: 30 Location: Latvia
|
|
| Back to top |
|
 |
SLR-722 n00b

Joined: 07 Aug 2006 Posts: 27
|
Posted: Thu Jul 19, 2007 7:57 am Post subject: |
|
|
Would I be write in saying you copied the install guide word for word , this would explain the 'sata/ide' issues you had .If so I suspect you echoed the wrong NIC driver to /etc/modules.autoload/kernel-2.6
Few things you could do ,
- lspci
And verify the make/model of your Ethernet card , and find the required driver. Then either rebuild support for the driver in the kernel or as a module. Then add the driver to /etc/modules.autoload/kernel-2.6 .
If you need more help , just ask . My philosophy is it's better to look like a fool for 5 minutes than the rest of your life. |
|
| Back to top |
|
 |
SLR-722 n00b

Joined: 07 Aug 2006 Posts: 27
|
Posted: Thu Jul 19, 2007 7:58 am Post subject: |
|
|
Ok , thats fine ^^
If you are unsure of the driver required for your Ethernet card , list the card here . If I can't identify the driver needed I'm sure someone else will. |
|
| Back to top |
|
 |
|