라이브시디의 initrd 파일이 풀리지 않습니다.
글쓴이: yjlee0822 / 작성시간: 목, 2009/03/12 - 10:23오전
CDLinux.info 에 받은 Livecd 에 있는 initrd 파일을 열어보고 싶은데 잘 안되는군요.
file initrd 로 보면 "data" 라고만 나오는데 문서에 보면
Howto customize CDlinux to fit my own needs?
The hard way is to modify the initrd directly. The initrd is a standard ext2 file system image. You can mount it, then make any changes you want. This way is not recommended, and we'll concentrate on the easy way in the following.
ext2 파일시스템이라고 나와있더군요. 아마도 문서가 최신 릴리즈된것과 다르게 예전 문서인것 같습니다.
혹시 이 파일을 열어볼수 있는 방법이 있을까요?
첨부파일로 올렸습니다.
Forums:
요즘엔 보통
요즘엔 보통 initrd.cpio.gz를 initrd로 배포하는데,
file 결과 나오는거보니
mount -t ext2 -o loop initrd /mnt/??? 하면 될것같네요.
보통은 그렇던데
우선 답변 감사합니다.
이 파일 같은 경우는 파일 타입이 "data" 로 되어 있어서 말씀하신 대로 하게 되면
# mount -t ext2 -o loop initrd /mnt/testinitrd
wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
#dmesg | tail
EXT2-fs: corrupt root inode, run e2fsck
위와 같이 나오게 됩니다.
-t 로 파일시스템을
-t 로 파일시스템을 지정하지 말고 그냥 해보세요.
파일시스템 이미지가 맞고, 그 파일시스템을 커널이 지원한다면, 결국은 마운트됩니다.
그리고, 참고하세요.
OTL
댓글 달기