|
|
重新把问题详细的列一下,各位帮我看看问题可能出在哪,谢谢了: /bow
先说说的的步骤:
1 在/usr/src下把2.6.27.6的源码包解压后,cd linux-2.6.27.6
2 make clean && make mrproper 然后cp /boot/config-2.6.18.6-686 ./.config
3 make menuconfig 在这里试过了没改动过的原config,也试过把SATA的驱动全选上,试过把ATA/IDE硬盘的驱动选上,试过把crmtfs文件系统选上,(注在我load原内核config文件时,显示config:3157 warning:symbol value 'm'invalid for RTC-INTF-..)
4 make-kpkg clean
5 fakeroot make-kpkg --initrd --append-to-version=-new kernel_image kernel_headers
6 cd /usr/src
7 dpkg -i ***kernel-image-**deb
dpkg -i ***kernel-headers-**.deb
8 reboot
系统卡在了waiting for root file system ,过10多分钟吧,显示如下信息:
Warning bootdevice maybe renamed TRY root=/dev/had11
Gave up waiting for root device. Common problems:
-boot args(cat /proc/cmdline)
-check rootdelay=(did the system wait long enough)
- check root=(did the system wait for the right device)
-Missing modules (cat /proc/modules;ls /dev)
Alert /dev/sda11 doesn't exist Dropping to a shell
/bin/sh :can't access tty, job control turned off
附上我的menu.lst:
title Debian Gun/linux kernel 2.6.27.6-new ##新内核
root (hd0.8)
kernel /vmlinuz-2.6.27.6-new root=/dev/sda11 ro
intrd /intrd/img-2.6.27.6-new
save defalut
title Debian Gun/Linux kernel 2.6.18-6-686
root (hd0,8)
kernel /vimlinuz-2.6.18-6-686 root=/dev/sda11 ro
initrd /initrd.img-2.6.18-6-686
save default
/etc/fstab内容:
filesystem mount point type options dump pass
proc / proc proc default 0 0
/dev/sda11 / ext3 default,errors=remount-ro 0 0
/dev/sda9 /boot ext3 default 0 2
/dev/sda10 none swap sw 0 0 |
|