LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 04-05-2004, 09:11 PM   #1
DaFrEQ
Member
 
Registered: Mar 2002
Location: Earth... for now
Distribution: SuSE9.2 AMD64; LFS; GentooAMD64; Ubuntu10.04; RHEL 5.5; Solaris10(SPARC)
Posts: 418

Rep: Reputation: 30
gentoo && amd64 kernel help


Sorry for a pseudo re-post, but I thot this rather no longer belonged as a SuSE topic.

I'm now at the point of choosing a kernel. First off, is there a specific kernel for the amd64 installs?
I've googled, and found jack crap.

I ran:
emerge gentoo-sources
because I couldn't find anything about the amd64 kernel source (If there is such a thing) and got the following error:

*****************************
Calculating dependencies
!!! all ebuilds that could satisfy "gentoo-sources" have been masked.
!!! possible candidates are:
- sys-kernel/gentoo-sources-2.4.26_pre (masked by: missing keyword)
- sys-kernel/gentoo-sources-2.4.19-r11 (masked by: -keyword)
- sys-kernel/gentoo-sources-2.4.20-r14 (masked by: missing keyword)
- sys-kernel/gentoo-sources-2.4.20-r7 (masked by: -keyword)
- sys-kernel/gentoo-sources-2.4.22-r3 (masked by: -keyword)
- sys-kernel/gentoo-sources-2.4.22-r4 (masked by: -keyword)
- sys-kernel/gentoo-sources-2.4.22-r5 (masked by: -* keyword)
- sys-kernel/gentoo-sources-2.4.22-r7 (masked by: -* keyword)
- sys-kernel/gentoo-sources-2.4.25 (masked by: missing keyword)
- sys-kernel/gentoo-sources-2.4.26_pre5 (masked by: missing keyword)
- sys-kernel/gentoo-sources-2.4.26_pre6 (masked by: missing keyword)

!!! Error calculating dependencies. Please correct.
*********************************

And thats it. Correct what? I didn't see anything in the install about any of this. I thot that all of the time spent with downloading sources, portages, emerging, n such would have taken care of these dependencies.

Please advise.

Tnx.
L8rz
 
Old 04-06-2004, 12:51 AM   #2
DaFrEQ
Member
 
Registered: Mar 2002
Location: Earth... for now
Distribution: SuSE9.2 AMD64; LFS; GentooAMD64; Ubuntu10.04; RHEL 5.5; Solaris10(SPARC)
Posts: 418

Original Poster
Rep: Reputation: 30
Ok. So I used the:
****************************
emerge gentoo-dev.sources
****************************
and it seemed to be ok.
Continued with the installation procedures, and now I'm stuck at the grub install. The documentations says that the following command will work:

****************************
emerge --usepkg grub
****************************

However, once this command is run the following appears:

Calculating dependencies
!!! all ebuilds that could satisfy "grub" have been masked.
!!! possible candidates are:
- sys-boot/grub-0.92-r1 (masked by: -keyword)
- sys-boot/grub-0.93.20030118 (masked by: -* keyword)
- sys-boot/grub-0.94-r1 (masked by: -* keyword)

!!! Error calculating dependencies. Please correct.
**************************

So again, I'm stuck at a dependency check. However, there isn't any info on how to get around this particular portion. At least, none that I've seen.

Please advise.

Tnx.
L8rz
 
Old 04-06-2004, 03:10 PM   #3
DaFrEQ
Member
 
Registered: Mar 2002
Location: Earth... for now
Distribution: SuSE9.2 AMD64; LFS; GentooAMD64; Ubuntu10.04; RHEL 5.5; Solaris10(SPARC)
Posts: 418

Original Poster
Rep: Reputation: 30
bump
 
Old 04-06-2004, 03:44 PM   #4
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
you'll need to install grub-static.Grub doesn't compile with 64 bit.
 
Old 04-06-2004, 04:39 PM   #5
DaFrEQ
Member
 
Registered: Mar 2002
Location: Earth... for now
Distribution: SuSE9.2 AMD64; LFS; GentooAMD64; Ubuntu10.04; RHEL 5.5; Solaris10(SPARC)
Posts: 418

Original Poster
Rep: Reputation: 30
You lost me there.
Lilo says the same thing... only i think it has 1 or 2 more broken depends.

Forgive my ignorance today, as I've been awake waay too long and am out of Dew...

Can you point me to a doc that tells me about grub-static and 64-bit info?

Tnx.
L8rz
 
Old 04-07-2004, 04:44 AM   #6
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
All you need to do is 'emerge grub-static'.There's some more info here:
http://www.gentoo.org/proj/en/base/amd64/
 
Old 04-07-2004, 11:52 AM   #7
DaFrEQ
Member
 
Registered: Mar 2002
Location: Earth... for now
Distribution: SuSE9.2 AMD64; LFS; GentooAMD64; Ubuntu10.04; RHEL 5.5; Solaris10(SPARC)
Posts: 418

Original Poster
Rep: Reputation: 30
Tnx. I got that under control last nite. I was going to post, but now I came across something else (plz dont hate me )

ok:
********************************
grub-install --root-directory=/boot /dev/hda
********************************

returns:

********************************
Probing devices to guess BIOS drives. This may take a long time.
df: Warning: cannot read table of mounted filesystems: No such file or directory
df: Warning: cannot read table of mounted filesystems: No such file or directory
Could not find device for /boot/boot: Not found or not a block device.
********************************

Not sure, but the documentation says I have to do this unless the /boot par isn't a seperate par. Mine is. It's on /dev/hda2.
I also tried that in the command and it said the same thing. (just a shot in the dark)

Also, the docs say if you have no flopp to add the following:
********************************
--no-floppy
********************************

Tried that and it returned:
********************************
Unrecognized option '--no-floppy'
Usage: grub-install [OPTION]...blah blah blah
********************************

Standard help as far as I can tell which means the --no-floppy options is... extinct?

Please advise.
T.I.A.

L8rz
 
Old 04-07-2004, 04:32 PM   #8
DaFrEQ
Member
 
Registered: Mar 2002
Location: Earth... for now
Distribution: SuSE9.2 AMD64; LFS; GentooAMD64; Ubuntu10.04; RHEL 5.5; Solaris10(SPARC)
Posts: 418

Original Poster
Rep: Reputation: 30
Right, so I found out that the --no-floppy option is a boot option only???
(plz correct if I'm incorrect...)
Just wondering why they put that part in the install... maybe I read it wrong.

Anyhow, still having problems getting grub-install to work from the above post. Any ideas?
I googled all day, and even posted on the gentoo forums, but no one seems to know... or reply.

Tnx.
L8rz
 
Old 04-07-2004, 05:20 PM   #9
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
I am not a grub expert (only used it once) but it looks like you'd need to specify --root-directory=/dev/hda without the /boot.
The --no-floppy thing is just to tell grub not to probe for a flopp buty drive since the emachines doesn't have one but it works fine either way.Just don't forget to add the bootoptions or pretty much nothing will work.
Hope that helps.
 
Old 04-08-2004, 05:32 PM   #10
DaFrEQ
Member
 
Registered: Mar 2002
Location: Earth... for now
Distribution: SuSE9.2 AMD64; LFS; GentooAMD64; Ubuntu10.04; RHEL 5.5; Solaris10(SPARC)
Posts: 418

Original Poster
Rep: Reputation: 30
Ok so that didnt work either.
I tried:
***********************
# grub-install --root-directory=/boot /dev/hda
also tried:
# grub-install --root-directory=/dev/hda
also tried:
# grub-install --root-directory=/dev/hda /boot
also tried:
# grub-install --root-directory=/boot /dev/hda2

None seem to work. As a matter of fact, the only one that didnt simply print the grub help menu was the initial grub-install --root-directory=/boot /dev/hda

So, I'm unclear. On the gentoo forum, someone said something about doing "grub manually" but didnt' leave much of an explanation.
Would it simply be easier to re-start the install and only have the 1 partition? (other than swap that is)
The only reason to use the --root-directory= option is if your /boot is a serperate partition. At least that's how I read the install docs.

Plz let me know if I'm wrong, or just simply overlooking something.

Tnx.
L8rz
 
Old 04-08-2004, 06:07 PM   #11
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
Nah - without the /boot partition you'll get into other problems.Don't remember which ones but there was something.Make sure your fstab is ok and all the partitions are mounted when you configure grub.Didn't have any trouble there at all besides typos with the bootoptions.
 
Old 04-10-2004, 03:18 AM   #12
DaFrEQ
Member
 
Registered: Mar 2002
Location: Earth... for now
Distribution: SuSE9.2 AMD64; LFS; GentooAMD64; Ubuntu10.04; RHEL 5.5; Solaris10(SPARC)
Posts: 418

Original Poster
Rep: Reputation: 30
Ok. So I finished with the second attempt of stage2 and now the machine freezes during boot.
The following is whats left on the screen after whatever scrolls on by:
********************************
ACPI: Processor [CPU0] (supports C1 C2)
mice: PS/2 mouse device common for all mice
input: PC Speaker
serio: i8042 KBD port at 0x60,0x64 irq1
atkbd.c: Unknown key released...
blah blah blah
********************************

I've searched the gentoo forums, but those posts over there seem to be less relevant to the topic than anything I've ever seen.
SO, does anyone know how or maybe a way or a place that can inform me of how to get this damn gentoo distro installed, and actually Working on this laptop?

I've been screwing with it for 2 weeks now, and between the gentoo site glitching and not letting ppl be able to read the damn install docs, or even dl them for that matter (gee, what a Eureka! idea eh?), crappy stages that seem to work when they want, and a bunch of miss-match info on what does and doesnt work with this distro on this laptop... I'm really confused and totally frustrated.

Plz show me the light.
Tnx.
P.S. see, this is the damn problem with ONE (1) OS trying to dominate the market and getting away with it for stupid governmental and SHEEP reasons.
"Gee, lets build a new system that will only work with winbloz"
"But we've already done that"
"Ya I know, but lets keep doing it!"
...im so tired of this shit


...sorry.
 
Old 04-10-2004, 04:23 PM   #13
DaFrEQ
Member
 
Registered: Mar 2002
Location: Earth... for now
Distribution: SuSE9.2 AMD64; LFS; GentooAMD64; Ubuntu10.04; RHEL 5.5; Solaris10(SPARC)
Posts: 418

Original Poster
Rep: Reputation: 30
<bump>
 
Old 04-13-2004, 06:35 AM   #14
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
I am finally back in business - box@home was screwed up and the laptop didn't like to connect to the internet any more plus there was a lot of beer to drink

Anyway - the doc's are here http://www.gentoo.org/doc/en/handboo...book-amd64.xml
and they are probably a little screwed up - seems to be a gentoo feature recently.

The important steps that are special to the emachines laptop are here http://forums.gentoo.org/viewtopic.php?t=130292

The things that make life easier without combing thru the whole thread are:

Compiling the kernel:

emerge gentoo-dev-sources
emerge genkernel
genkernel --kernel-config=/usr/share/genkernel/x86_64/kernel-config-2.6-emachines all

Configure grub:

default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Emachines Kernel
root (hd0,0)
kernel (hd0,0)/boot/kernel-2.6.3-gentoo-r2 root=/dev/ram0 init=/linuxrc real_root=/dev/hda3 vga=0x317 splash=verbose pci=noacpi noapic
initrd (hd0,0)/boot/initrd-2.6.3-gentoo-r2

Make sure that you got the bootoptions right - I screwed around forever because I had typos in the pci=noacpi noapic part.

Of course you'll need to replace it with your actual kernel version and partitions.
Seems that there is trouble with the 2.6.5 kernel - try to stick to 2.6.3
There is also some info on those sites:
http://skreak.com/m6805/
http://www.muru.com/linux/amd64/

Hope that helps a bit - unfortunately I don't have one of those anymore.Can't help you with any specific problems.
 
Old 09-08-2004, 02:13 PM   #15
axl
LQ Newbie
 
Registered: Sep 2004
Distribution: gentoo
Posts: 2

Rep: Reputation: 0
Hi,

I'm just wondering HOW you installed gentoo ...
If it was by KNOPPIX or something similar you should not only 'cp /proc/mounts /etc/mtab" but edit it to fit your needs ...
there are loads of entries like /dev/root / rootfs rw 0 0
and all that stuff a cat /proc/mounts will give you. there should only be one line that sounds like /dev/sda1 / xfs rw 0 0

hope that helps ...
regards,
axl
 
  


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
zsnes && logitech dual action gamepad && dpad woes John5788 Linux - Games 5 10-29-2008 09:56 PM
Anyone tried a DFI NForce 4 && AMD64 X2 combo ?? small_boy22 Linux - Hardware 1 12-20-2005 08:47 PM
(FreeBSD && Fedora Core 4 && Slackware 10.0) Filesystem Support taylor_venable *BSD 1 07-14-2005 02:24 PM
Japanese canna won't work : Warning: &#12363;&#12394;&#28450;&#23383;&#22793;&am OrganicOrange84 Debian 3 06-30-2005 02:28 PM
Ph&#7909;c h&#7891;i d&#7919; li&#7879;u b&#7883; m&#7845;t???, c&#7913; pollsite General 1 06-27-2005 12:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 03:27 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration