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've recently had trouble booting Ubuntu. Here is what appears on my screen during the boot process:
Mounting: Mounting /dev/hdb1 on /root failed: no such device
Mounting: Mounting /root/dev on /dev.static /dev failed: no such file or directory
Mounting: Mounting /sys on /root/sys failed: no such file or directory
Mounting: Mounting /proc on /root/proc failed: no such file or directory
Target filesystem doesn't have /sbin/init
/bin/sh: can't access tty: job control turned off
#
I am dual booting Windows XP Pro x64 on hd1 and booting Ubuntu on hd2. I'm using the grub that came with Ubuntu. I'm still a newbie and play with Ubuntu whenever I can. The only way I know to fix this is to reinstall the OS. If anyone knows how to fix this problem, Please help!
I'm probably not going to be much help, but if there's issues with things not mounting at boot my first guess would be an issue with /etc/fstab If you could post what's in that file it will probably be helpful. The section of /boot/grub/menu.lst dealing with booting ubuntu might be good to see also.
Since you can't boot into ubuntu you'll need to boot using the liveCD and mount the hard drive from there. If you don't know how to do this it's pretty simple. Once you're booted in the LiveCD open a terminal and type sudo mkdir /mnt/ubuntu (or whatever you want to call the mount point). Then mount it by typing sudo mount /dev/hdb1 /mnt/ubuntu. The files you want will then be in /mnt/ubuntu/etc/fstab and /mnt/ubuntu/boot/grub/menu.lst.
I have a similar problem.
Any help would be very appreciated.
Thanks, Grzegorz.
You menu.lst uses uuid and your fstab doesn't. Since uuid is not required, try this change to the first Ubuntu entry in your your menu.lst. and see what happens.
OK, I tried that louieb.. my computer didn't boot at all.. .. but i fixed it with knoppix..
Here is my story, I had dapper drake, which I upgraded to edgy because of restart and boot problems. The problems didn't go away, so I read in another thread that someone had the same problems, but it was not a problem in feisty. At that point my boot had only small bugs.
I upgraded to feisty through aptitude dist-upgrade. Strange things started to happen. I had some serious software RAID problems (I don't want RAID) with mdadm and initrd-tools, why I removed them with apt-get remove. In the past I think I played around with some software RAID, but never got it to work. Things were still strange and I got messages like:
can't access tty; job control turned off
AND Target filesystem doesn't have /sbin/ini
Which I fixed with apt get install ubuntu-minimal
I still get the message: udev_db_add_device: unable to create db file : The solution from a bug report is to create the folder, but it didn't work for me.
When my system is booting it sometimes hangs at: starting enterprise volume management system...
This is from my /var/log/boot file: Mar 15 13:58:56 rcS: * Assembling RAID arrays... ^[[80G^[[74G[^[[31mfail^[[39;49m]
i had the same problem both in ubuntu 6.10 and kubuntu 7.04,in both cases after installing updates and managing init for faster booting...cos i had very few files and none important and didn't want to bec0me mad in solving the problem i formatted and reinstall kubuntu in this way creating 4 partitions-i suggest to do this way every distro you could have:
1 parttion for swap
1 parttion for root
1 partition for home
1 partition for temp and formatted in fat 32 for sharing files with windows
use partimage for creating boot backup images often and save them in home and in temp partition,every time you have a problem restore the image with partimage with a live rescue cd and you won't have any boot problems and became mad in solving the boot problems..
good luck !
Last edited by DOTT.EVARISTI; 07-09-2007 at 05:36 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.