Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-03-2005, 03:05 PM
|
#1
|
|
LQ Newbie
Registered: Sep 2005
Distribution: FC4 64bit, Whax, Mandriva, Knoppix, Gentoo
Posts: 8
Rep:
|
Can't get Gentoo 2005.1-r1 to boot... help please
I have two hard drives, both IDE. Windows and FC4 on the first HD and Gentoo on the second. I am pretty sure all of the files for Gentoo are where they are supposed to be. The Gentoo install is all on one partition by the way, I didn't separate /boot, well I did separate it initially, but I copied everything in the boot partition to the /boot directory in my Gentoo partition. (I'll explain better in a second. I'm having trouble getting grub to boot up Gentoo though. I'm pretty sure I have it all right, but I've gotten an assortment of errors. I used the grub configuration utility to verify my partitions. I want to use my Grub on my first harddrive to boot everything.
From Linux my partitions are like this.
/dev/hd1 = Windows
/dev/hd2 = FC4
/dev/hd3 = Swap for FC4
/dev/hdb1 = boot partition (not used)
/dev/hdb2 = Gentoo including /boot
/dev/hdb3 = Swap for Gentoo
here is my grub.conf from hda
#####################################################################
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,1)
# kernel /boot/vmlinuz-version ro root=/dev/hda2
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=2
timeout=10
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.11-1.1369_FC4)
root (hd0,1)
kernel /boot/vmlinuz-2.6.11-1.1369_FC4 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.11-1.1369_FC4.img
title Gentoo
map (hd0) (hd1)
map (hd1) (hd0)
root (hd1,1)
kernel /boot/kernel-genkernel-x86_64-2.6.14-gentoo-r2 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hdb2 udev
initrd /boot/initramfs-genkernel-x86_64-2.6.14-gentoo-r2
title Windows XP Pro
rootnoverify (hd0,0)
chainloader +1
#####################################################################
If someone could help me out I would really appreciate it. I am doing the Gentoo for a learning experience, but I've tried everything I know. Thanks.
|
|
|
|
12-03-2005, 05:07 PM
|
#2
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,711
|
you shouldn't need to map the drives over like you have, and i would also start by making the boot line a lot simpler. why aren't you just using "root=/dev/hdb2"? what's the ramdisk for? i can't think of a reason you'd need to do so. you've not actaully said what's happening or not during the boot though...
|
|
|
|
12-03-2005, 07:04 PM
|
#3
|
|
LQ Newbie
Registered: Sep 2005
Distribution: FC4 64bit, Whax, Mandriva, Knoppix, Gentoo
Posts: 8
Original Poster
Rep:
|
Changed Grub, still wont boot.
I changed grub.conf to this.
###################################################################
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,1)
# kernel /boot/vmlinuz-version ro root=/dev/hda2
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=2
timeout=10
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.11-1.1369_FC4)
root (hd0,1)
kernel /boot/vmlinuz-2.6.11-1.1369_FC4 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.11-1.1369_FC4.img
title Gentoo
root (hd1,1)
kernel /boot/kernel-genkernel-x86_64-2.6.14-gentoo-r2 root=/dev/hdb2
initrd /boot/initramfs-genkernel-x86_64-2.6.14-gentoo-r2
title Windows XP Pro
rootnoverify (hd0,0)
chainloader +1
###################################################################
I get an error at boot that says:
Booting 'Gentoo'
root (hd1,1)
Error 22: No such partition
Press any key to continue
|
|
|
|
12-04-2005, 02:32 AM
|
#4
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,711
|
not nice.... maybe you had problems writing your partition table during the install? does an dsfik -l under fedora show them? can you mount the gentoo partitions under fedora?
|
|
|
|
12-04-2005, 02:32 AM
|
#5
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,711
|
not nice.... maybe you had problems writing your partition table during the install? does an dsfik -l under fedora show them? can you mount the gentoo partitions under fedora?
|
|
|
|
12-04-2005, 02:41 AM
|
#6
|
|
LQ Newbie
Registered: Sep 2005
Distribution: FC4 64bit, Whax, Mandriva, Knoppix, Gentoo
Posts: 8
Original Poster
Rep:
|
Yeah I can mount them
Yes I can mount them. I've mounted them and checked fstab and a I wrote the grub.conf and did the cmd grub> for the drive (installed grub to the mbr) and unplugged hda (my ntfs and fedora disk) and just tried booting it. And had no success.
|
|
|
|
12-04-2005, 04:04 AM
|
#7
|
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 11,234
|
Take the "root(hd1,1)" line out of the Gentoo stanza.
Add (hd1,1) to both the kernel and initrd (no spaces - it's part of the path).
See how that goes.
|
|
|
|
12-11-2005, 04:38 PM
|
#8
|
|
LQ Newbie
Registered: Sep 2005
Distribution: FC4 64bit, Whax, Mandriva, Knoppix, Gentoo
Posts: 8
Original Poster
Rep:
|
Got it up and going.
Thanks for the help guys. I got it up and going on another machine. I think it just didn't like tripple booting with xp, and fc4. But anyway... now I can't get x up and going. I've emerged x11 and let it install. But I get an error that says: Please specify busID's for all framebuffer devices. And I also noticed that there is no xorg.conf. there is an xorg.conf.example though. Should I just edit that to fit my needs and save it as xorg.conf? Also which Graphical Login do you suggest? I tried entrance, but it seems pretty buggy. So I was thinkin GDM. Anyway, thanks for the help guys.
|
|
|
|
12-11-2005, 05:22 PM
|
#9
|
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 11,234
|
At the end of the handbook there is (or was) a section "what next ??". Points you to the desktop docs.
Go read 'em.
|
|
|
|
12-12-2005, 05:03 PM
|
#10
|
|
Newbie
Registered: Dec 2005
Posts: 13
Rep:
|
hmhm
yeah nice.. best
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:01 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|