<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hi, guys:</div><div><span> 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 <span id="misspell-0" class="" data-attr="mark">bootable</span> under the environment of <span id="misspell-1" class="" data-attr="mark">Ubuntu</span> 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</span></div><div><span></span><span> 1. I downloaded the tarball "linux-2.6.39.1.tar.bz2" and stored it in the directory "/home/<span id="misspell-2" class=""
data-attr="mark">lenovo</span>/<span id="misspell-3" class="" data-attr="mark">linux</span>", then uncompressed it, a new folder </span><span><br></span></div><div><span> "linux-2.6.39.1" was created.</span></div><div><span> 2. I created a folder called "linux-2.6.39.1-install" in the same directory to store the compiled files from folder "</span><span>linux-2.6.39.1</span><span>".</span></div><div style="text-align: left;"><span> 3. I opened the terminal and typed in:</span><span><br></span></div><div style="text-align: center; background-color: rgb(255, 255, 255); color: rgb(255, 0, 0);"><span><span id="misspell-4" class="" data-attr="mark">cd</span> ~/<span id="misspell-5" class="" data-attr="mark">linux</span>/<span id="misspell-6" class="" data-attr="mark"></span>linux-2.6.39.1</span></div><div style="text-align: center; background-color: rgb(255, 255,
255); color: rgb(255, 0, 0);"><span>make O=../linux-2.6.39.1-install <span id="misspell-7" class="" data-attr="mark">defconfig</span></span></div><div style="text-align: center; background-color: rgb(255, 255, 255); color: rgb(255, 0, 0);"><span>make -j4 </span><span>O=../linux-2.6.39.1-install</span></div><div style="text-align: left;"><span> The result of these operations is:</span></div><div style="text-align: left;"><span> <span id="misspell-8" class="" data-attr="mark">GZIP</span> arch/x86/boot/compressed/vmlinux.bin.gz<br> <span id="misspell-9" class="" data-attr="mark">MKPIGGY</span>
arch/x86/boot/compressed/piggy.S<br> AS arch/x86/boot/compressed/piggy.o<br> <span id="misspell-10" class="" data-attr="mark">LD</span> arch/x86/boot/compressed/<span id="misspell-11" class="" data-attr="mark">vmlinux</span><br> <span id="misspell-12" class="" data-attr="mark">ZOFFSET</span> arch/x86/boot/<span id="misspell-13" class=""
data-attr="mark">zoffset</span>.h<br> <span id="misspell-14" class="" data-attr="mark">OBJCOPY</span> arch/x86/boot/<span id="misspell-15" class="" data-attr="mark">vmlinux</span>.bin<br> AS arch/x86/boot/header.o<br> <span id="misspell-16" class="" data-attr="mark">LD</span> arch/x86/boot/setup.elf<br> <span id="misspell-17" class="" data-attr="mark">OBJCOPY</span>
arch/x86/boot/setup.bin<br> BUILD arch/x86/boot/<span id="misspell-18" class="" data-attr="mark">bzImage</span><br> Root device is (7, 0)<br> Setup is 13148 bytes (padded to 13312 bytes)<br> System is 4091 <span id="misspell-19" class="" data-attr="mark">kB</span><br> <span
id="misspell-20" class="" data-attr="mark">CRC</span> 887907a3<br> Kernel: arch/x86/boot/<span id="misspell-21" class="" data-attr="mark">bzImage</span> is ready (#1)</span></div><div style="text-align: left;"><span> 4. I typed in the command:</span></div><div style="text-align: center; color: rgb(255, 0, 0);"><span>make O=../linux-2.6.39.1-install modules_install</span></div><div style="text-align: left;"><span> The result is:</span></div><div style="text-align: left;"><span> INSTALL arch/x86/kernel/test_<span id="misspell-22" class="" data-attr="mark">nx</span>.<span id="misspell-23" class="" data-attr="mark">ko</span><br>
INSTALL drivers/<span id="misspell-24" class="" data-attr="mark">scsi</span>/<span id="misspell-25" class="" data-attr="mark">scsi</span>_wait_scan.<span id="misspell-26" class="" data-attr="mark">ko</span><br> INSTALL drivers/watchdog/<span id="misspell-27" class="" data-attr="mark">hpwdt</span>.<span id="misspell-28" class="" data-attr="mark">ko</span><br> INSTALL net/<span id="misspell-29" class="" data-attr="mark">netfilter</span>/<span id="misspell-30" class="" data-attr="mark">xt</span>_mark.<span id="misspell-31" class=""
data-attr="mark">ko</span><br> <span id="misspell-32" class="" data-attr="mark">DEPMOD</span> 2.6.39.1</span></div><div style="text-align: left;"><span> 5. </span><span style="color: rgb(255, 0, 0);">sudo make O=../linux-2.6.39.1-install install</span></div><div style="text-align: left;"><span style="color: rgb(255, 0, 0);">
<span style="color: rgb(0, 0, 0);">The result is:</span></span></div><div style="text-align: left;"><span style="color: rgb(255, 0, 0);"><span style="color: rgb(0, 0, 0);"> sh /home/lenovo/linux/linux-2.6.39.1/arch/x86/boot/install.sh 2.6.39.1 arch/x86/boot/bzImage \<br> System.map "/boot"</span></span></div><div style="text-align: left;"><span style="color: rgb(255, 0, 0);"> <span style="color: rgb(0, 0,
0);">6.</span> sudo update-initramfs -c -k 2.6.39.1</span></div><div style="text-align: left;"><span style="color: rgb(255, 0, 0);"> <span style="color: rgb(0, 0, 0);">T</span><span style="color: rgb(0, 0, 0);">he result is:</span><br></span></div> update-initramfs: Generating
/boot/initrd.img-2.6.39.1<br> Warning: No support for locale: en_US.utf8<br> 7. <span style="color: rgb(255, 0, 0);"> sudo update-grub</span><br> The result is:<br>
Found linux image: /boot/vmlinuz-2.6.39.1<br> Found initrd image: /boot/initrd.img-2.6.39.1<br><div style="text-align: left;">Finally, after I rebooted the system and selected "Linux-2.6.39.1" in the grup, <span style="color: rgb(255, 0, 0);">a problem arose</span> along with a message showed up saying:</div><div style="text-align: left;"> <br></div><div style="text-align: left;"> mount: mounting none on /dev failed: No such device.</div><div style="text-align: left;"> w: devtmpfs not available, falling back to tmpfs for /dev</div><div style="text-align: left;"> fuse: device not found, try 'modprobe' fuse first.</div><div style="text-align: left;">
......</div><div style="text-align: left;"> Could not mount the partition /dev/sda8.</div><div style="text-align: left;"> ......</div><div style="text-align: left;"> (file system = ntfs, error code = 21)</div><div style="text-align: left;"><br></div><div style="text-align: left;">best regards</div><div style="text-align: left;">david.G<br></div><div style="text-align: left;"><br><span></span></div></div></body></html>