View previous topic :: View next topic |
Author |
Message |
Manzini n00b
Joined: 25 Feb 2005 Posts: 20
|
Posted: Tue Mar 08, 2005 3:18 am Post subject: Almost done... one step forward at the time... |
|
|
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 |
|
|
syg00 l33t
Joined: 23 Aug 2004 Posts: 907 Location: Brisbane, AUS
|
Posted: Tue Mar 08, 2005 3:35 am Post subject: |
|
|
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 |
|
|
shouldbesleeping Tux's lil' helper
Joined: 10 Feb 2005 Posts: 147
|
Posted: Tue Mar 08, 2005 7:14 am Post subject: |
|
|
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 |
|
|
Manzini n00b
Joined: 25 Feb 2005 Posts: 20
|
Posted: Tue Mar 08, 2005 5:49 pm Post subject: |
|
|
Hi All!!!
Im really sad today
Ive tried to fix it myself but I didnt succeed
It is so hard because everything is so different and I dont have a clue of what or where the mistake is
Now the boot menu doesnt show up.
The commands are different and I still dont know why I have to mount in order to access my hard drive and fix the issue
Anyways
Im just getting started
Heres 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 |
|
|
|
|
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
|
|