LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 03-15-2017, 09:29 PM   #1
djrdrgz
LQ Newbie
 
Registered: Mar 2017
Posts: 7

Rep: Reputation: Disabled
Ubuntu not booting. Error: No /sbin/init found on rootdev (or not mounted)


Hi,

Im new to ubuntu. Suddenly the ubuntu server that we have shutdown unexpectedly, after, we tried to boot it again, it just keep displaying the problem.

Code:
mount: mounting /dev/sda1 on /mnt failed: Input/output error
ERROR: No /sbin/init found on rootdev (or not mounted). Trouble ahead.
       You can try to fix it. Type 'exit' when things are done.

/bin/sh: can't access tty: job control turned off
How this happened? and how to fix this?
Thanks in advance!

Last edited by djrdrgz; 03-15-2017 at 09:31 PM.
 
Old 03-16-2017, 12:23 AM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
An Input/output error usually means your hard drive is dead or about to die.
 
Old 03-16-2017, 03:45 AM   #3
aragorn2101
Member
 
Registered: Dec 2012
Location: Mauritius
Distribution: Slackware
Posts: 567

Rep: Reputation: 301Reputation: 301Reputation: 301Reputation: 301
Hi, Welcome to LQ,

Scary error. Yeah, I/O error could mean something very bad. But the /dev/sda1 onto /mnt is puzzling me. Can you boot the machine with something else: bootable USB or DVD? Then, you could check /etc/fstab to see where it exactly wants to mount what.

Anyway, what is sda1? Root filesystem?
 
Old 03-16-2017, 04:48 AM   #4
djrdrgz
LQ Newbie
 
Registered: Mar 2017
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by HappyTux View Post
An Input/output error usually means your hard drive is dead or about to die.
OMG! is there anyway to retrieve or clone the files? I need the files inside it.
 
Old 03-16-2017, 04:50 AM   #5
djrdrgz
LQ Newbie
 
Registered: Mar 2017
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by aragorn2101 View Post
Hi, Welcome to LQ,

Scary error. Yeah, I/O error could mean something very bad. But the /dev/sda1 onto /mnt is puzzling me. Can you boot the machine with something else: bootable USB or DVD? Then, you could check /etc/fstab to see where it exactly wants to mount what.

Anyway, what is sda1? Root filesystem?
Sorry im new to linux, where can I get a ISO of linux? and how will I know if what linux I need?
I think sda1 is the partition where the boot is? or is it the hdd?
 
Old 03-16-2017, 08:09 AM   #6
aragorn2101
Member
 
Registered: Dec 2012
Location: Mauritius
Distribution: Slackware
Posts: 567

Rep: Reputation: 301Reputation: 301Reputation: 301Reputation: 301
Since you seem new to Linux and you already have some feel for Ubuntu, I'll recommend you do a Ubuntu bootable USB. In case your hard disk is damaged, you can use the USB to retrive your data and copy to another USB or drive.

https://www.ubuntu.com/download/desk...tick-on-ubuntu
https://www.ubuntu.com/download/desk...ick-on-windows

But, before that, we need to know what is really going on. So, make the USB and boot the system and we'll see.
 
Old 03-16-2017, 11:48 AM   #7
mollusk
LQ Newbie
 
Registered: Mar 2017
Location: USA
Distribution: Open Suse
Posts: 1

Rep: Reputation: Disabled
Was it you that originally installed Ubuntu on the server? You need to get a Ubuntu Disc/USB drive and open a terminal. If you already know how to do that, we can go straight to the commands you need to type in an diagnose the problem.

If you need help getting Ubuntu on a USB Drive you can follow the links aragorn2101 posted above. After that you may also need help booting the computer via the USB drive. You can also use a DVD instead of a USB drive.

Thanks for any information you can provide, we are more happy to help!
 
Old 03-16-2017, 12:24 PM   #8
smutkule
LQ Newbie
 
Registered: Jul 2016
Posts: 2

Rep: Reputation: Disabled
sandy

please provide some update on this.
 
Old 03-18-2017, 12:03 AM   #9
djrdrgz
LQ Newbie
 
Registered: Mar 2017
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by aragorn2101 View Post
Since you seem new to Linux and you already have some feel for Ubuntu, I'll recommend you do a Ubuntu bootable USB. In case your hard disk is damaged, you can use the USB to retrive your data and copy to another USB or drive.

https://www.ubuntu.com/download/desk...tick-on-ubuntu
https://www.ubuntu.com/download/desk...ick-on-windows

But, before that, we need to know what is really going on. So, make the USB and boot the system and we'll see.
Ill do that. But is there any way to retrieve the files and the setup? like clone? because the ubuntu acts as server. but I dont know what and how the setup is. Thanks!
 
Old 03-18-2017, 12:05 AM   #10
djrdrgz
LQ Newbie
 
Registered: Mar 2017
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mollusk View Post
Was it you that originally installed Ubuntu on the server? You need to get a Ubuntu Disc/USB drive and open a terminal. If you already know how to do that, we can go straight to the commands you need to type in an diagnose the problem.

If you need help getting Ubuntu on a USB Drive you can follow the links aragorn2101 posted above. After that you may also need help booting the computer via the USB drive. You can also use a DVD instead of a USB drive.

Thanks for any information you can provide, we are more happy to help!
No sir. Ill do what sir aragorn2101 says, and try to open a terminal, but what code should I input?. Thanks for the help, ill update this thread for more information.
 
Old 03-18-2017, 12:06 AM   #11
djrdrgz
LQ Newbie
 
Registered: Mar 2017
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by smutkule View Post
please provide some update on this.
Yes, I will, sorry for the delayed.
 
Old 03-18-2017, 03:37 AM   #12
aragorn2101
Member
 
Registered: Dec 2012
Location: Mauritius
Distribution: Slackware
Posts: 567

Rep: Reputation: 301Reputation: 301Reputation: 301Reputation: 301
Quote:
Originally Posted by djrdrgz View Post
Ill do that. But is there any way to retrieve the files and the setup? like clone? because the ubuntu acts as server. but I dont know what and how the setup is. Thanks!
It will be very helpful if you have more information about the server itself and how Ubuntu is configured there. If you can boot the machine with a bootable DVD/USB, you will have a running system (root filesystem will be on bootable drive) and you will be able to mount the root filesystem of the server whether it is on SSD or HDD on the machine. Once, you get there, you'll have access to the boot scripts and /etc config files. You'll also have access to all your data there, which you can retrive easily.

You could clone the server hard drive. But if the problem comes from a broken config file, you'll be cloning that error as well.
 
Old 03-19-2017, 04:44 PM   #13
djrdrgz
LQ Newbie
 
Registered: Mar 2017
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by aragorn2101 View Post
It will be very helpful if you have more information about the server itself and how Ubuntu is configured there. If you can boot the machine with a bootable DVD/USB, you will have a running system (root filesystem will be on bootable drive) and you will be able to mount the root filesystem of the server whether it is on SSD or HDD on the machine. Once, you get there, you'll have access to the boot scripts and /etc config files. You'll also have access to all your data there, which you can retrive easily.

You could clone the server hard drive. But if the problem comes from a broken config file, you'll be cloning that error as well.
Confirmed! The error is the ubuntu. It has corrupted files. I do call my colleague to help me setup the server.
I'll do more study about ubuntu. Thanks for the help. All of you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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] Kernel upgrade to 4.4.19: No /sbin/init found on rootdev san2ban Slackware 5 08-28-2016 12:33 AM
rootdev not found by /sbin/init from initramfs Bourdieu Slackware 32 09-14-2015 09:36 AM
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
No /sbin/init found on rootdev... mkinitrd problem? a_priebe47 Slackware 6 05-15-2008 09:49 AM
can't compile kernel 2.6.23.8 ERROR: no /sbin/init found on rootdev tommcd Slackware 18 11-24-2007 09:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:57 AM.

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