Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Jak upchnac 915resolution do inird?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
demoh
Apprentice
Apprentice


Joined: 10 Nov 2006
Posts: 187

PostPosted: Wed Jul 25, 2007 12:48 pm    Post subject: Jak upchnac 915resolution do inird? Reply with quote

Jak w temacie, znalazem strone poswiecona pewnemu laptopowi i takich samych parametrach lecz tam uzywaja initramfs czy cos w tym stylu a ja takiego czegos w portage nie znalazlem :/

Macie jakis kurs tworzenia takiego czegos dla Gentoo?
Back to top
View user's profile Send private message
manwe_
l33t
l33t


Joined: 01 Feb 2006
Posts: 632
Location: Kraków/Cracow, Poland

PostPosted: Wed Jul 25, 2007 1:32 pm    Post subject: Reply with quote

A zapytałeś chociaż google? Initramfs to mały pseudo-system spakowany do jednoplikowego archiwum, uruchamiany zamiast /sbin/init, który leży na dysku. Jak stworzyć archiwum i z czym to się je : http://gentoo-wiki.com/HOWTO_Initramfs . Skoro tylko potrzebujesz uruchomić 915resolution, to powinno wystarczy:

/bin/busybox + symlinki
/bin/915resolution [statyczny]
/dev/* [podstawowe urządzenia, w tym dysk]
/init - skrypt shellowy
/proc - pusty folder
/new - pusty folder

W skrypcie:
1. montujesz /proc, zapisujesz sobie do zmiennej zawartość /proc/cmdline
2. uruchamiasz 915
3. montujesz patrycję główną systemu do tego /new
4. odmontowujesz /proc
5. exec /bin/busybox switch_root /new /sbin/init $cmdline
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) 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