On Fri, Jun 17, 2011 at 7:45 AM, david <gwj35@yahoo.cn> wrote:
Hi, guys: I am totally a beginner to Linux kernel and feel sorry to bother you with such an easy question. I encountered a problem which is failed to making the latest kernel 2.6.39.1 downloaded from kernel.org bootableunder the environment of Ubuntu 10.10. Although I have tried to solve this problem for almost 3 days, I don't have any clue on the cause of not able to boot the newly-installed kernel. The procedure that I adopted to configure, build and install the kernel is shown bellow 1. I downloaded the tarball "linux-2.6.39.1.tar.bz2" and stored it in the directory "/home/lenovo/linux", then uncompressed it, a new folder "linux-2.6.39.1" was created. 2. I created a folder called "linux-2.6.39.1-install" in the same directory to store the compiled files from folder "linux-2.6.39.1". 3. I opened the terminal and typed in: cd ~/linux/linux-2.6.39.1 make O=../linux-2.6.39.1-install defconfig make -j4 O=../linux-2.6.39.1-install The result of these operations is: GZIP arch/x86/boot/compressed/vmlinux.bin.gz MKPIGGY arch/x86/boot/compressed/piggy.S AS arch/x86/boot/compressed/piggy.o LD arch/x86/boot/compressed/vmlinux ZOFFSET arch/x86/boot/zoffset.h OBJCOPY arch/x86/boot/vmlinux.bin AS arch/x86/boot/header.o LD arch/x86/boot/setup.elf OBJCOPY arch/x86/boot/setup.bin BUILD arch/x86/boot/bzImage Root device is (7, 0) Setup is 13148 bytes (padded to 13312 bytes) System is 4091 kB CRC 887907a3 Kernel: arch/x86/boot/bzImage is ready (#1) 4. I typed in the command: make O=../linux-2.6.39.1-install modules_install The result is: INSTALL arch/x86/kernel/test_nx.ko INSTALL drivers/scsi/scsi_wait_scan.ko INSTALL drivers/watchdog/hpwdt.ko INSTALL net/netfilter/xt_mark.ko DEPMOD 2.6.39.1
5. sudo make O=../linux-2.6.39.1-install install The result is: sh /home/lenovo/linux/linux-2.6.39.1/arch/x86/boot/install.sh 2.6.39.1 arch/x86/boot/bzImage \ System.map "/boot" 6. sudo update-initramfs -c -k 2.6.39.1 The result is: update-initramfs: Generating /boot/initrd.img-2.6.39.1 Warning: No support for locale: en_US.utf8
7. sudo update-grub The result is: Found linux image: /boot/vmlinuz-2.6.39.1 Found initrd image: /boot/initrd.img-2.6.39.1 Finally, after I rebooted the system and selected "Linux-2.6.39.1" in the grup, a problem arose along with a message showed up saying:
mount: mounting none on /dev failed: No such device. w: devtmpfs not available, falling back to tmpfs for /dev fuse: device not found, try 'modprobe' fuse first. ...... Could not mount the partition /dev/sda8. ...... (file system = ntfs, error code = 21)
Can you dump your grub.conf or menu.list(not sure if ubuntu uses grub.conf)
best regards david.G
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies