Help me sir i experienced a problem when booting (Kernel panic at boot: not syncing. No init found).
my config /etc/fstab
Code:
# Begin /etc/fstab
# file system mount-point type options dump fsck
# order
/dev/sda1 / ext4 defaults 1 1
/dev/sda4 /boot ext2 defaults 1 1
proc /proc proc nosuid,noexec,nodev 0 0
sysfs /sys sysfs nosuid,noexec,nodev 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /run tmpfs defaults 0 0
devtmpfs /dev devtmpfs mode=0755,nosuid 0 0
my config grub.cfg
Code:
# Begin /boot/grub/grub.cfg
set default=0
set timeout=5
insmod ext2
set root=(hd0,4)
menuentry "GNU/Linux, Linux 4.4.2-lfs-7.9" {
linux /boot/vmlinuz-4.4.2-lfs-7.9 root=/dev/sda4 ro
}
/dev/sda4 boot
Code:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x9933ca03
Device Boot Start End Blocks Id System
/dev/sda1 2048 103116799 51557376 83 Linux
/dev/sda2 103321600 198514687 47596544 7 HPFS/NTFS/exFAT
/dev/sda3 198515266 976771732 389128233+ f W95 Ext'd (LBA)
Partition 3 does not start on physical sector boundary.
/dev/sda4 103116800 103321599 102400 83 Linux
/dev/sda5 198515268 204796517 3140625 82 Linux swap / Solaris
Partition 5 does not start on physical sector boundary.
/dev/sda6 204802048 771123199 283160576 7 HPFS/NTFS/exFAT
/dev/sda7 * 771125248 976771732 102823242+ 83 Linux
Partition table entries are not in disk order