View previous topic :: View next topic |
Author |
Message |
jackgray n00b
Joined: 19 Nov 2003 Posts: 13
|
Posted: Wed Nov 19, 2003 9:06 am Post subject: Dual or triple booting |
|
|
Hi all,
Okay let me get right to this. For portability reasons I have Windows installed on my first hard drive /dev/hda or (hd0,0). On my second hard disk I have Solaris installed /dev/hdb or (hd1,0). On my third drive is my Gentoo installation or /dev/hdc also known as (hd2,0). Now I have come across a problem I cannot get my gentoo installation to boot so my assumption is that I have improperly configured grub. I get the grub boot screen but when I attempt to boot gentoo it is not found. I tried to do a search but the server must be down so any help is appreciated.
Thanks,
Jack
The hole is getting deeper and I still see more dirt. |
|
Back to top |
|
|
Pete_Keller l33t
Joined: 30 Sep 2003 Posts: 664 Location: Norwich, CT USA
|
Posted: Wed Nov 19, 2003 1:25 pm Post subject: |
|
|
jackgray,
Pleas post your grub.conf, /etc/fstab files and the output of fdisk -l /dev/hdc
Thanks
Pete _________________ I am a SIGNATURE VIRUS, help me spread - attach me to your signature file. |
|
Back to top |
|
|
Jefklak l33t
Joined: 26 Oct 2003 Posts: 818 Location: Belgium
|
Posted: Wed Nov 19, 2003 1:42 pm Post subject: |
|
|
You should make the windows (or another) partition bootable ONLY.
Install grub on the bootable partition and it should work.
If grub works, all other OSes but linux not, maybe you forgot to do something when installing, like copying the kernel to the correct dir and making 3 partitions(root,boot,swap)?
I dont know if this still is a problem, but if you are using more than 4 partitons you'll need an "extended" partiton to, well lets say "enlarge" the partition table because some boot loaders cant handle that much partitons. I tought Lilo is such one, but Im not sure about grub. |
|
Back to top |
|
|
jackgray n00b
Joined: 19 Nov 2003 Posts: 13
|
Posted: Fri Nov 21, 2003 7:26 pm Post subject: |
|
|
Hello all,
I jsut wanted to let everyone know that I managed to figure out what I did wrong although I had to hmm.. hmm.. scam a little. I will post all of the information later as this my help someone in the future. My workaround was to go through the install process of libranet and the use the menu.lst that was generated to get grub properly installed. Now I am up and running gentoo and loving it.
Until...
J _________________ The hole is getting deeper and I still see more dirt! |
|
Back to top |
|
|
jackgray n00b
Joined: 19 Nov 2003 Posts: 13
|
Posted: Sun Nov 23, 2003 7:21 pm Post subject: |
|
|
Hi,
Here is the output of my ls -l /dev/hdc
/dev/hdc: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units=cylinders of 16065 * 512=8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 * 1 9635 77393106 83 Linux
/dev/hdc2 9636 9697 498015 82 Linux Swap
/dev/hdc3 9698 9729 257040 83 Linux
Here is the output of my fstab
/dev/hdc3 /boot /ext3 noatime 0 1
/dev/hdc1 / reiserfs noatime 0 1
/dev/hdc2 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
none /proc proc default 0 0
none /dev/shm tmpfs default 0 0
Here is the output of my grub.conf
default 0
timeout 30
splashimage=(hd2,2)/boot/grub/splash.xpm.gz
title=Gentoo 1.4
root (hd2,2)
kernel (hd2,2)/boot/kernel-2.4.20-gentoo-r6 root=/dev/hdc1
initrd (hd2,2)/boot/initrd-2.4.20-gentoo-r6
title=Windows
rootnoverify (hd0,0)
makeactive
chainloader +1
title=Solaris
rootnoverify (hd1,0)
makeactive
chainloader +1
So if I remember correctly I did
I think this first line was where I made the earlier mistake thinking my / directory.
grub> root (hd2,2)
grub> setup (hd2,2)
grub> quit
make sure that you also do a
ln -s /boot/grub/grub.conf /boot/grub/menu.lst
By the way, just to quell the corrections. I know /boot should (by gentoo's directions) have been on the first part of my drive, but libranet would not allow me to set it up that way. I chose their defaults and this is how I got it set up. Doing it agian I would put /boot on the first 1024 and make changes to my grub accordingly.
Jack _________________ The hole is getting deeper and I still see more dirt! |
|
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
|
|