Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on AMD64
  • Search

Anybody running amd64 under 32bit ... need help installing !

Have an x86-64 problem? Post here.
Locked
Advanced search
16 posts • Page 1 of 1
Author
Message
Kioshen
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 109
Joined: Tue Sep 23, 2003 3:28 pm
Location: Montreal, PQ

Anybody running amd64 under 32bit ... need help installing !

  • Quote

Post by Kioshen » Wed Apr 14, 2004 7:52 pm

Hi everybody !

Due to some constrain imposed by the programmers I need to install a 32bit linux on a amd64. Right now, the only livecd that I was able to get at least something bootable but a long way from functionnal is the last beta livecd for amd64 that Brad put up that included lvm2, md support and a 2.6 kernel.

I need all of these since the 2.6 kernel includes the correct drivers for the sATA controller included in the Asus K8V DLX, I need md support because I have to make a software raid1 array and lvm2 support well because it's really useful :).

As of right now, I have been able to make raid1 arrays and create functionnal lv's on top of them. I'm using a 1.4 stage3 athlon xp tarball because the 2004.0 brokes because I am separating / and /usr (and many others). It is bootable and I have been able to build a 32bit kernel using the "make ARCH=i386" trick. But at boot it's mostly broken not even recognising the array as a physical volume in the lvm (which is already activated), modprobe.conf is missing, some binairies are missing too etc etc etc.

I was wondering if anyone were able to do a full 32bit install using gentoo on an amd64 and how did you do it. I would be glad to provide config file listing or anything that might be useful or even my little guide book that I've writen to make sure I do it right (at least in full 64bit it works flawlessly :().
Top
thumper
Guru
Guru
User avatar
Posts: 555
Joined: Fri Dec 06, 2002 2:58 am
Location: Venice FL

  • Quote

Post by thumper » Wed Apr 14, 2004 7:59 pm

As I understand it, just use the x86, or athlon-xp live cd to do a 32 bit install and build it as an athlon-xp

George
Top
Kioshen
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 109
Joined: Tue Sep 23, 2003 3:28 pm
Location: Montreal, PQ

  • Quote

Post by Kioshen » Thu Apr 15, 2004 2:33 am

The problem with this is that there aren't drivers for sATA for the motherboard since there are available only in 2.6.x kernels. I think there is support for sATA drives in 2.4.x kernels but I'm not sure.

Maybe I should research some more on sata for 2.4 but I don't know if the other livecd have lvm2 and md support included.
Top
athom
n00b
n00b
Posts: 9
Joined: Tue Apr 13, 2004 11:45 pm

  • Quote

Post by athom » Thu Apr 15, 2004 4:27 am

Configuring a 2.6.x kernel from a 2.4.x LiveCD isn't a problem; the only issue you may have is the installation kernel not properly recognizing your disks during. Sometimes the PATA drivers will work well enough to access the SATA disks (though there will likely be performance or reliability issues), but if not, you'll need to install a 2.6.x system onto a separate PATA disk and bootstrap the real installation (onto the SATA disks) from there. Once booting into 2.6.x from the PATA disk, mount the athlon-xp LiveCD in /mnt/cdrom, do the chroot as normal and emerge development-sources or gentoo-dev-sources when building your kernel. Be sure to configure libata in the SCSI section of the kernel config to get the correct SATA support; your drive(s) should appear as /dev/sd* instead of /dev/hd*.
Top
Kioshen
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 109
Joined: Tue Sep 23, 2003 3:28 pm
Location: Montreal, PQ

  • Quote

Post by Kioshen » Thu Apr 15, 2004 3:28 pm

I think that's the only solution left. I can probably salvage a spare harddrive somewhere. Guess I really have to take the plan B :? .

Thanks for confirming my thoughts ...
Top
chrisrot
n00b
n00b
Posts: 25
Joined: Thu Apr 01, 2004 5:24 am

  • Quote

Post by chrisrot » Thu Apr 15, 2004 5:45 pm

Hi,

you could also install a small 64bit gentoo with the emul-32bit libs in one partion, chroot into 32bit and install gentoo athlon-xp then.
That worked for me.

ciao
Christoph
Top
Corona688
Veteran
Veteran
User avatar
Posts: 1204
Joined: Sat Jan 10, 2004 7:51 pm

  • Quote

Post by Corona688 » Thu Apr 15, 2004 7:15 pm

I know that plan B works for 64-bit installs, anyway.. I came into the Gentoo world right at the time when LiveCD's didn't support my SATA but their latest kernel did. Plunked in an ancient puny 1GB drive, rebuilt kernel, installed on main drive along with grub and I've been booting from the main drive ever since.

Except when I've been stupid enough to completely fubar grub. :oops: Let me tell you, that spare boot drive came in handy long after I expected it to.
Petition for Better 64-bit ATI Drivers - Sign Here
http://www.petitiononline.com/atipet/petition.html
Top
A Hired Goon
n00b
n00b
Posts: 66
Joined: Sun Apr 25, 2004 8:22 pm
Location: Alberta, Canada

  • Quote

Post by A Hired Goon » Sat Jun 19, 2004 4:00 am

load the regular x86 tar files on your partitions, but when you chroot use "linux32 chroot" and your install enviroment will be 32bit ( took me awhile to find this info when all I had was a booting amd64 disc).

I realize now that this is an old thread and Im bringing it back from the dead. but I was searching for other info and came accross it. maybe it will help someone out...
Top
IvanHoe
l33t
l33t
User avatar
Posts: 658
Joined: Sat Oct 05, 2002 3:50 pm

  • Quote

Post by IvanHoe » Sat Jun 19, 2004 5:53 am

I have a similar problem: the IT8212F raid controller isn't supported in any kernel. What I do is install to an old 10 gig ATA drive I had laying around, patch the kernel with the raid drivers and use that drive to boot for my installation.

It's kind of a pain but I only had to do it once. I've reinstalled several times (I experiment too much) and it's pretty much hassle free. I can even update the boot drive so it has the latest stuff.
Top
Kioshen
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 109
Joined: Tue Sep 23, 2003 3:28 pm
Location: Montreal, PQ

  • Quote

Post by Kioshen » Mon Jun 21, 2004 3:31 pm

@ Hired goon

Nice tip indeed but do you boot with the 2004.x amd64 cd and then type linux32 chroot to be in full 32bit mode ?

If so well we learn something everyday I guess. It would be great since I have another server to build next week :).
-= United we share =-

Adopt an unanswered post today!
Why emerge -U will kill your Gentoo
Top
blueworm
l33t
l33t
Posts: 962
Joined: Fri May 09, 2003 3:21 pm

  • Quote

Post by blueworm » Mon Jun 21, 2004 5:03 pm

Kioshen wrote:The problem with this is that there aren't drivers for sATA for the motherboard since there are available only in 2.6.x kernels. I think there is support for sATA drives in 2.4.x kernels but I'm not sure.

Maybe I should research some more on sata for 2.4 but I don't know if the other livecd have lvm2 and md support included.
Incorrect just boot the SMP kernel. Both 2004.0 and 2004.1 32bit live cd´s have 2.6 kernels.
Top
Kioshen
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 109
Joined: Tue Sep 23, 2003 3:28 pm
Location: Montreal, PQ

  • Quote

Post by Kioshen » Mon Jun 21, 2004 5:54 pm

blueworm wrote:
Kioshen wrote:The problem with this is that there aren't drivers for sATA for the motherboard since there are available only in 2.6.x kernels. I think there is support for sATA drives in 2.4.x kernels but I'm not sure.

Maybe I should research some more on sata for 2.4 but I don't know if the other livecd have lvm2 and md support included.
Incorrect just boot the SMP kernel. Both 2004.0 and 2004.1 32bit live cd´s have 2.6 kernels.
Well I just didn't know, I didn't assumed either... I was just asking around. Now that I know, I sure hope the smp kernel includes md and lvm support. I think I'll found out next week when I'll try to rebuild our opteron server now that the source code of the hpt1820 drivers have been available for some time. I will finally be able to ditch RH9 :)
-= United we share =-

Adopt an unanswered post today!
Why emerge -U will kill your Gentoo
Top
SiggiS
n00b
n00b
Posts: 36
Joined: Tue May 18, 2004 7:16 am
Location: Germany

  • Quote

Post by SiggiS » Mon Jun 21, 2004 11:54 pm

How about to use a Knoppix CD? I installed everything from there. You dont really need the 2004.x live CD` from gentoo.

Greetings Marc
Top
A Hired Goon
n00b
n00b
Posts: 66
Joined: Sun Apr 25, 2004 8:22 pm
Location: Alberta, Canada

  • Quote

Post by A Hired Goon » Sat Jul 03, 2004 8:04 pm

Kioshen wrote:@ Hired goon

Nice tip indeed but do you boot with the 2004.x amd64 cd and then type linux32 chroot to be in full 32bit mode ?

If so well we learn something everyday I guess. It would be great since I have another server to build next week :).
you are correct. "linux32 chroot $install-dir /bin/bash"

You are running in a emulated 32bit enviro, it just so happens your installing gentoo while in it. Ive had no problems installing 32bit this way. The install sees everything as 32bit and doesnt know the difference. Just be careful on your make.conf. make sure all is in order for either a 32bit or 64bit install, the default is for 64bit obviously.

hope that explains it Kioshen. Its nice to only need one install cd that can go 32 or 64. Let me know how it goes for ya

A Hired Goon
Top
Vendicatore
Apprentice
Apprentice
Posts: 252
Joined: Mon Apr 05, 2004 6:51 am
Location: Carate Brianza, Italy

  • Quote

Post by Vendicatore » Wed Jul 07, 2004 7:44 am

I booted using smp kernel from 2004.0 and all worked fine on my asus k8v-deluxe with sata disks (both via and promise).
Top
jdong
n00b
n00b
Posts: 41
Joined: Mon Mar 01, 2004 11:41 am

  • Quote

Post by jdong » Fri Jul 09, 2004 2:11 pm

SiggiS wrote:How about to use a Knoppix CD? I installed everything from there. You dont really need the 2004.x live CD` from gentoo.

Greetings Marc
If any binaries are 64-bit in the install environment, then you'll need a 64-bit kernel.
Top
Locked

16 posts • Page 1 of 1

Return to “Gentoo on AMD64”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic