2010년 9월 12일 일요일

initrd.gz 에 firmware 를 추가하여 새로 만들기

lenny가 설치된 구형 Toshiba 노트북에 squeeze를 설치하려하니 랜카드(인텔)이 인식이 안되어 실패하였습니다.
설치시 grub을 이용하여 initrd.gz과 linux파일을 사용하였는데, 설치중 랜카드가 인식이 안되어 Alt+F3하니 화면에 d101m_ucode.bin라는 firmware가 없다고 합니다.
찾아보니 전에는 커널에 포함된 여러 firmware가 이제 squeeze에서 firmware-linux-nonfree 패키지로 옮겨진 상태입니다.
물론 CD로 부팅하여 설치를 시도해도 같은 상태입니다.

d101m_ucode.bin를 floppy 디스크에 복사하여 시도해도 안되고,
설치중 곧바로 Alt+F3하여 floppy에  있는 d101m_ucode.bin를 ram disk에  /lib/firmware/e100 디렉토리를 만들고 여기에 복사해 넣어도 안됩니다.

lenny에서 squeeze로 upgrade하는 것보다, 다른 파티션에 새로 설치하려고 알아보니,
firmware를 initrd.gz에 넣어 initrd.gz을 새로 만들어 설치하는 방법이 있었습니다.

먼저 필요한 파일 firmware-linux-nonfree_0.26_all.deb 저장후 압축을 풉니다.
$ wget http://ftp.kr.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-linux-nonfree_0.26_all.deb
$ mkdir tmp-firmware
$ cd tmp-firmware
$ mv ../ firmware-linux-nonfree_0.26_all.deb ./

$ ar -x  firmware-linux-nonfree_0.26_all.deb

$ tar zxvf data.tar.gz
이제 lib/e100 디렉토리에 firmware가 있습니다.

이제 initrd.gz파일을 디렉토리에 저장합니다.
$ cd ~
$ wget http://people.debian.org/~joeyh/d-i/images/daily/netboot/debian-installer/i386/initrd.gz

이제 initrd.gz 압축을 풀고 firmware를 포함해서 다시 만듭니다.
$ gunzip initrd.gz
$ mkdir tmp
$ cd tmp
$ cpio -i < ../initrd
$ mkdir lib/firmware
$ cp -r ~/tmp-firmware/lib/firmware/e100/ lib/firmware/
$ find . | cpio -o -H newc > ../initrd

$ cd ..
$ gzip initrd

새로 만든 initrd.gz으로 부팅합니다.

댓글 10개:

익명 :

In case you are currently dating, searching for
Mr.

Also visit my website - best adjustable dumbbells

익명 :

This is regarded as the 1st step in just your system revamp.


Feel free to visit my blog: bowflex selecttech 552

익명 :

For the reason that of its dimension and fat the
Bowflex Final house health club has for being place alongside one another as soon as it arrives at your own home but it surely is not a tough
task and ought to just take only all around two several hours and need only fundamental hand methods.


My page: Http://Www.Getfitnstrong.Com/Bowflex-Dumbbells/Bowflex-Selecttech-552-Adjustable-Dumbbells

익명 :

This is fantastic; managing obesity has lots of balanced elements.


my web page http://Www.Getfitnstrong.com/adjustable-dumbbells/dumbbells-sale-further/

익명 :

The 552 set will take the location of fifteen sets of normal dumbbells.


my site; dumbbells for Cheap

익명 :

In my opinion, the most important gain is being able to exercise
routine out whenever you want.

Also visit my web blog mouse click the next document

익명 :

When you are searching for the way to boost your energy
concentrations, physical exercise may be the key.

Review my web site; Recommended Site

익명 :

Any time you convert the dial-up, the tackle latches to
a few other bodyweight plates telling you the weights you might have
selected for the exercise.

Feel free to visit my web site: http://www.getfitnstrong.com/bowflex-dumbbells/3-reasons-bowflex-selecttech-552-dumbbells/

익명 :

The more you benefit from the action your devices offers, the
greater typically you might use it.

Here is my page Website URL

익명 :

You may probably stroll all-around your block faster than you
may drive towards the gym or allow it to be through a
fast food drive as a result of at rush hour.

Look into my page - click the next page