LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-25-2020, 02:42 PM   #1
Helpplox
LQ Newbie
 
Registered: Mar 2020
Posts: 2

Rep: Reputation: Disabled
Unhappy How to fix INIT: no inittab file found


I'm very new to linux so i don't much
I tried installing git from terminal and
Suddenly my laptop went off and it's showing

INIT: no inittab file found
https://ibb.co/DtRPp3s

I don't have live usb of linux
Though i do have bootable usb of win10
but i dont want my data to go lost.


And i tried this
http://pinoy-computing-tips.blogspot...found.html?m=1

and got this error:
https://ibb.co/4TFn0Wp
 
Old 03-26-2020, 02:24 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
I can't see the images.
What distro, what did you try?
Do some basic troubleshooting, share some information, so that we can help you.
 
Old 03-26-2020, 05:51 AM   #3
Helpplox
LQ Newbie
 
Registered: Mar 2020
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
I can't see the images.
What distro, what did you try?
Do some basic troubleshooting, share some information, so that we can help you.

Distro: kali linux

I can totally see the images try coping the url and open in new tab
 
Old 03-26-2020, 06:24 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
Quote:
Originally Posted by Helpplox View Post
I'm very new to linux so i don't much
Then why are you using kali ?. Did you happen to read this ?.

I've never attempted Kali, but I'd be mighty surprised if the current incarnation required inittab.

Last edited by syg00; 03-26-2020 at 06:25 AM. Reason: typo
 
Old 03-26-2020, 06:52 AM   #5
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,614
Blog Entries: 19

Rep: Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460
Please don't use Kali if you don't know much about Linux. By your own admission, you're very new to it, so use a distro that is designed for newbies like one of the Ubuntu variants or Mint.

Boot into Windows and download an installation image of one of the above distros. Burn it to disc or copy it to a memory stick and boot from it. It will run a live Linux session and you will be able to copy any data from the hard drive that you wish to save. Then install the new distro and forget about Kali.
 
Old 03-26-2020, 07:45 AM   #6
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
/etc/inittab is a thing of the past. The newer systemd stuff does things completely different. Where you used to use run levels to pick a desired operational mode. Now you use targets. The old way being sysv.

$ sudo systemctl set-default multi-user.target

Is the rough equivalent of run level 3 (no gui)

$ sudo systemctl set-default graphical.target

Is the rough equivalent of run level 5 (with gui)

YMMV.

If you have any bootable linux, you can mount other things. With linux it's basically everything is a file on a filesystem. So your data is not lost if you don't mess with it. Now there's encrypted filesystems that can make things very lose-able if you don't have the key or know what to do with them. But at the end of the day it's all files on a filesystem.

Kali isn't exactly beginner grade linux. Probably not a good starting point.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 14 02-23-2021 08:35 PM
Ubutnu won't boot. Error: Target file system doesn't have /sbin/init. No init found. Zeljka_Lin Linux - Newbie 9 05-02-2011 06:56 AM
INIT No inittab file found KrazyKanuk Linux - Software 6 05-04-2008 09:31 PM
Accidentally put init 6 in inittab file sugoicarl Linux - Newbie 3 10-01-2006 11:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration