Unable to complete Kali Linux installation from USB on Windows machine - stuck in a install loop
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I selected my 1.0 TB drive (my hard drive), as the other drive 16.2 GB is my USB.
I selected 'Continue' and 'Yes' to partioning my entire device.
I then got an error message:
Error fsyncing/closing /dev/sda input/output error
Warning!
And there are two options 'Retry' or 'Ignore', both of which don't do anything when selected, so i select 'Go Back' and i see a long list of options from Choose language to Abort the installation.
I have selected a number of options - Install system, Detect disks, Partition disks, but the install still fails showing:
Error fsyncing/closing /dev/sda input/output error
Warning!
Even if i select 'Finish partitioning and write changes to disk', still i get: Error fsyncing/closing /dev/sda input/output error.
It seems to loop in this order and does not go beyond.
I am really frustrated because the first time i successfully installed Kali Linux as the only OS on my windows machine, but when i did 'sudo apt-get update' command in terminal it messed everything up. All the desktop icons had disappeared.
Please can someone shed some light on what is going on, and how i can get Kali Linux installed successfully.
but when i did 'sudo apt-get update' command in terminal it messed everything up
Not sure why you did that as Kali runs as root by default and the sudo package is not installed. See the link below to Kali docuntation on that and the reasons for it.
Since you say that you are very new to Linux, you should also heed this advice from the Kali project:
Quote:
it is NOT a recommended distribution if you’re unfamiliar with Linux or are looking for a general-purpose Linux desktop distribution
...
If you are unfamiliar with Linux generally, if you do not have at least a basic level of competence in administering a system, if you are looking for a Linux distribution to use as a learning tool to get to know your way around Linux, or if you want a distro that you can use as a general purpose desktop installation, Kali Linux is probably not what you are looking for.
Yes I agree Kali Linux is probably not the right distro as a new Linux user, however it is Pen Testing that I am looking at. Otherwise I would have definitely gone for another Linux flavour.
I have had mixed results when installing.
I imaged Kali Linux on two USB flash drives. On one USB drive I could not mount the CD duri8ng installation, however, I was able to get to the Partition disks stage using the second USB drive.
I am beginning to think there may be a problem with the hard disk, but then why was I able to successfully install Kali on my first attempt?
Anyway, I will be looking at getting the hard disk checked before trying the Kali Linux installation again. Otherwise i may look at getting a pre-installed Kali Linux laptop.
Thanks guys for your great advice and suggestions.
One more piece of advice: Whereever you look, the recommendation is to use Kali either in a virtual machine, or as a live USB system that you can carry with you and plug in anywhere. In other words, there should be no need to install it on your baremetal PC.
One more piece of advice: Whereever you look, the recommendation is to use Kali either in a virtual machine, or as a live USB system that you can carry with you and plug in anywhere. In other words, there should be no need to install it on your baremetal PC.
I use Kali daily as a pen tester and my team all uses it in a VM. Works much better that way. We use the ova provided from Kali and just import into Virtualbox. I absolutely hate the gnome desktop it comes with but normally I am only using the command line anyway so pop open a terminal. I could kill the gui entirely I suppose.
Hi all.
Yes I agree Kali Linux is probably not the right distro as a new Linux user, however it is Pen Testing that I am looking at. Otherwise I would have definitely gone for another Linux flavour.
Please stop for a second, and think about what you wrote here. A "new Linux user"....who wants to learn pentesting. If you want to learn, wouldn't it be better to start simply and add more as you go and understand?? ANY Linux distro can do what Kali does...Kali is just packaged to make it quick to run/use for professionals and experienced users. If learning is your objective, then why not load ANY version of Linux (Mint would be a good choice for a new user), and then learn about what tools are available, then install and configure those tools?? You would then have experience in running your system, installing/configuring/troubleshooting, and knowing what those tools do, what they depend on, and how they work.
If you honestly want to learn security and pentesting, it is **NOT** just 'pushing a button' on a program, but knowing WHY things work like they do, and determining vulnerabilities from there.
Quote:
I have had mixed results when installing.
I imaged Kali Linux on two USB flash drives. On one USB drive I could not mount the CD duri8ng installation, however, I was able to get to the Partition disks stage using the second USB drive. I am beginning to think there may be a problem with the hard disk, but then why was I able to successfully install Kali on my first attempt? Anyway, I will be looking at getting the hard disk checked before trying the Kali Linux installation again. Otherwise i may look at getting a pre-installed Kali Linux laptop.
A 'pre installed Kali laptop'??? Kali's own website tells you it's best to run from USB or in a virtual environment, and that's been echoed here too. Again, Kali **IS NOT MEANT** for daily use. And to be honest, if you can't figure out how to install Kali, you don't have the experience needed to USE it.
Please, take the advice you've been given here over and over; use another distro. Learn what you're doing FIRST then use Kali as it was intended, either as USB or via virtualbox. You've asked an experienced community for advice, but seem bent on ignoring it....so why ask?
Good points TBone: most pentesters are specialized (I do web apps) so don't need the 64 million tools packaged with Kali. I use 3 or 4 only actually. These can be easily installed on a "normal" Linux box.
Maybe see what area of pen testing (DB, malware analysis, web apps, etc) is interesting to you (OP) and focus on a small number of tools you can install locally. Much easier...
Please stop for a second, and think about what you wrote here. A "new Linux user"....who wants to learn pentesting. If you want to learn, wouldn't it be better to start simply and add more as you go and understand?? ANY Linux distro can do what Kali does...Kali is just packaged to make it quick to run/use for professionals and experienced users. If learning is your objective, then why not load ANY version of Linux (Mint would be a good choice for a new user), and then learn about what tools are available, then install and configure those tools?? You would then have experience in running your system, installing/configuring/troubleshooting, and knowing what those tools do, what they depend on, and how they work.
If you honestly want to learn security and pentesting, it is **NOT** just 'pushing a button' on a program, but knowing WHY things work like they do, and determining vulnerabilities from there.
A 'pre installed Kali laptop'??? Kali's own website tells you it's best to run from USB or in a virtual environment, and that's been echoed here too. Again, Kali **IS NOT MEANT** for daily use. And to be honest, if you can't figure out how to install Kali, you don't have the experience needed to USE it.
Please, take the advice you've been given here over and over; use another distro. Learn what you're doing FIRST then use Kali as it was intended, either as USB or via virtualbox. You've asked an experienced community for advice, but seem bent on ignoring it....so why ask?
TB0ne
Thanks for your advice.
I am certainly not ignoring advice from anyone, In fact I appreciate it.
From the advice on here, I will be seriously looking at Linux Mint to start with and then take it from there.
TB0ne
Thanks for your advice. I am certainly not ignoring advice from anyone, In fact I appreciate it. From the advice on here, I will be seriously looking at Linux Mint to start with and then take it from there.
Well, based on post #5 where you said
Quote:
Originally Posted by ramirez
Anyway, I will be looking at getting the hard disk checked before trying the Kali Linux installation again. Otherwise i may look at getting a pre-installed Kali Linux laptop.
...it seemed like you were going that direction. You'll have a much easier time learning in steps, rather than all at once. Examine each thing you want to do, and learn how to do it...that will give you experience and knowledge at the same time. If you're going to pursue anything in a security-related field, you are going to have to know WHY things work like they do, and be able to explain why it's bad, how to remedy it (or at least manage the risks), etc.
Why yes, yes it is I have been doing IT security for nearly 15 years and is a huge field and constantly evolving. So much to know, I have focused on a single area but understand a pretty broad spread of things. You can't know it all...
TBone gives good advice - learn why and you will understand the concepts better.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.