LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
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

Reply
 
Search this Thread
Old 04-19-2005, 05:22 PM   #1
eNightmare
Member
 
Registered: Jan 2005
Location: Richmond, Ky
Distribution: ArchLinux
Posts: 51

Rep: Reputation: 15
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
 
Old 04-19-2005, 10:51 PM   #2
nilleso
Member
 
Registered: Nov 2004
Location: ON, CANADA
Distribution: ubuntu, RHAS, and other unmentionables
Posts: 372

Rep: Reputation: 31
I'll take the easy one

question #2 =
echo "yourhostname " > /etc/hostname
 
Old 04-19-2005, 11:07 PM   #3
eNightmare
Member
 
Registered: Jan 2005
Location: Richmond, Ky
Distribution: ArchLinux
Posts: 51

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by nilleso
I'll take the easy one

question #2 =
echo "yourhostname " > /etc/hostname
sweet thank you.
 
Old 04-20-2005, 04:03 PM   #4
eNightmare
Member
 
Registered: Jan 2005
Location: Richmond, Ky
Distribution: ArchLinux
Posts: 51

Original Poster
Rep: Reputation: 15
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?
 
Old 04-21-2005, 09:56 PM   #5
nilleso
Member
 
Registered: Nov 2004
Location: ON, CANADA
Distribution: ubuntu, RHAS, and other unmentionables
Posts: 372

Rep: Reputation: 31

post your /etc/fstab
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Configuring xsupplicant on LEAP jplev22 Linux - Wireless Networking 3 11-14-2005 09:42 AM
Linux on a LEAP compliant network zombiedeth Linux - Software 1 09-14-2005 01:45 PM
another one takes the leap beebelo LinuxQuestions.org Member Intro 3 03-11-2005 07:15 PM
First steps in my leap from end-user to developer Shade General 1 06-08-2004 08:01 AM
cant see .forward file in home directory >> mail forward/copy steve_babbage Linux - Newbie 0 03-02-2004 06:25 AM


All times are GMT -5. The time now is 09:30 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration