Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Moving Install to another Hard-Disk, CFlags/Cross Compiling
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
rwgast
n00b
n00b


Joined: 26 Feb 2012
Posts: 6

PostPosted: Mon Feb 27, 2012 11:27 am    Post subject: Moving Install to another Hard-Disk, CFlags/Cross Compiling Reply with quote

Ok so im setting up gentoo on an external hard drive from ubuntu. Once Im done i would like to remove ubuntu make a new partion table where ubuntu was and then copy gentoo over to the main hard drive on on the new partion table where ubuntu was. Can i just boot onto a live cd and use the cp command to do this, or is there a better way?

I do alot of kernel development for android and embedded ARM boards. Is the make.conf i set up going to interfere with my cross compiling? For instance i set my march to native, im not use to a global gcc config will my makefiles and cross compiler overide the make.conf?
Back to top
View user's profile Send private message
ultraincognito
Guru
Guru


Joined: 03 Jun 2011
Posts: 346
Location: Ukraine

PostPosted: Mon Feb 27, 2012 12:54 pm    Post subject: Reply with quote

rwgast wrote:
Can i just boot onto a live cd and use the cp command to do this, or is there a better way?

Yes, you can.
Back to top
View user's profile Send private message
Trog Dog
Apprentice
Apprentice


Joined: 04 Aug 2007
Posts: 282

PostPosted: Tue Feb 28, 2012 12:48 am    Post subject: Re: Moving Install to another Hard-Disk, CFlags/Cross Compil Reply with quote

rwgast wrote:
Ok so im setting up gentoo on an external hard drive from ubuntu. Once Im done i would like to remove ubuntu make a new partion table where ubuntu was and then copy gentoo over to the main hard drive on on the new partion table where ubuntu was. Can i just boot onto a live cd and use the cp command to do this, or is there a better way?


Is there a reason why you don't just boot the live cd and hose your ubuntu install then just do a normal gentoo install? btw if you need wireless support the sysresc cd is generally the best.
_________________
CIC1=CC=C(C2=N[C@@H](CC(OC(C)(C)C)=O)C3=NN=C(C)N3C4=C2C(C)=C(C)S4)C=C1
Back to top
View user's profile Send private message
rwgast
n00b
n00b


Joined: 26 Feb 2012
Posts: 6

PostPosted: Tue Feb 28, 2012 3:15 am    Post subject: Reply with quote

Im not hosing ubuntu becuase I have alot of work to do I cant afford to have my PC down. Im trying to take my time get all my flags optimized and make sure I have a full working version of X before I hose my current install. I just have to have access to my cross compilers, I cant afford to have my laptop down more than a few hours. Im also using this as a learning experince to try to port gentoo to another platform. I figure after i get the procedure down i can build ubuntu on a pc using my arm cross compiler for a board called the Raspberry PI.

What is the sysresc cd? Sorry for my ignorance. Also Im at the point of building my kernel and i see no drivers for my Atheros chipset wifi. Anyone know if there is some native drivers i can get or am i going to have to use ndiswrapper/madwifi or some crap like that?
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 7679

PostPosted: Tue Feb 28, 2012 4:31 am    Post subject: Re: Moving Install to another Hard-Disk, CFlags/Cross Compil Reply with quote

rwgast wrote:
I do alot of kernel development for android and embedded ARM boards. Is the make.conf i set up going to interfere with my cross compiling? For instance i set my march to native, im not use to a global gcc config will my makefiles and cross compiler overide the make.conf?
This will not be a problem. /etc/portage/make.conf controls the settings that Portage applies when it runs ebuilds. It does not have any effect on non-Portage compilations, whether native or cross.
rwgast wrote:
What is the sysresc cd? Sorry for my ignorance. Also Im at the point of building my kernel and i see no drivers for my Atheros chipset wifi. Anyone know if there is some native drivers i can get or am i going to have to use ndiswrapper/madwifi or some crap like that?
System Rescue CD. What wifi chipset do you use? What is the output of lspci -k when you are running Ubuntu on that system?
Back to top
View user's profile Send private message
rwgast
n00b
n00b


Joined: 26 Feb 2012
Posts: 6

PostPosted: Tue Feb 28, 2012 6:00 am    Post subject: Reply with quote

Ok well thats good then even when not using a cross compiler i can set up my own flags. As far as USE flags what happens if say you dont have something like alsa in your USE flags, does that mean nothing portage compiles will have sound support??

Well i have and Atheros AR9285 b/g/n card here is the output you asked for

Code:

robert@logicdesign:~$ lspci -k
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS880 Host Bridge
   Subsystem: Hewlett-Packard Company Device 3639
00:02.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (ext gfx port 0)
   Kernel driver in use: pcieport
   Kernel modules: shpchp
00:04.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 0)
   Kernel driver in use: pcieport
   Kernel modules: shpchp
00:05.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 1)
   Kernel driver in use: pcieport
   Kernel modules: shpchp
00:06.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 2)
   Kernel driver in use: pcieport
   Kernel modules: shpchp
00:0a.0 PCI bridge: Advanced Micro Devices [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 5)
   Kernel driver in use: pcieport
   Kernel modules: shpchp
00:11.0 SATA controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
   Subsystem: Hewlett-Packard Company Device 3639
   Kernel driver in use: ahci
   Kernel modules: ahci
00:12.0 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
   Subsystem: Hewlett-Packard Company Device 3639
   Kernel driver in use: ohci_hcd
00:12.1 USB Controller: ATI Technologies Inc SB7x0 USB OHCI1 Controller
   Subsystem: Hewlett-Packard Company Device 3639
   Kernel driver in use: ohci_hcd
00:12.2 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller
   Subsystem: Hewlett-Packard Company Device 3639
   Kernel driver in use: ehci_hcd
00:13.0 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
   Subsystem: Hewlett-Packard Company Device 3639
   Kernel driver in use: ohci_hcd
00:13.1 USB Controller: ATI Technologies Inc SB7x0 USB OHCI1 Controller
   Subsystem: Hewlett-Packard Company Device 3639
   Kernel driver in use: ohci_hcd
00:13.2 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller
   Subsystem: Hewlett-Packard Company Device 3639
   Kernel driver in use: ehci_hcd
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 3c)
   Subsystem: Hewlett-Packard Company Device 3639
   Kernel driver in use: piix4_smbus
   Kernel modules: sp5100_tco, i2c-piix4
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
   Subsystem: Hewlett-Packard Company Device 3639
   Kernel driver in use: HDA Intel
   Kernel modules: snd-hda-intel
00:14.3 ISA bridge: ATI Technologies Inc SB7x0/SB8x0/SB9x0 LPC host controller
   Subsystem: Hewlett-Packard Company Device 3639
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor DRAM Controller
   Kernel modules: amd64_edac_mod
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Miscellaneous Control
   Kernel driver in use: k10temp
   Kernel modules: k10temp
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Link Control
01:00.0 VGA compatible controller: ATI Technologies Inc M92 [Mobility Radeon HD 4500/5100 Series]
   Subsystem: Hewlett-Packard Company Device 3639
   Kernel driver in use: radeon
   Kernel modules: radeon
01:00.1 Audio device: ATI Technologies Inc RV710/730
   Subsystem: Hewlett-Packard Company Device 3639
   Kernel driver in use: HDA Intel
   Kernel modules: snd-hda-intel
08:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
   Subsystem: Hewlett-Packard Company Device 303f
   Kernel driver in use: ath9k
   Kernel modules: ath9k
09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
   Subsystem: Hewlett-Packard Company Device 3639
   Kernel driver in use: r8169
   Kernel modules: r8169

Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 7679

PostPosted: Wed Feb 29, 2012 3:15 am    Post subject: Reply with quote

rwgast wrote:
As far as USE flags what happens if say you dont have something like alsa in your USE flags, does that mean nothing portage compiles will have sound support??
As described in Definition of a USE flag, USE flags control optional behavior. Setting USE=-alsa will disable optional alsa support. If a package always supports alsa, then setting USE=-alsa will not disable it.
rwgast wrote:
Well i have and Atheros AR9285 b/g/n card here is the output you asked for
Code:
08:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
   Subsystem: Hewlett-Packard Company Device 303f
   Kernel driver in use: ath9k
   Kernel modules: ath9k
You need the ath9k driver to operate your wireless card. If I had to guess, I would say that this is the kernel configuration symbol CONFIG_ATH9K, described in menuconfig as Atheros 802.11n wireless cards support.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum