Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Almost done... one step forward at the time...
View unanswered posts
View posts from last 24 hours

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


Joined: 25 Feb 2005
Posts: 20

PostPosted: Tue Mar 08, 2005 3:18 am    Post subject: Almost done... one step forward at the time... Reply with quote

hi all...

I successfully installed gentoo, but i couldn't boot it (which might mean that i didn't install it well)

Here's the thing...

I have 2 hard disks...

in the first one, i have windows xp and personal files (divided into 2 partitions) * hda0 and hda1 / hd0,0 and hd0,1 *

in the second, i'm installing linux... * hdb1,2 and 3 / hd1,0 *

---------------

I tried this time (i've tried to install gentoo 4 times) to manually configure kernel. I'm no really sure if i did it well... but, so far, i didn't had problems...

Once i tried to boot

i had two error messages...

If booting gentoo

- Cannot mount selected partition
- Wrong kernel file name

If booting Windows

another message that i can't remember, but saying that the file system wasn't compatible or something...

What do I need?

- How to access grub.conf, now that i've already installed gentoo
- how to identify the correct kernel file name
- Correct configure grub for gentoo and windows

I think this is it for now...

Your help is really appreciated!!!

Thaks in advance...

Manzini
Back to top
View user's profile Send private message
syg00
l33t
l33t


Joined: 23 Aug 2004
Posts: 907
Location: Brisbane, AUS

PostPosted: Tue Mar 08, 2005 3:35 am    Post subject: Reply with quote

We are going to need;
- error messages (complete)
- /boot/grub/grub.conf
- /etc/fstab
- the grub install command you used
- ls of /boot

Just to start helping.

To get to the files, boot the LiveCD again, and follow the mount instructions. Then either proceed and chroot, or look at the files as their normal name prefixes by /mnt/gentoo ...

As for the kernel name, *YOU* chose it when you copied the kernel to /boot - section 7.c code listing 13
Back to top
View user's profile Send private message
shouldbesleeping
Tux's lil' helper
Tux's lil' helper


Joined: 10 Feb 2005
Posts: 147

PostPosted: Tue Mar 08, 2005 7:14 am    Post subject: Reply with quote

Here's what you do...Pull your hard drive with windows on it OUT of your pc, or at least unplug it and set the other one to master.

Then follow the guide step by step! do a stage 3 install, CONFIGURE YOUR OWN KERNEL(not genkernel) and learn how to install gentoo successfully and get it running. Before you say it shouldn't matter.STOP. Gentoo is a finicky beast, and little things piss it off. Start by eliminating variables that will stop it from booting up. Get it running and work from there. It might be grub or a bad install, but maybe not.

Because if it is the other hard drive or OS, it will just keep frustrating you. MY goblin was a little usb card reader that I loved. And I bitched and moaned about my errors all day in this forum. Until some one said to unplug it. and it worked.

So just start with the absolute basics. That would be my advice.
_________________
Being on the lower end of geniuses, I have to try a little bit harder than most of them. It still beats being a supreme moron.
Back to top
View user's profile Send private message
Manzini
n00b
n00b


Joined: 25 Feb 2005
Posts: 20

PostPosted: Tue Mar 08, 2005 5:49 pm    Post subject: Reply with quote

Hi All!!!

I’m really sad today… I’ve tried to fix it myself but I didn’t succeed… It is so hard because everything is so different and I don’t have a clue of what or where the mistake is…

Now the boot menu doesn’t show up.

The commands are different and I still don’t know why I have to “mount” in order to access my hard drive and fix the issue…

Anyways… I’m just getting started…

Here’s my configuration!!

FSTAB

/dev/hdb1 /boot ext2 defaults,noatime 1 2
/dev/hdb2 none swap sw 0 0
/dev/hdb3 / ext3 noatime 0 1
/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0
#/dev/fd0 /mnt/cdrom auto noauto,user 0 0

none /proc proc defaults 0 0
none /dev/shm tmpfs nodev,nosuid,noexec 0 0

--------------------------------------------------------------------

GRUB

default 0
timeout 30
splashimage=(hd1,0)/grub/splash.xpm.gz

title=Gentoo Linux
root (hd1,0)
kernel /linux-2.4.28-gentoo-r8 root=/dev/hdb3

title=Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1

-------------------------------------------------------------------

I also did the following commands (again):

mkswap /dev/hdb2
mount /dev/hdb3 /mnt/gentoo
mount /dev/hdb1 /mnt/gentoo/boot

nano -w /etc/fstab
emerge syslog-ng
rc-update add syslog-ng default
emerge vixie-cron
rc-update add vixie-cron default

emerge slocate

nano -w /boot/grub/grub.conf
grub-install --root-directory=/boot /dev/hdb
grub
grub> root (hd1,0)
grub> setup (hd1)
grub> quit

exit
cdimage ~# cd
cdimage ~# umount /mnt/gentoo/boot /mnt/gentoo/proc /mnt/gentoo
cdimage ~# reboot
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
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