Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ. |
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-19-2005, 05:22 PM
|
#1
|
Member
Registered: Jan 2005
Location: Richmond, Ky
Distribution: ArchLinux
Posts: 51
Rep:
|
Giant Leap forward!
Okay, I finally got my base Gentoo system installed. It seems to run fine (haven't installed anything else yet), however I have two questions.
First, It will not load gentoo from the "menu-based" grub. it gives me this message:
"kernel /kernel-2.6.11.2 root=/dev/hda1"
File not found
press any key to continue
So i hit any key it takes me back to the menu. I can hit "c" to enter the command prompt. I can type this:
grub> kernel /kernel-2.6.11.2
grub> boot
and then it boots it up. By the way here is my harddrives scheme:
sda1 ->NTFS
sda2 ->/Root (ubuntu)
sda3 ->/Boot
sda4 ->Swap
hda1 ->/Root (Gentoo) //sda is hd(0, x), hda is hd(1,x)
When I'm booting Gentoo it tells me I may have to change my hostname in /etc/hostname (i think)
Don't know how to do that...closest thing i could find was /etc/hosts...i tried to cat it, but i didn't go into it too much as i was in a hurry. This does not seem to be an issue so far...of course i could be wrong
The other thing is this...I get an message saying "Fschk (sp?) could not correct everything, manual fix is necessary". And then it says give root password for maintanance or CTRL+D to continue normally. After hitting CTRL D it puts me in to Runlevel 3...still learning, don't know much about this, but should i be in runlevel 3? Kubuntu keeps me in 2. Another thing, before that whole thing it also says DMA on your harddrive is not enabled, this may cause slowness in Fschk. My question is this...how do I make it so i don't get this error message.
Any suggestions as always would be greatly appreciated
|
|
|
04-19-2005, 10:51 PM
|
#2
|
Member
Registered: Nov 2004
Location: ON, CANADA
Distribution: ubuntu, RHAS, and other unmentionables
Posts: 372
Rep:
|
I'll take the easy one
question #2 =
echo " yourhostname " > /etc/hostname
|
|
|
04-19-2005, 11:07 PM
|
#3
|
Member
Registered: Jan 2005
Location: Richmond, Ky
Distribution: ArchLinux
Posts: 51
Original Poster
Rep:
|
Quote:
Originally posted by nilleso
I'll take the easy one
question #2 =
echo "yourhostname " > /etc/hostname
|
sweet thank you.
|
|
|
04-20-2005, 04:03 PM
|
#4
|
Member
Registered: Jan 2005
Location: Richmond, Ky
Distribution: ArchLinux
Posts: 51
Original Poster
Rep:
|
Okay gangstas: I have everything working correctly now apart from two things. First the grub config...but i will try this thing (thanks to MRD):
Title Gentoo Linux and stuff...
root(0,2) # the boot partition where the kernel resides
kernel /kernel-2.6.11.2 root=/dev/hda1
The other problem I am still having...it gives me the message when booting Gentoo:
fsck.ext3: No such device or address while trying to open /dev/sda3
Possibly non existent or swap
Fsck could not correct all errors, manual repair needed [!!]
and then it says CTRL+D to boot normally, root password for maintanence. When I boot normally sometime before the end it says:
mount: /dev/sda3 is not a valid block device
some local filesystem failed to mount [!!]
it gives me the same message if i type
fsck /dev/sda3
or
mount /dev/sda3
i also try running
cfdisk /dev/sda
and its says fatal error: device not found. Luckily I still have kubuntu installed on sda2, and that one will run all those commands.....I went back and recompiled the kernel with extended attributes for ext3. But for somereason it can't find my boot partition, or anything from sda. Any ideas anyone? You don't think if i change my menu.lst(grub) that would help do you?
|
|
|
04-21-2005, 09:56 PM
|
#5
|
Member
Registered: Nov 2004
Location: ON, CANADA
Distribution: ubuntu, RHAS, and other unmentionables
Posts: 372
Rep:
|
post your /etc/fstab
|
|
|
All times are GMT -5. The time now is 02:41 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
|
|