dos2unix 가 설치가 안되서 부랴부랴 검색 -_-
근데 인증할수 없다라... 무서운 경고를 내뱉진 말란 말이야!
$ sudo apt-get install tofrodos
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다
상태 정보를 읽는 중입니다... 완료
다음 새 패키지를 설치할 것입니다:
tofrodos
0개 업그레이드, 1개 새로 설치, 0개 지우기 및 0개 업그레이드 안 함.
20.4k바이트 아카이브를 받아야 합니다.
이 작업 후 86.0k바이트의 디스크 공간을 더 사용하게 됩니다. 경고: 다음 패키지를 인증할 수 없습니다! tofrodos 확인하지 않고 패키지를 설치하시겠습니까 [y/N]? Y
받기:1 http://kr.archive.ubuntu.com/ubuntu/ lucid/main tofrodos 1.7.8.debian.1-2 [20.4kB]
내려받기 20.4k바이트, 소요시간 0초 (31.5k바이트/초)
전에 선택하지 않은 tofrodos 패키지를 선택합니다.
(데이터베이스 읽는중 ...현재 150066개의 파일과 디렉토리가 설치되어 있습니다.)
tofrodos 패키지를 푸는 중입니다 (.../tofrodos_1.7.8.debian.1-2_i386.deb에서) ...
man-db에 대한 트리거를 처리하는 중입니다 ...
tofrodos (1.7.8.debian.1-2) 설정하는 중입니다 ...
근데.. dos2unix는 아니고
fromdos / todos 두가지 프로그램이 설치된다 -_-
귀찮아서 initrd 를 2.6.32.24 걸로 끌어다 썻더니 부팅은 시도하지만
커널과 관련된 파일들이 없어서 부팅이 진행되지는 않는다.
그래서 검색을 해보니, make modules_install 을 해주거나 depmod 를 해주면 되는 것으로 추측된다.
cd linux-2.6.30/drivers/gpu/drm/i915/
patch i915_drv.c /tmp/patch # make any modification you need here
make -C /usr/src/linux-headers-`uname -r` M=`pwd` modules
sudo make -C /usr/src/linux-headers-`uname -r` M=`pwd` modules_install
sudo depmod -a
Options:
-d confdir Specify an alternative configuration directory.
-k Keep temporary directory used to make the image.
-o outfile Write to outfile.
-r root Override ROOT setting in mkinitrd.conf.
See mkinitramfs(8) for further details.
FILES
/etc/initramfs-tools/initramfs.conf
The default configuration file for the script. See initramfs.conf(5)
for a description of the available configuration parameter.
/etc/initramfs-tools/modules
Specified modules will be put in the generated image and loaded when
the system boots. The format - one per line - is identical to that of
/etc/modules, which is described in modules(5).
/etc/initramfs-tools/conf.d
The conf.d directory allows to hardcode bootargs at initramfs build
time via config snippets. This allows to set ROOT or RESUME. This is
especially useful for bootloaders, which do not pass an root bootarg.
/etc/initramfs-tools/DSDT.aml
If this file exists, it will be appended to the initramfs in a way that causes it to be loaded by ACPI.
머 생성해도 달라지는건 별로 없군 ㄱ- busybox 에서 못 넘어 간다 (안해!!!! ㅆㅂ)
다른것들 보다는.. 도대체 왜
FATAL: Could not load /lib/modules/... : No such file or directory
라는 에러가 발생을 하는지 모르겠다.
---
/dev/sda1 대신 /dev/hda1을 바꾸면 될까 했는데.. 역시나 안되고 -_-
(sda1은 SATA 하드 hda1은 IDE용 하드의 식별자이다)
혹시나 해서 initrd의 내용을 열어보니
conf/conf.d/resume 파일의 내용중 UUID의 값이 /boot/grub/grub.cfg 의 내용과 다르게 들어있었다.
그리고 이 내용은
/etc/initramfs-tools/conf.d/resume에 들어있던 내용이고
mkinitramfs 에 의해 이 내용이 들어간 것으로 보인다.
Extracting initrd image
Initrd image is just cpio-gzip archive. So to extract it:
집에와서 해보니, BIOS 에서 부터 Shift를 누르는것은 들어가지지 않고,
BIOS 에서 Bootloader로 넘어가는 시점에서 부터 Shift 키를 누르고 있어야 GRUB loader menu로 진입하였다.
눌렀다 뗐다 하는것도 안되고, 계속 메뉴가 뜰때까지 누르고 있어야 하는데 음.. 이건 촘 아니라는 느낌..
update-grub2를 실행해보니, /boot에 추가된 파일을 찾아 자동으로 전부 추가하는 것으로 추측된다.
$ sudo update-grub2
[sudo] password for morpheuz:
Generating grub.cfg ...
Found background image: moreblue-orbit-grub.png
Found linux image: /boot/vmlinuz-2.6.32.15+drm33.5
Found linux image: /boot/vmlinuz-2.6.32-24-generic
Found initrd image: /boot/initrd.img-2.6.32-24-generic
Found linux image: /boot/vmlinuz-2.6.32-23-generic
Found initrd image: /boot/initrd.img-2.6.32-23-generic
Found linux image: /boot/vmlinuz-2.6.32-22-generic
Found initrd image: /boot/initrd.img-2.6.32-22-generic
Found linux image: /boot/vmlinuz-2.6.32-21-generic
Found initrd image: /boot/initrd.img-2.6.32-21-generic
Found memtest86+ image: /boot/memtest86+.bin
done