Ubutnu won't boot. Error: Target file system doesn't have /sbin/init. No init found.
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.
Ubutnu won't boot. Error: Target file system doesn't have /sbin/init. No init found.
When started my computer ubuntu wouldn't start. It gave me this errors:
mount: mounting /dev/disk/by-uuid/***************************** on /root
failed: Invalid argument
mount: mounting /sys on /root/sys failed: No such file or directory
mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /sys on /root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or directory
Target file system doesn't have /sbin/init
No init found. Try passing init= bootarg
I found forums describing how to fix this, and I tried to apply this fix: http://pinoy-computing-tips.blogspot...nit-found.html
It helped the first time. But after several boots it crashed again and it keeps crashing.
I have dual boot, Win7 and Ubuntu 10.04 Lucid Lynx.
I'm quite new to Ubuntu so please be clear in your explanations.
I would like to know why this has happened and how to fix this...
Thx in advance.
it seems you didn't install the bootloader grub properly or your /etc/fstab is messed up. I'd recommend to boot the installation-CD and try to repair the system.
Using fdisk (like described in your link) is a good idea. You may post the output of fdisk -l.
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 102400 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 13 108801 873839622+ 7 HPFS/NTFS
/dev/sda3 108802 121602 102817793 5 Extended
/dev/sda5 108802 121076 98593792 83 Linux
/dev/sda6 121076 121602 4222976 82 Linux swap / Solaris
So I booted from LiveCD and run the command: sudo fsck /dev/sda5/
The problem is that now I have error (something like this) error. grub rescue>
and I can't load Windows or Ubuntu
So I've booted again from LiveCD and run the fsck again but, now it's running it for two days, and still not finished
I have very important data on my Ubuntu. Should I interrupt it??
I would like to know why this happened because I've never had any problems with Ubuntu, everything was working fine.
Obviously your Linux-rootpartition is /dev/sda5. Does you grub have a /boot/grub/menu.lst file? if yes, you should look at it and check that there is the correct partition for Linux configured.
If you want to make a backup of your important data, boot with the install-CD, mount /dev/sda5 and copy the files to an USB-storage or external HD.
Ok, this morning fsck still not finished. I have tried to find /boot/grub/menu.lst but there isn't one (or I can't find it), than I've tried: sudo mount /dev/sda5
but I have this error:
mount: can't find /dev/sda5 in /etc/fstab or /etc/mtab
It seems I'll have to try booting the Win7 and reinstall Ubuntu.. without my data.
I would really like to know WHY this happened, because I don't want this to happen again. There are months of my work on my Ubuntu.
Since I've installed Ubuntu I don't use Win at all, so I don't think windows could delete my grub (I read on the forums It happens? ; I wasn't updating or upgrading my system when it happened so I really don't understand?
Any explanations are welcome...
markush thank you for your time and help...
I don't think that fsck will help you. The problem is not the filesystem but that (probably) your /etc/fstab is damaged. I'd recommend to boot with a Live-CD/install-CD and post the /etc/fstab (of the system, not the one of the CD, i.e. mount /dev/sda5 and open /etc/fstab).
At first, before trying anything to repair the system backup your data. You can do that easily with a live-CD. Just mount your /-partition with
Code:
sudo mount /dev/sda5 /mnt
You will now find the partition under the /mnt-directory. Backup your files now to an external medium. A tip for the future: Always have a backup of your important data. It may also help (but can't replace a backup)to separate your data from your OS, using a separate /home-partition.
That you find no menu.lst-file is normal, newer Ubuntu versions use Grub2 that uses a grub.cfg file for configuration.
After making the backup, test your harddisk with the manufacturer's diagnosis tool. In my eyes your symptoms are pointing to a dying harddisk.
One way to get the data off that has worked for me (albeit on a disk with only one partition) is to remove the hard drive and put it in a USB caddy. Attach the caddy to another computer and navigate to your home directory, compress it and copy it to another place (USB stick, hard drive). I have not done this with a Linux system so others might know the pitfalls better. Another possibility (to rescue the data) might be to boot up a Knoppix disk and use 'ddrescue' to transfer either the whole of /dev/sda5 or the home directory to another storage device but be careful or you might send it into oblivion.
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files/dirs: /Windows/System32/winload.exe
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.