[SOLVED] Unable to boot into ubuntu 12.04 after trying to connect to a 2nd HD
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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Unable to boot into ubuntu 12.04 after trying to connect to a 2nd HD
I am very new to Linux. I have a GigaByte 990-FXA with AMD FX 8350 & 16GB of RAM. I had been having to manually mount my 2nd HD every time, and tried to make it mount automatically with a utility. Now it won't even boot and if I try Recovery Mode, I get the following message:
/usr/bin/gettext.sh: Line 90: /usr/bin/envsubst: Permission Denied.
I'm trying desperately to avoid Windows, but appear to be running out of options. This is the current primary problem, but will also need to learn more about WINE then a couple of other items, down the road. Can anyone help?
Do you have the GNU Grub Menu for your Ubuntu installation?
Most folks unplug the HDD that has Windows installed on it and than proceed to install on the 2nd HDD that is plugged in.
When you have time run this command as "root" to show all partitions on your machine.
Use a Live Linux DVD/CD if your installed Ubuntu operation system isn't working.
It will help other members to see what you have and on what drive.
Thank You for you quick reply. I neglected to note that Windows is not on either of these 1 TB Hard Drives. I have my Windows apps on the 2nd HD, but not Windows itself. I use several apps that are not available for Linux, but will cross that bridge after solving this part of the problem. I will try the fdisk command when I am able and report further.
Yes, but that's my next problem. Currently, I'm not even able to boot up and get the following message repeating endlessly until I stop the scroll or shut down:
/usr/bin/gettext.sh: line 90: /usr/bin/envsubst: permission denied
Again, I greatly appreciate the assistance this group is providing.
Do you still have your live DVD/USB that you used to install Ubuntu? If not, can you make another one on a different computer? (Use same version of Ubuntu that you have installed if making another one.)
Before doing what colorpurple21859 suggested, I noticed that your /etc/fstab file shows it's trying to mount the external drive not only twice, but as an ext4 filesystem. But the mount point name you put in under says "/media/Win Data". Two problems with that:
1. There is a space between /media/Win and Data
2. If that external drive is one you have Windows data on, it is probably either formatted as NTFS or FAT32 -- not ext4.
Boot back up with your live DVD, then connect your external drive. Open a terminal and enter the following so we can see how the external drive is formatted:
Then mount your installed root partition and let's see if you have a mount point set under /media. (Enter each line one-at-a-time.)
sudo mount /dev/sda1 /mnt
ls -l /mnt/media
Copy/Paste the output from the blkid and ls commands back here for us to look at.
Unmount the root partition, then close out terminal. (Note: that is not a mispelling of the command.)
sudo umount /dev/sda1
Last edited by gold_finger; 03-12-2014 at 06:53 PM.
Reason: Clarified instructions
I wasn't disagreeing with what you said. Was thinking along the lines of making a corrected line for external drive's /etc/fstab entry, then applying that and your correction both at the same time. (That's what I meant by "Before doing what colorpurple21859 suggested....")
Gold Finger brought up points that, had I been better educated in this, I would have explained before. That said, here we go. Your observation about the Win Data label is mostly correct. Firstly, I should have mentioned that this is a 2nd internal drive. Both are 1TB. The 2nd Drive was my Windows backup drive, so it has all my Windows data from the old computer. Using a utility of which I've forgotten the name, I changed its format to ext4, in the belief that ubuntu would be able to find it. I simply titled it Win Data for my reference. That may have been an error on my part, but I was able to manually mount it after that. Another utility ran and found all the files on it and put them into a locked folder called Lost & Found, that I can't get into, but that's a problem down the list.
Now, for colorpurple, I found the fstab.d folder, but it appears to be empty. I tried to look at the properties, but it says I'm not the owner and cannot change anything. I don't know where to go from here.
Again, I appreciate your willingness to help. Thank You.
For ColorPurple: Sorry for my being so dense. I opened /etc/fstab in gedit and am not finding the UUID lines you referenced. What's there is:
overlayfs / overlayfs rw 0 0
tmpfs /tmp tmpfs nosuid,nodev 0 0
/dev/sda5 swap swap defaults 0 0
In making certain I was looking on the correct (main) drive, I found an fstab on the 2nd drive. Perhaps there is a conflict between the two. Here is the content of the fstab file on the 2nd (Win Data) drive:
I hope I don't have any typos, as I'm having to copy from that machine to my laptop, since it's the only thing that works.
I didn't execute your instructions as I'm assuming the UUID lines you mention probably should be on the boot (main) drive. I don't want to mess this up further and make it more complex for you.