Ubuntu not booting. Error: No /sbin/init found on rootdev (or not mounted)
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.
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!
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.
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?
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.
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!
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.
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!
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.