LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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-08-2014, 11:38 AM   #1
DPNoyes
Member
 
Registered: Jan 2014
Location: St. Paul, MN
Distribution: ubuntu 12.04 w/Cinnamon
Posts: 30

Rep: Reputation: Disabled
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?
 
Old 03-08-2014, 12:27 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
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.
Code:
fdisk -l  (small letter L)
What version of Windows are you running?

Here's the spec's on your motherboard-
http://www.gigabyte.us/products/prod...px?pid=3891#sp

I noticed that your motherboard has:
Code:
Patented DualBIOS with Hybrid EFI technology for 3TB HDD support
Is your second HDD 2 TB or 3 TB? If so it requires a special kind of GPT Partitioning. Sorry I do not have experience with that.
http://www.thegeekstuff.com/2012/08/2tb-gtp-parted/
http://www.zdnet.com/the-never-endin...ng-7000013104/
http://www.linuxquestions.org/questi...re-4175493871/

Last edited by Ztcoracat; 03-08-2014 at 12:29 PM.
 
Old 03-08-2014, 10:46 PM   #3
DPNoyes
Member
 
Registered: Jan 2014
Location: St. Paul, MN
Distribution: ubuntu 12.04 w/Cinnamon
Posts: 30

Original Poster
Rep: Reputation: Disabled
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.
 
Old 03-09-2014, 03:18 AM   #4
gold_finger
Member
 
Registered: Jan 2014
Distribution: Mint Xfce, Voyager, SolydK
Posts: 50

Rep: Reputation: 12
Sound like you're just trying to automount the 2nd HD on boot, right?

What "utility" did you use to try accomplishing that?

Maybe this page will help: https://help.ubuntu.com/community/Au...ountPartitions

If need more help post back with output from following three commands in a terminal:
Code:
sudo fdisk -l
(Lowercase "L" at the end, not number 1.)

Code:
sudo blkid
Code:
cat /etc/fstab
 
Old 03-09-2014, 08:52 AM   #5
DPNoyes
Member
 
Registered: Jan 2014
Location: St. Paul, MN
Distribution: ubuntu 12.04 w/Cinnamon
Posts: 30

Original Poster
Rep: Reputation: Disabled
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.
 
Old 03-09-2014, 10:05 AM   #6
gold_finger
Member
 
Registered: Jan 2014
Distribution: Mint Xfce, Voyager, SolydK
Posts: 50

Rep: Reputation: 12
Oops, sorry -- forgot about that!

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.)

Boot with the live DVD/USB and use Boot-Repair as shown on this page from the live Ubuntu to (hopefully) fix your boot issue: https://help.ubuntu.com/community/Boot-Repair.

It will post the output of what it does to a pastebin url. Write that url down in case we need to look at the output.

If Boot-Repair worked, then post the output from commands in my last post after booting into your installed Ubuntu.

If it didn't work, post the pastebin url so we can see its output.
 
Old 03-12-2014, 04:45 PM   #7
DPNoyes
Member
 
Registered: Jan 2014
Location: St. Paul, MN
Distribution: ubuntu 12.04 w/Cinnamon
Posts: 30

Original Poster
Rep: Reputation: Disabled
I used the method of the original Install Disk and the Try Ubuntu, then Repair, but it didn't succeed. Here is the Pastebin:

http://paste.ubuntu.com/7071210
 
Old 03-12-2014, 05:56 PM   #8
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
Use the live cd to edit /etc/fstab change this
Code:
UUID=83881945-3aac-49b2-8244-7d38924f6bee / ext4 users 0 1
to this
Code:
UUID=83881945-3aac-49b2-8244-7d38924f6bee / ext4 errors=remount-ro 0 1
. You also have two entries for the windows data. You need to remove one of them.
 
Old 03-12-2014, 06:51 PM   #9
gold_finger
Member
 
Registered: Jan 2014
Distribution: Mint Xfce, Voyager, SolydK
Posts: 50

Rep: Reputation: 12
DPNoyes,

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:
Code:
sudo blkid
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.)
Code:
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.)
Code:
sudo umount /dev/sda1

Last edited by gold_finger; 03-12-2014 at 06:53 PM. Reason: Clarified instructions
 
Old 03-12-2014, 06:55 PM   #10
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
What I suggested is to fix this
Quote:
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.
 
Old 03-12-2014, 10:39 PM   #11
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
After reading through all the output in the pastebin link; I agree with you colorpurple21859--
Your right-

If this were my system I would follow your counsel in post #8 too- Makes sense due to the 'permission denied'.
 
Old 03-13-2014, 03:29 AM   #12
gold_finger
Member
 
Registered: Jan 2014
Distribution: Mint Xfce, Voyager, SolydK
Posts: 50

Rep: Reputation: 12
@colorpurple21859,

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....")
 
Old 03-14-2014, 09:34 PM   #13
DPNoyes
Member
 
Registered: Jan 2014
Location: St. Paul, MN
Distribution: ubuntu 12.04 w/Cinnamon
Posts: 30

Original Poster
Rep: Reputation: Disabled
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.

Here is the data you wanted:

ubuntu@ubuntu:~$ sudo blkid
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="83881945-3aac-49b2-8244-7d38924f6bee" TYPE="ext4"
/dev/sda5: UUID="7b4d1d1e-c64a-4397-9ecf-3d7893a2b661" TYPE="swap"
/dev/sdb1: LABEL="Win Data" UUID="c8ba8858-1929-4ac6-9b46-63abb6d1c2da" TYPE="ext4"
/dev/sr0: LABEL="Ubuntu 12.04.3 LTS amd64" TYPE="iso9660"
/dev/sr1: LABEL="Linux Repair" TYPE="iso9660"
/dev/sdg1: LABEL="USB DISK" UUID="DD61-C760" TYPE="vfat"
ubuntu@ubuntu:~$

ubuntu@ubuntu:~$ ls -l /mnt/media
total 16
drwx------ 2 root root 4096 Jan 29 01:15 MEMORYSTICK
drwx------ 2 root root 4096 Jan 29 01:15 MOM'S PHOTO
drwx------ 2 root root 4096 Jan 29 01:15 MP3
drwxr-xr-x 2 root root 4096 Jan 6 17:38 Win
ubuntu@ubuntu:~$

I hope this covers what you need for this round. Thanks again!
 
Old 03-14-2014, 10:34 PM   #14
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
Quote:
I found the fstab.d folder,
not the folder, a file in /etc called fstab
 
Old 03-15-2014, 07:49 AM   #15
DPNoyes
Member
 
Registered: Jan 2014
Location: St. Paul, MN
Distribution: ubuntu 12.04 w/Cinnamon
Posts: 30

Original Poster
Rep: Reputation: Disabled
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:

UUID=c8ba8858-1929-4ac6-63abb6d1c2da /media/Win Data ext4 users 0 0
UUID=83881945-3aac-49b2-8244-7d38924f6bee / ext4 users 0 1
UUID=7b4d1d1e-c64a-4397-9ecf-3d7893a2b661 swap swap sw 0 0
UUID=c8ba8858-1929-4ac6-63abb6d1c2da /root ext4 remount,users 0 0

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.
 
  


Reply



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
Cannot boot into Ubuntu after installation of windows on 2nd hdd azteka22 Ubuntu 2 12-03-2009 09:37 PM
Encrypt 2nd drive without 2nd boot time passphrase: How? gargamel Slackware - Installation 15 05-30-2009 02:50 PM
how do i connect my blue tooth headset to Ubuntu, it is unable to connect. salfuser Linux - Hardware 2 01-12-2009 10:28 AM
Installed OpenSuse 11.1 on my 2nd hard drive, unable to boot cyborg939 Linux - General 3 01-11-2009 03:09 PM
Lost ubuntu on 2nd drive-how to remove boot loader? BACTRATE Ubuntu 2 06-06-2008 03:26 PM

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

All times are GMT -5. The time now is 04:39 PM.

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