View previous topic :: View next topic |
Author |
Message |
RobinVossen Tux's lil' helper
Joined: 05 Nov 2007 Posts: 132
|
Posted: Mon Dec 03, 2007 9:42 am Post subject: Another Alternetive Way to install Gentoo? |
|
|
Well I have problems with Installing Gentoo on my box at home.
Since it only has Wifi (bcm43xx) and well I can set it up. But Gentoo needs emerge -av gentoo-sources for it to work.
So I thought, what if I install Arch Linux and put Portage on it after the install?
If I do this, will my system get REALLY dirty? Or will this just be fine?
Can I like do a command with Emerge then that it recompiles the entire system?
Cheers,
Robin
ps. I got couple of different errors. Once I got Kernel panic. once it did just stop working, I got a Grub error umm I managed to set it up once but without Inet nor Sound.. I tryed to Minimal, Install, Alt ways..
pps. I got debian on that box at the moment. _________________ Server Unplugged! |
|
Back to top |
|
|
tadeboro Tux's lil' helper
Joined: 21 Nov 2005 Posts: 93 Location: Ljubljana, Slovenia
|
Posted: Mon Dec 03, 2007 9:55 am Post subject: |
|
|
It may be simpler just to do:
Code: | emerge -pvf gentoo-sources > download.list |
Now you copy download.list file to some portable storage device and then execute on some other computer:
Code: | wget -i download.list -nc |
After the files are downloaded, you just put them back on portable device and move them in your distfiles dir. Now you can execute emerge.
Btw, you can use this method for all the packages you need to emerge before you can set-up your internet connection (at least I do it that way;)
tadej |
|
Back to top |
|
|
RobinVossen Tux's lil' helper
Joined: 05 Nov 2007 Posts: 132
|
Posted: Mon Dec 03, 2007 10:00 am Post subject: |
|
|
So then I can just build my Gentoo System in a folder on my Current Debian.
Download Stage files and put them in that folder then do that emerge trick
Use wget put them in the Same Folder.
Then Boot the LiveCD. Partition the Disks. And copy the files from my USB to the HardDrive?
That should work ^^?
Cheers,
Jeez, I love Gentoo _________________ Server Unplugged! |
|
Back to top |
|
|
tadeboro Tux's lil' helper
Joined: 21 Nov 2005 Posts: 93 Location: Ljubljana, Slovenia
|
Posted: Mon Dec 03, 2007 10:57 am Post subject: |
|
|
I never did it on non-gentoo system, but I think the folloving would work:
Code: |
cd /home/UNAME (replace UNAME with your username)
mkdir gentoo && cd gentoo
wget http://distfiles.gentoo.org/releases/x86/2007.0/stages/stage3-i686-2007.0.tar.bz2 (replace this URL with appropriate)
wget http://distfiles.gentoo.org/snapshots/portage-latest.tar.bz2
tar xvfj stage3-i686-2007.0.tar.bz2
tar xvfj portage-latest.tar.bz2 -C usr/
mount -t proc none /home/UNAME/gentoo/proc
mount -o bind /dev /home/UNAME/gentoo/dev
chroot . /bin/bash
env-update && source /etc/profile
emerge -pvf <all needed packages> > download.list
|
Now switch to some other console and execute
Code: |
cd /home/UNAME/gentoo/usr/portage/distfiles
wget -nc -i /home/UNAME/gentoo/download.list
# wait for files to be downloaded #
|
Now switch back to your chrooted console and emerge
Code: |
emerge -av <all needed packages>
# wait untill emerge finishes #
exit
umount /home/UNAME/gentoo/dev /home/UNAME/gentoo/proc
|
Now you can copy all the files in gentoo folder to removable disk and start instalation. After partitioning your disks, create needed dir-tree (if you intend to create separate partition for /usr, you need to create usr folder), mount partitons and copy files.
I think this should work (at least in theory;) |
|
Back to top |
|
|
roki942 Apprentice
Joined: 18 Apr 2005 Posts: 285 Location: Seattle
|
|
Back to top |
|
|
davascript l33t
Joined: 07 Apr 2004 Posts: 618 Location: Pennsylvania
|
Posted: Tue Dec 18, 2007 6:11 am Post subject: |
|
|
Knoppix Installation is almost identical to gentoo livecd install just with a gui. You can easily follow this and the handbook to install Gentoo. _________________ Registered Linux User # 451058 |
|
Back to top |
|
|
RobinVossen Tux's lil' helper
Joined: 05 Nov 2007 Posts: 132
|
Posted: Tue Dec 18, 2007 7:55 am Post subject: |
|
|
Well, mates..
I tryed that.
I am now at the point that the Stage3 is on there. As is Portage.
but I have to make my kernel now by doing: "EMERGE GENTOO-SOURCES"
I tryed to use the Sabayon LiveCD to setup my wifi.
Bad luck.. Sabayon didnt really work right.
Then I did try PcLinuxOS since I remembered that they had a connection wizard when it starts.
So I just had to select the *.inf file and it should be fine.
But I got the error... Invalid Driver.
Then I tryed to do OldFashion Modprobe again..
And, just guess.. BAD luck.. I got some error.. It didnt really work.
I have a bcm43xx so I found out its the Anti-Christ of the Wifi-Cards...
I hate this..
I dont have money for a new wifi card.
So, well I guess I have to stay with WinXP or a Crap (in my eyes) Distro like Debian... _________________ Server Unplugged! |
|
Back to top |
|
|
tadeboro Tux's lil' helper
Joined: 21 Nov 2005 Posts: 93 Location: Ljubljana, Slovenia
|
Posted: Tue Dec 18, 2007 8:54 am Post subject: |
|
|
If you are really determined that Debian is a C*** Distro, you still have some options to install gentoo system.
You can chroot into your gentoo partiton (see the manual for detailed description) and then execute:
Code: |
emerge -pvf gentoo-sources /*add other needed packages here*/ >> download.list
|
Then you just copy this file to some internet and wget enabled machine and execute:
Code: |
wget -i download.list -nc
|
After that, you copy downloaded files to your distfiles dir, chroot back to your gentoo instalation and run emerge again (without the -f and -p switches).
This way you can create an enviroment, in which you'll be able to build needed drivers and finaly connect to internet.
Manual for getting your BCM43xx to work is on gentoo-wiki. |
|
Back to top |
|
|
RobinVossen Tux's lil' helper
Joined: 05 Nov 2007 Posts: 132
|
Posted: Tue Dec 18, 2007 9:18 am Post subject: |
|
|
tadeboro wrote: | Manual for getting your BCM43xx to work is on gentoo-wiki. |
Tryed and Failed
But, I guess Ill do that thing. Since I really want Gentoo all the other Distros arnt to my liking.. (I HATE ubuntu for example and Suse makes my nails burn)
Its just since I need Gentoo ^^
Thanks a lot
I kinda removed Debian already..
heh, but well I guess "wget -i download.list -nc " can be done with Cygwin? or will I get problems with the CR/LF thing windows has?
Cheers,
Robin _________________ Server Unplugged! |
|
Back to top |
|
|
HyperQuantum Tux's lil' helper
Joined: 27 Sep 2005 Posts: 88
|
Posted: Tue Dec 18, 2007 11:53 am Post subject: |
|
|
davascript wrote: | Knoppix Installation is almost identical to gentoo livecd install just with a gui. You can easily follow this and the handbook to install Gentoo. |
I recently did a Gentoo installation from a Ubuntu liveCD. I followed the instructions for Knoppix and it worked just fine. |
|
Back to top |
|
|
RobinVossen Tux's lil' helper
Joined: 05 Nov 2007 Posts: 132
|
Posted: Tue Dec 18, 2007 11:55 am Post subject: |
|
|
heh yea I know it can be dome...
But the problem it my wifi card _________________ Server Unplugged! |
|
Back to top |
|
|
davascript l33t
Joined: 07 Apr 2004 Posts: 618 Location: Pennsylvania
|
Posted: Wed Dec 19, 2007 3:02 am Post subject: |
|
|
RobinVossen wrote: | heh yea I know it can be dome...
But the problem it my wifi card |
If your wifi card works in debian it should work from ubuntu/knoppix. They are based on debian. _________________ Registered Linux User # 451058 |
|
Back to top |
|
|
RobinVossen Tux's lil' helper
Joined: 05 Nov 2007 Posts: 132
|
Posted: Wed Dec 19, 2007 8:33 am Post subject: |
|
|
I know that.
But well I did make it work with LOTS of wiggling and tweaking..
I wont be able to do that with a LiveCD.. (well I can but I just dont have time for that)
The Windows Drivers are called Invalid when Selected. Its really a pain..
I might just buy a new Wificard that is instant Detected and working in Gentoo.
They dont cost much. And ill have a decent wifi.. _________________ Server Unplugged! |
|
Back to top |
|
|
tadeboro Tux's lil' helper
Joined: 21 Nov 2005 Posts: 93 Location: Ljubljana, Slovenia
|
Posted: Wed Dec 19, 2007 12:21 pm Post subject: |
|
|
RobinVossen wrote: | I kinda removed Debian already..
heh, but well I guess "wget -i download.list -nc " can be done with Cygwin? or will I get problems with the CR/LF thing windows has?
|
You can download files on Windows with native win32 version of wget (I do it this way when I download files at University). Just google "wget win32".
And wget happily reads all input files (with or without CR at EOL). |
|
Back to top |
|
|
RobinVossen Tux's lil' helper
Joined: 05 Nov 2007 Posts: 132
|
Posted: Wed Dec 19, 2007 12:38 pm Post subject: |
|
|
Ah thanks, and then I have one Final Question.
Where should I dump these Files? (yea I am kinda a noob.)
Cheers,
Robin
edit:
YEY =D
/usr/portage/distfiles I found it ^^
I love GENTOO so much..
Its F***cking Flexible..
I think I turn /usr/portage/distfiles in another Partition.
So that that Part is extermly Flexible and Quick.
Ill clean it a lot then ^^
I Love GENTOO! (But I love my Girlfriend even more ) _________________ Server Unplugged!
Last edited by RobinVossen on Thu Dec 20, 2007 9:18 am; edited 1 time in total |
|
Back to top |
|
|
tadeboro Tux's lil' helper
Joined: 21 Nov 2005 Posts: 93 Location: Ljubljana, Slovenia
|
Posted: Thu Dec 20, 2007 9:18 am Post subject: |
|
|
RobinVossen wrote: | Ah thanks, and then I have one Final Question.
Where should I dump these Files? (yea I am kinda a noob.)
|
All downloaded files go to yours distfiles directory (/usr/portage/distfiles is default). |
|
Back to top |
|
|
RobinVossen Tux's lil' helper
Joined: 05 Nov 2007 Posts: 132
|
Posted: Thu Dec 20, 2007 9:19 am Post subject: |
|
|
heh I edited my post at the same time as you replyed .
Thanks though _________________ Server Unplugged! |
|
Back to top |
|
|
RobinVossen Tux's lil' helper
Joined: 05 Nov 2007 Posts: 132
|
Posted: Sun Jan 13, 2008 10:29 am Post subject: |
|
|
Small problem found in this way..
I tryed it a couple of days ago since I had some spare time in my hands.
But windows doesnt let me read my ReiserFS system.
I tryed the Tools (ReiserRF Reader) but it doesnt show the right system.
So, I cant retive my download.list file.
Now I wonder, does somebody want to be so kind to run the command for me and post the download.list file?
The Command:
Code: | emerge -pvf gentoo-sources syslog-ng reiserfsprogs dhcpcd
grub ndiswrapper wireless-tools gtkwifi >> download.list |
THANKS a lot if somebody would like to do this for me.
Cheers,
Robin (Still a Windows user ) _________________ Server Unplugged! |
|
Back to top |
|
|
tadeboro Tux's lil' helper
Joined: 21 Nov 2005 Posts: 93 Location: Ljubljana, Slovenia
|
Posted: Mon Jan 14, 2008 11:05 am Post subject: |
|
|
You can mount your windows partition and copy download.list from gentoo live cd or, if you have any USB sticks lying around, you can copy download.list onto it.
This is how I do it:
Code: | # Boot gentoo live cd, create partitions, ... , create download list, leave chroot
mkdir /mnt/wins
mount /dev/hdax /mnt/wins # replace hdax with your windows partition
cp /mnt/gentoo/download.list /mnt/wins
umount /dev/hdax
|
For USB method is quite the same, just mount your USB drive instead of windows partition.
Hope it helps
(I can still post you download.list if you wish, but since I don't have internet connection at students apartment, it will take some time.) |
|
Back to top |
|
|
RobinVossen Tux's lil' helper
Joined: 05 Nov 2007 Posts: 132
|
Posted: Mon Jan 14, 2008 11:15 am Post subject: |
|
|
Yey, a friend of mine did run the Emerge command without download.list thinhs etc and just gave me a CD with all the packages of gentoo Id need for my system XD.
After installing them all I guess Ill need to run emerge -av world.
but well.
Thanks for everything
Cheers,
Robin _________________ Server Unplugged! |
|
Back to top |
|
|
trapdoor n00b
Joined: 28 Nov 2004 Posts: 22
|
Posted: Mon Jan 14, 2008 9:15 pm Post subject: |
|
|
HyperQuantum wrote: | davascript wrote: | Knoppix Installation is almost identical to gentoo livecd install just with a gui. You can easily follow this and the handbook to install Gentoo. |
I recently did a Gentoo installation from a Ubuntu liveCD. I followed the instructions for Knoppix and it worked just fine. |
So did I, worked fine for me. If you want to get a Wifi running fast and easy the Ubuntu LiveCD should be your choice! |
|
Back to top |
|
|
|