All about unix linux freebsd and FAQ for Packetlove.com Web hosting , Mail hosting , VoIP + IP PBX server > Trick เกี่ยวกับการแก้ปัญหา เกี่ยวกับ compiler gcc c++ c build make install

LFS 7.7 End Kernel panic Error - not syncing: VFS: unable to mount rootfs

(1/1)

golfreeze:
LFS 7.7 End Kernel panic Error - not syncing: VFS: unable to mount rootfs on unknown-block(0,0)

If your system running on Vmware program [Esx-i , vmare]
please kindly re-install kernel with build in "VMware VMCI Driver" + "VMware PVSCSI driver"

เข้าไปที่ folder=  Linux-3.19
#echo $LANG
#make LANG=en_GB.ISO-8859-1 LC_ALL= menuconfig

# All options are required unless noted as "Optional" or under a # Begin and # End block, which is also noted as "Optional" or "Hardware Specific"
# It is important that they are selected as built-in or the kernel might fail to correctly detect the partitions and/or filesystems.
# It is a good idea to run "make defconfig" first

Device Drivers  --->
   Generic Driver Options  --->
      ()  path to uevent helper
      [*] Maintain a devtmpfs filesystem to mount at /dev
      [*]   Automount devtmpfs at /dev, after the kernel mounted the rootfs (optional)

   # Optional, required for VMware virtual machines
   # Begin here
   Misc devices  --->
      <*> VMware VMCI Driver
   # End here

  # Optional, required for VMware virtual machines
   # Begin here
      [*] SCSI low-level drivers  --->
         <*>   BusLogic SCSI support (used by older VMware virtual solutions, can be optionally selected)
         <*>   VMware PVSCSI driver support (used by vSphere I think, but not by default, can be used by Player and Workstation too)
   # End here

golfreeze:
#cd linux-3.19

#echo $LANG
#make LANG=en_GB.ISO-8859-1 LC_ALL= menuconfig

#make
#make modules_install

#cp -v arch/x86/boot/bzImage /boot/vmlinuz-3.19-lfs-7.7

System.map is a symbol file for the kernel. It maps the function entry points of every function in the kernel API, as well as the addresses of the kernel data structures for the running kernel. It is used as a resource when investigating kernel problems. Issue the following command to install the map file:

#cp -v System.map /boot/System.map-3.19

The kernel configuration file .config produced by the make menuconfig step above contains all the configuration selections for the kernel that was just compiled. It is a good idea to keep this file for future reference:

#cp -v .config /boot/config-3.19

Install the documentation for the Linux kernel:
#install -d /usr/share/doc/linux-3.19
#cp -r Documentation/* /usr/share/doc/linux-3.19


###More information
http://www.linuxfromscratch.org/lfs/downloads/7.7/LFS-BOOK-7.7-NOCHUNKS.html  (8.3. Linux-3.19 )
http://www.linuxfromscratch.org/~krejzi/basic-kernel.txt
http://www.linuxquestions.org/questions/linux-from-scratch-13/lfs-7-5-kernel-panic-error-unable-to-mount-rootfs-4175506219/
http://www.linuxfromscratch.org/lfs/faq.html#unable-to-mount-root

นำร่อง

[0] ดัชนีข้อความ

Go to full version