Hello,
couple of days ago I did partition of my HDD and install
Kali-Linux at my HP-Laptop where was before
"Windows 7 home premium", as Dualboot.
After installation I got huge problems. My
Kali doesn't start from HDD and
Windows 7 also not.
If choose after starting my machine in the selection
Windows 7, it starts to boot and goes off. If I choose in the selection
Kali-Linux, it brings an error message and doesn't start.
The error message looks like that:
Code:
"...No IRQ handler for vector. ...Idm_parse_tocblock(): Cannot find TOCBLOCK, database may be corrupt.
Gave up waiting for suspend/resume device.
mount: mounting /dev/sda5 on /root failed: No such device
mount: mounting /dev on /root/dev failed: No such file or directory ....
..............................................
run-init: current directory on the same filesystem as the root : error
Target filesystem doesn't have requested /sbin/init.
No init found. Try passing init= bootarg."
My researches on the internet brong me to the result that it should have something to do with
"Grub" and following commands should solve it, if I run
Kali-Linux from USB-Disk and type into terminal:
Code:
fdisk -l
sudo mount /dev/sda5 /mnt
sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
sudo chroot /mnt
grub-install /dev/sda
Press CTRL+D
sudo umount /mnt/dev
sudo umount /mnt/proc
sudo umount /mnt/sys
sudo umount /mnt
With
I get following results:
Code:
root@kali:~# fdisk -l
Disk /dev/sda: 298.1 GiB, 320072933376 bytes, 625142448 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xc20c8307
Device Boot Start End Sectors Size Id Type
/dev/sda1 63 2047 1985 992.5K 42 SFS
/dev/sda2 * 2048 409599 407552 199M 42 SFS
/dev/sda3 409600 525092863 524683264 250.2G 42 SFS
/dev/sda4 525094910 625141759 100046850 47.7G 5 Extended
/dev/sda5 525094912 581734399 56639488 27G 83 Linux
/dev/sda6 581736448 625141759 43405312 20.7G 82 Linux swap / Solaris
Disk /dev/sdb: 114.6 GiB, 123010547712 bytes, 240254976 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xdafb3ffb
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 120131584 240254974 120123391 57.3G 7 HPFS/NTFS/exFAT
/dev/sdb2 4096 120131583 120127488 57.3G 7 HPFS/NTFS/exFAT
Partition table entries are not in disk order.
Disk /dev/loop0: 2.7 GiB, 2876436480 bytes, 5618040 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
root@kali:~#
Then it comes to error messages again:
Code:
root@kali:~# sudo mount /dev/sda5 /mnt
root@kali:~# sudo mount --bind /dev /mnt/dev
mount: /mnt/dev: mount point does not exist.
root@kali:~#
What to do, how to solve the problem?
Thanks in advance for any help.