Golfreeze.packetlove.com: Life style of Golfreeze Canon400D Family kammtan.com Jazz Freebsd Unix Linux System Admin guitar Music

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 => Topic started by: golfreeze on กรกฎาคม 13, 2015, 12:49:32 PM

Title: LFS 7.7 End Kernel panic Error - not syncing: VFS: unable to mount rootfs
Post by: golfreeze on กรกฎาคม 13, 2015, 12:49:32 PM
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
      

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

  # Optional, required for VMware virtual machines
   # Begin here
      
         <*>   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

Title: Re: LFS 7.7 End Kernel panic Error - not syncing: VFS: unable to mount rootfs
Post by: golfreeze on กรกฎาคม 13, 2015, 02:17:56 PM
#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 (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.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.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 (http://www.linuxfromscratch.org/lfs/faq.html#unable-to-mount-root)