Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] grub
View unanswered posts
View posts from last 24 hours

rackathon
 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
courage
n00b
n00b


Joined: 22 May 2007
Posts: 30
Location: Latvia

PostPosted: Thu Jul 19, 2007 7:07 am    Post subject: [SOLVED] grub Reply with quote

Hi,
I instaled Gentoo(I think), i have an error while loading /dev/sda3, because i don't have a sata disk :P
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
View user's profile Send private message
john_r_graham
Veteran
Veteran


Joined: 08 Mar 2005
Posts: 1317
Location: Somewhere over Atlanta, Georgia, USA

PostPosted: Thu Jul 19, 2007 7:14 am    Post subject: Reply with quote

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
View user's profile Send private message
courage
n00b
n00b


Joined: 22 May 2007
Posts: 30
Location: Latvia

PostPosted: Thu Jul 19, 2007 7:17 am    Post subject: Reply with quote

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
View user's profile Send private message
padoor
Veteran
Veteran


Joined: 29 Dec 2005
Posts: 2768
Location: india

PostPosted: Thu Jul 19, 2007 7:28 am    Post subject: Reply with quote

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
View user's profile Send private message
courage
n00b
n00b


Joined: 22 May 2007
Posts: 30
Location: Latvia

PostPosted: Thu Jul 19, 2007 7:30 am    Post subject: Reply with quote

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
View user's profile Send private message
SLR-722
n00b
n00b


Joined: 07 Aug 2006
Posts: 27

PostPosted: Thu Jul 19, 2007 7:37 am    Post subject: Reply with quote

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
View user's profile Send private message
courage
n00b
n00b


Joined: 22 May 2007
Posts: 30
Location: Latvia

PostPosted: Thu Jul 19, 2007 7:40 am    Post subject: Reply with quote

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
View user's profile Send private message
SLR-722
n00b
n00b


Joined: 07 Aug 2006
Posts: 27

PostPosted: Thu Jul 19, 2007 7:41 am    Post subject: Reply with quote

So your system booted up ? , if so glad to help out.
Back to top
View user's profile Send private message
courage
n00b
n00b


Joined: 22 May 2007
Posts: 30
Location: Latvia

PostPosted: Thu Jul 19, 2007 7:43 am    Post subject: Reply with quote

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" :P
Back to top
View user's profile Send private message
SLR-722
n00b
n00b


Joined: 07 Aug 2006
Posts: 27

PostPosted: Thu Jul 19, 2007 7:46 am    Post subject: Reply with quote

Your having network issues I take it?


(Did you compile the NIC driver support as module or inside the kernel itself?)
Back to top
View user's profile Send private message
courage
n00b
n00b


Joined: 22 May 2007
Posts: 30
Location: Latvia

PostPosted: Thu Jul 19, 2007 7:52 am    Post subject: Reply with quote

http://www.gentoo.org/doc/en/gentoo-x86-quickinstall.xml
I used this manual.
I don't think i compiled the NIC Driver.
Back to top
View user's profile Send private message
SLR-722
n00b
n00b


Joined: 07 Aug 2006
Posts: 27

PostPosted: Thu Jul 19, 2007 7:57 am    Post subject: Reply with quote

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
View user's profile Send private message
SLR-722
n00b
n00b


Joined: 07 Aug 2006
Posts: 27

PostPosted: Thu Jul 19, 2007 7:58 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum