Author Topic: LFS 7.7 End Kernel panic Error - not syncing: VFS: unable to mount rootfs  (Read 6113 times)

golfreeze

  • Administrator
  • Hero Member
  • *****
  • Posts: 2140
    • View Profile
    • นั่งสมาธิ สติปัฏฐานสี่ พาเที่ยววัด แนะนำวัด แจกcd ธรรมะฟรี
    • Email
LFS 7.7 End Kernel panic Error - not syncing: VFS: unable to mount rootfs
« 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
      
  • 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

« Last Edit: กรกฎาคม 14, 2015, 11:36:37 AM by golfreeze »

golfreeze

  • Administrator
  • Hero Member
  • *****
  • Posts: 2140
    • View Profile
    • นั่งสมาธิ สติปัฏฐานสี่ พาเที่ยววัด แนะนำวัด แจกcd ธรรมะฟรี
    • Email
Re: LFS 7.7 End Kernel panic Error - not syncing: VFS: unable to mount rootfs
« Reply #1 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  (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
« Last Edit: กรกฎาคม 13, 2015, 03:02:53 PM by golfreeze »