Results 1 to 10 of 10

Thread: Issues with grub upon Kali install?

  1. #1
    Join Date
    2017-Jan
    Posts
    2

    Issues with grub upon Kali install?

    Hey all, so I used an external hard drive to instal Kali onto an SSD after shrinking down the Windows 10 partition that was already there. Since it was my first time I followed a few guides online and went with putting the grub loader on the SSD when prompted, and had the graphics installer put most everything in one partition. However, when I try to do a grub update in Kali, it returns an error when I get to the grub-install /dev/sda command, returning a string of "device node not found"s after a "/proc/devices: fopen failed: No such file or directory". I did this to the partition marked "/" in gparted. Does anyone know how to fix this?

  2. #2
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Can you show the list of commands you were enetering?
    Did you use these commands?
    1.mount /dev/sda* /mnt
    2.mount --bind /dev /mnt/dev
    3.mount --bind /dev/pts /mnt/dev/pts
    4.mount --bind /proc /mnt/proc
    5.mount --bind /sys /mnt/sys
    6.chroot /mnt
    7.grub-install /dev/sda
    8.update-grub
    9.exit
    10.umount /mnt/dev/pts
    11.umount /mnt/dev
    12.umount /mnt/proc
    13.umount /mnt/sys
    14.umount /mnt
    sda*=assigned number to the root partition

  3. #3
    Join Date
    2017-Jan
    Posts
    2
    Quote Originally Posted by _defalt View Post
    Can you show the list of commands you were enetering?
    Did you use these commands?


    sda*=assigned number to the root partition
    yes, I used those exact commands with sda5, they all worked through chroot /mnt. once I tried the grub-install, that was when it returned the /proc/devices fopen error, then a long string of 'device node not found'

  4. #4
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    I knew it 7th command would show the error. Can you show the output of fdisk -l?
    fdisk -l shows the list of partitions. There is one EFI partition in that list. Check its corresponding name. It should be /dev/sda1.

    Replace that name in the 1st command so it becomes mount /dev/sda1 /mnt.

  5. #5
    hey everyone, i have Acer Aspire E 15 laptop. I tried to install kali linux by a bootable pendrive, but it boots into legacy mode. And i somehow changed it configuration so that it can boot into UEFI mode as well. But in both the modes whenever i try to install kali, after the partition step, during grub installation i get stuked into DEBOOTSTRAP error..if somebody knows how to solve it,i would really appreciate the help.

  6. #6
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Quote Originally Posted by y.kashyap007 View Post
    hey everyone, i have Acer Aspire E 15 laptop. I tried to install kali linux by a bootable pendrive, but it boots into legacy mode. And i somehow changed it configuration so that it can boot into UEFI mode as well. But in both the modes whenever i try to install kali, after the partition step, during grub installation i get stuked into DEBOOTSTRAP error..if somebody knows how to solve it,i would really appreciate the help.
    Keep leagcy BIOS disabled and add bootable files in your USB. Then UEFI will recognize your USB. What options do you choose in partition steps?

  7. #7
    Join Date
    2017-Feb
    Posts
    2
    hi i hope its okay i use ur post for my problem.
    i have same problem but alittle bit diffrent
    i install kali linux and hed problem to install grub while installing from usb
    i start the live and run all the terminal commands as it should
    but always i'm getting
    bash: grub-install: command not found

    now i always hed kali on my other laptop with win10
    and works fine but laptop is dead not and i but temp laptop for now and wanted to make kali linux as main.
    and got this problems.

    hope u guys will able to help i search alot online not even 1 guide online helps me.

  8. #8
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Can you show the output of fdisk -l?

  9. #9
    Join Date
    2017-Feb
    Posts
    2
    Device Boot Start End Sectors Size Id Type
    /dev/sda1 2048 242798591 242796544 115.8G 83 Linux
    /dev/sda2 242800638 250068991 7268354 3.5G 5 Extended
    /dev/sda5 242800640 250068991 7268352 3.5G 82 Linux swap / Solaris

  10. #10
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Quote Originally Posted by djpoo View Post
    Device Boot Start End Sectors Size Id Type
    /dev/sda1 2048 242798591 242796544 115.8G 83 Linux
    /dev/sda2 242800638 250068991 7268354 3.5G 5 Extended
    /dev/sda5 242800640 250068991 7268352 3.5G 82 Linux swap / Solaris
    Where is your EFI partition? There is no windows 10 partition either. It looks like a single boot. In Single boot Grub is automatically installed but you have to make sure that bootable flag is ON while choosing the disk to install kali else grub is not installed.

Similar Threads

  1. Replies: 3
    Last Post: 2022-07-26, 22:22

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •