On Fri, Jun 17, 2011 at 7:45 AM, david <gwj35@xxxxxxxx> 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 bootable under 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 bellow1. 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.1make O=../linux-2.6.39.1-install defconfigmake -j4 O=../linux-2.6.39.1-installThe 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_installThe 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.15. sudo make O=../linux-2.6.39.1-install installThe 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.1The 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.1Finally, 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 /devfuse: 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 regardsdavid.G
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies