Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo Stage 1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Scandinavian
View previous topic :: View next topic  
Author Message
SwedishElk
Tux's lil' helper
Tux's lil' helper


Joined: 19 Nov 2003
Posts: 79
Location: Stockholm, Sweden

PostPosted: Mon Jan 16, 2006 9:52 pm    Post subject: Gentoo Stage 1 Reply with quote

Hejsan.

Är det möjligt att bygga Gentoo från Stage 1 under VMWare, vill gärna använda datorn till annat medans jag bygger disten, för att sen montera den skarpt på hårddisken? Den ska ju vara byggd för den äkta hårdvaran fast byggd i den virtuella miljön. Några bra tips på länkar för detta?
_________________
To learn but not think is pointless, to think but not learn is deangerus.
(Kung Fu Tse, Kina)
Back to top
View user's profile Send private message
eroyf
Retired Dev
Retired Dev


Joined: 03 May 2004
Posts: 82

PostPosted: Wed Jan 18, 2006 10:38 am    Post subject: Reply with quote

Tror ikke det er svære end at gøre med en normal maskine, men har ikke prøvet det.

Hent stage1 filen smæk den ud følg guiden og cd /usr/portage/; scripts/bootstrap.sh og efter det emerge -e system

Regards
eroyf
Back to top
View user's profile Send private message
TheCableMan
n00b
n00b


Joined: 19 Nov 2004
Posts: 32

PostPosted: Fri Jan 20, 2006 9:47 pm    Post subject: Reply with quote

Du kan ju sitta och bygga i en annan *nix
Back to top
View user's profile Send private message
mrcs
Tux's lil' helper
Tux's lil' helper


Joined: 10 Oct 2003
Posts: 137

PostPosted: Tue Feb 07, 2006 6:48 pm    Post subject: Reply with quote

Jag skapade /mnt/gentoo och körde följande script:

Code:
#!/bin/bash
cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
mount -o bind /proc /mnt/gentoo/proc
mount -o bind /sys /mnt/gentoo/sys
mount -o bind /dev /mnt/gentoo/dev
mount -o bind /dev/pts /mnt/gentoo/dev/pts
mount -o bind /usr/portage /mnt/gentoo/usr/portage
echo "Don't forget these:  env-update; source /etc/profile"
chroot /mnt/gentoo/ /bin/bash --login
umount /mnt/gentoo/proc
umount /mnt/gentoo/sys
umount /mnt/gentoo/dev/pts
umount /mnt/gentoo/dev
umount /mnt/gentoo/usr/portage

Det mountar allt som behövs och umountar dito när du går ur. Bara lägga en stage1/2/3 i /mnt/gentoo först och sen köra scriptet. Sen är det bara att bygga på och du kan fortfarande använda burken till annat.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Scandinavian 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