Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo in UML?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
haegar87
Apprentice
Apprentice


Joined: 08 Jan 2006
Posts: 165

PostPosted: Sat Feb 25, 2006 8:09 pm    Post subject: Gentoo in UML? Reply with quote

Hallo alle zusammen,

ich hab ein ziemlich exotisches Problem :oops:
Ich muss aus Sicherheitstechnischen Gründen meinen Linux Server als UML (User Mode Linux) "Maschine" bauen.
Nun meine Frage, ich verwende selbst auf meinem Notebook Gentoo... Deshalb dachte ich natürlich auch sofort dran, dieses als Gastsystem zu benutzen.

Ich habe schon gegoogelt, in Foren gelesen, nur ich finde einfach keine Anleitung wie man Gentoo als Gastsystem innerhalb einer UML Maschine installiert.
Es scheint nur eine Anleitung für Debian zu geben... Habe mir auch die UML-Anleitung von Gentoo durchgelesen, aber die Beschreibt nur wie ich Gentoo als Hostsystem zu konfigurieren habe, damit UML läuft.

Aber ich will ja Gentoo als Gastsystem innerhalb von einer anderen Linux Distri...

Hoffe jemand kann mir bei diesen Problem helfen...

MfG
haegar87
_________________
"Spielt man die Windows CD rückwärts ab, hört man satanistische Texte!" - "Das ist ja noch harmlos! Wenn man sie vorwärts abspielt, installiert sich das Teufelszeug!"
Back to top
View user's profile Send private message
slick
Bodhisattva
Bodhisattva


Joined: 20 Apr 2003
Posts: 3495

PostPosted: Sat Feb 25, 2006 9:02 pm    Post subject: Reply with quote

So ungefähr, ohne Gewähr auf Vollständigkeit, ohne Netz und ohne Swappartition:
Code:
dd if=/dev/zero of=/loopfile bs=1M seek=1000M count=1
mke2fs /loopfile
mkdir /mnt/loopfile
mount -o loop /loopfile /mnt/loopfile
cd /tmp
wget <Stage3DeinerArchitektur>
cd /mnt/loopfile
tar -xjvpf /tmp/<Stage3DeinerArchitektur>
nano -w /mnt/loopfile/etc/fstab

Code:
/dev/ubda               /               ext2            noatime         1 1

Code:
chroot /mnt/loopfile
env-update
source /etc/profile
passwd
cd /etc/
ln -sf ../usr/share/zoneinfo/Europe/Berlin localtime
logout
umount /mnt/loopfile
linux mem=128 umid=guest ubd0=/loopfile


siehe auch:

https://forums.gentoo.org/viewtopic-t-234393.html
https://forums.gentoo.org/viewtopic-t-291638.html
https://forums.gentoo.org/viewtopic-t-415689.html
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3943
Location: Hamburg

PostPosted: Sun Feb 26, 2006 9:58 am    Post subject: Reply with quote

Hhm, also ich verwende ubda anstelle ubd0, aber ansonsten hier mal mit Netzwerk:
Code:
linux ubda=/opt/uml/root_fs ubdb=/opt/uml/swap_fs eth0=tuntap,,,192.168.0.254 mem=256M
Back to top
View user's profile Send private message
haegar87
Apprentice
Apprentice


Joined: 08 Jan 2006
Posts: 165

PostPosted: Sat Mar 04, 2006 12:06 pm    Post subject: Reply with quote

Danke, sry fürs lange nicht antworten war im Urlaub.
Noch ne kleine Frage, gibts dafür vielleicht ein Tutorial oder ein Howto??

Oder irgenteine Anleitung?? :(
Ich lern auch gerne jeder Sprache wenns dafür ne vernünftige Howto gibt :lol:

Hab schon laaaange gegoogelt aber das einzige war eine für Debian, welche sich ja nicht sooo einfach (zumindest mit meinem (begrenzten) Fachwissen) auf Gentoo übertragen lässt.

MfG
haegar87
_________________
"Spielt man die Windows CD rückwärts ab, hört man satanistische Texte!" - "Das ist ja noch harmlos! Wenn man sie vorwärts abspielt, installiert sich das Teufelszeug!"
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3943
Location: Hamburg

PostPosted: Sat Mar 04, 2006 12:20 pm    Post subject: Reply with quote

http://user-mode-linux.sourceforge.net/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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