重編核心的問題 - Linux

Table of Contents

目前我照著鳥哥網站上的方法做下來,先不去在意其他設定,

我是用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

請問各位前輩,我該往哪邊努力找錯呢?

--

All Comments

Christine avatarChristine2009-03-18
好像是檔案系統掛載,你改成舊的表示方式看看,先別用uuid
Vanessa avatarVanessa2009-03-22
舊的意思是指? 我是用別的設定套近來一起用的
我看別的開機設定都這樣~照著用@@
Vanessa avatarVanessa2009-03-23
/dev/hda1 , /dev/sda1 etc.
James avatarJames2009-03-25
OK~我來試看看