View previous topic :: View next topic |
Author |
Message |
BillGatesOfHell n00b
Joined: 21 Aug 2005 Posts: 28
|
Posted: Wed Aug 24, 2005 3:25 am Post subject: Totall Freakin Confused |
|
|
ok, Im using the live cd to install gentoo, the one that actually loads gnome on startup. I have 2 hdd'd.
1 is hda which has win xp on it, The other is hdb with gentoo like this:
/dev/hdb1 = boot
/dev/hdb2 = swap
/dev/hdb3 = root
now im using grub for bootloader and i just dont get it cause it seems my files are all over the place??
Code: | # Which listing to boot as default. 0 is the first, 1 the second etc.
default 0
# How many seconds to wait before the default listing is booted.
timeout 30
# Nice, fat splash-image to spice things up :)
# Comment out if you don't have a graphics card installed
splashimage=(hd1,0)/boot/grub/splash.xpm.gz
title=Gentoo Linux 2.6.12-r9
# Partition where the kernel image (or operating system) is located
root (hd1,2)
kernel /kernel-2.6.12-gentoo-r9 root=/dev/hdb3
# The next four lines are only if you dualboot with a Windows system.
# In this case, Windows is hosted on /dev/hda1.
title=Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1
|
To get to my kernel image i have to goto computer/filesystem/mnt/gentoo/boot--->kernel
to get to my splashimage i have to goto computer/filesystem/mnt/gentoo/boot/grub--->splashimage
is this correct?
is the fstab correct also?
Code: | # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hdb1 /boot ext3 noauto,noatime 1 2
/dev/hdb3 / ext3 noatime 0 1
/dev/hdb2 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0
/dev/hda1 /mnt/Windows auto noauto,noatime,users 0 0
# NOTE: The next line is critical for boot!
none /proc proc defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
none /dev/shm tmpfs nodev,nosuid,noexec 0 0
|
Please, ive spent nearly 3 days with this and im at my wits end and i dont want to reboot until its correct
Thanx. |
|
Back to top |
|
|
Headrush Watchman
Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Wed Aug 24, 2005 4:09 am Post subject: |
|
|
In GRUB, for the Linux section you have
should be
This command points to the root location of boot files, not the root partition of your system. aka /
So should be Code: | title=Gentoo Linux 2.6.12-r9
# Partition where the kernel image (or operating system) is located
root (hd1,0)
kernel /kernel-2.6.12-gentoo-r9 root=/dev/hdb3 |
I would also change the filesystem from auto to ntfs for the Windows partition.
I'm not sure if that would cause an error, but for a static filesystem better to explicitly set the filesystem. |
|
Back to top |
|
|
BillGatesOfHell n00b
Joined: 21 Aug 2005 Posts: 28
|
Posted: Wed Aug 24, 2005 4:45 am Post subject: |
|
|
ok i got mixed up with the numbering scheme there. So i have it currently looking for the kernal on the root partiton/hdb3 when it should be looking at hdb1/boot or hdb(1,0). ill change now and keep fingers crossed.
Thanx alot. |
|
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
|
|