重編核心的問題 - Linux

Table of Contents

※ 引述《antory ( )》之銘言:
: 目前我照著鳥哥網站上的方法做下來,先不去在意其他設定,
: 我是用Ubuntu8.10,Kernel2.6.27-11,grub1.5,
: 我先說步驟,先把舊設定從/boot/config-2.6.27-11-generic 抓到.config裡面
: 然後make menuconfig的時候load進來,接著exit,存檔
: 接著make clean,make bzImage,make modules,
: 相對的檔案都可以找到,module install也花了不少時間,
: 接著設定多重開機跟SATA偵測,mkinitrd ubuntu上的問題,
: 之後找到用initramfs-tools,mkinitramfs /boot/initrd_2.6.27-11_JM 2.6.27.11
: 接著也都一樣,bzImage搬過去/boot/vmlinuz-2.6.27-11-JM
: System.map雖然不知道是啥但也搬過去照作,接下來改menu.lst
: 加入
: ### New Compiler Kernel ############################################
: title Ubuntu 8.10, Kernel 2.6.27-11-JM (MadeByJason)
: uuid 91fee434-831a-495a-bee1-937817f60493
: kernel /boot/vmlinuz-2.6.27-11-JM
: root=UUID=91fee434-831a-495a-bee1-937817f60493 ro
: initrd /boot/initrd-2.6.27-11-JM
: quiet
: #####################################################################
: 重開機........就不行了
: [0.905508]....等
: [0.905516]....等
: [0.905524]....等
: Loading esstial driver...done
: Running /script/init-premount..done
: mount ROOTFILESYSTEM...done
: Running /script/local-top
: wait for root file system
: give up wait,common problem:
: -boot args(cat /proc/cmdline)
: -check rootdelay
: -check root
: -miss modules (cat /proc/modules,ls /dev)
: ALERT: /dev/disk/by-uuid/91fee434-831a-495a-bee1-937817f60493 doesn't exist
: 請問各位前輩,我該往哪邊努力找錯呢?

少打一行errormsg,can't open /lib/modules/2.6.27.11/modules.dep.temp

root路徑改成舊的也還是不行耶,我改成root=/dev/sda3

--

All Comments

Zenobia avatarZenobia2009-03-18
不要用這種全手動的方式,ubuntu是debian-based,應該有
Todd Johnson avatarTodd Johnson2009-03-18
make-kpkg可以用吧?可以往這方面找找
Caroline avatarCaroline2009-03-21
James avatarJames2009-03-22
ok我來試試~想要多嘗試..謝謝各位..弄完在回報