LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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-18-2014, 05:47 AM   #46
DPNoyes
Member
 
Registered: Jan 2014
Location: St. Paul, MN
Distribution: ubuntu 12.04 w/Cinnamon
Posts: 30

Original Poster
Rep: Reputation: Disabled

Good Morning. Sorry I don't have time to read the whole post; getting ready for work. Yes, the compputer boots, and I'm able to access the files, but still have to manually mount the volume. I've copied all of the contents to the main (1st) drive, in the event I'll need to reformat the 2nd drive. Therefore, reformatting is an option. Here are the current contents of fstab:

UUID=83881945-3aac-49b2-8244-7d38924f6bee / ext4 errors=remount-ro 0 1
UUID=7b4d1d1e-c64a-4397-9ecf-3d7893a2b661 swap swap sw 0 0
#UUID=c8ba8858-1929-4ac6-9b46-63abb6d1c2da /media/Win ntfs-3g user,users,gid=users,umask=002 0 0

Thanks again for helping...
 
Old 03-19-2014, 08:35 PM   #47
DPNoyes
Member
 
Registered: Jan 2014
Location: St. Paul, MN
Distribution: ubuntu 12.04 w/Cinnamon
Posts: 30

Original Poster
Rep: Reputation: Disabled
AFter creating the new fstab file, I'm back to getting an error screen about being unable to mount the 2nd drive. I've tried to restore the backup fstab, but it won't let me change the name, I assume because it's a system file. Since I've copied the contents of the 2nd drive, reformatting it is an option, if you guys think it's wise to do so.
 
Old 03-20-2014, 01:52 AM   #48
gold_finger
Member
 
Registered: Jan 2014
Distribution: Mint Xfce, Voyager, SolydK
Posts: 50

Rep: Reputation: 12
Paste back the output of the following commands in a terminal:

Code:
ls -l /home/douglas
Code:
ls -l /media
Code:
cat /etc/fstab
 
Old 03-20-2014, 06:05 PM   #49
DPNoyes
Member
 
Registered: Jan 2014
Location: St. Paul, MN
Distribution: ubuntu 12.04 w/Cinnamon
Posts: 30

Original Poster
Rep: Reputation: Disabled
OK, here we go:

douglas@Douglas:~$ ls -l /home/douglas
total 5550588
drwxrwxr-x 19 douglas douglas 4096 Mar 17 20:37 2nd Drive Temp
drwxrwxr-x 3 douglas douglas 4096 Oct 10 10:18 Adobe
drwxrwxr-x 2 douglas douglas 4096 Oct 20 08:59 Backups
-rw-r--r-- 1 douglas douglas 70656 Apr 15 1999 Baseball Score Card.doc
-rw-r--r-- 1 douglas douglas 106 Dec 9 2006 Cable.txt
-rw-r--r-- 1 douglas douglas 841 Dec 7 2006 ChristmasMusic.txt
drwxrwxr-x 2 douglas douglas 4096 Nov 16 18:10 DEBS
drwxr-xr-x 2 douglas douglas 4096 Jan 2 13:31 Desktop
drwxr-xr-x 8 douglas douglas 4096 Jan 15 20:18 Documents
drwxr-xr-x 5 douglas douglas 4096 Jan 2 08:40 Downloads
-rw-r--r-- 1 douglas douglas 1642 Mar 14 2011 Elderly Mom.txt
-rw-r--r-- 1 douglas douglas 8445 Sep 29 18:32 examples.desktop
-rw-r--r-- 1 douglas douglas 78302 Feb 17 2011 Fry Signature.tif
drwxrwxr-x 7 douglas douglas 4096 Oct 20 09:00 fwbackups-1.43.4
-rw-r--r-- 1 douglas douglas 16384 Feb 16 2011 Gary Fry Cover.doc
-rw-r--r-- 1 douglas douglas 5383 Feb 16 2011 Gary Fry Cover.wpd
-rw-r--r-- 1 douglas douglas 32768 Feb 16 2011 Gary Fry Resume.doc
-rw-r--r-- 1 douglas douglas 13670 Feb 16 2011 Gary Fry Resume.wpd
drwxr-xr-x 8 douglas douglas 4096 Jan 2 20:11 Music
drwxr-xr-x 5 douglas douglas 4096 Mar 16 20:40 Pictures
drwxr-xr-x 2 douglas douglas 4096 Sep 29 18:40 Public
-rw-r--r-- 1 douglas douglas 403 Dec 9 2006 Radar.txt
-r--r--r-- 1 douglas douglas 25015 Jul 19 2000 scorecard.pdf
drwxr-xr-x 2 douglas douglas 4096 Sep 29 18:40 Templates
drwxrwxr-x 2 douglas douglas 4096 Oct 5 07:53 Ubuntu One
-rw-rw-r-- 1 douglas douglas 5683445760 Dec 21 13:55 UPPER_MISS_1.iso
drwxr-xr-x 2 douglas douglas 4096 Sep 29 18:40 Videos
drwxrwxr-x 3 douglas douglas 4096 Jan 2 10:58 Vuescan
drwxrwxr-x 2 douglas douglas 4096 Mar 17 17:34 Windows
douglas@Douglas:~$

douglas@Douglas:~$ ls -l /media
total 0

douglas@Douglas:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# Mount root partition
UUID=83881945-3aac-49b2-8244-7d38924f6bee / ext4 errors=remount-ro 0 1
# Mount swap
UUID=7b4d1d1e-c64a-4397-9ecf-3d7893a2b661 swap swap sw 0 0
# Mount Windows data partition to /home/douglas/Windows
UUID=c8ba8858-1929-4ac6-63abb6d1c2da /home/douglas/Windows ext4 defaults 0 2
douglas@Douglas:~$
 
Old 03-20-2014, 07:25 PM   #50
gold_finger
Member
 
Registered: Jan 2014
Distribution: Mint Xfce, Voyager, SolydK
Posts: 50

Rep: Reputation: 12
My apologies DPNoyes,

I copied the incorrect UUID for that 2nd drive into the /etc/fstab file I had you make.

Right now it reads: UUID=c8ba8858-1929-4ac6-63abb6d1c2da

It Should Read as: UUID=c8ba8858-1929-4ac6-9b46-63abb6d1c2da
(Bolded part was missing from my earlier post.)


You do have the /home/douglas/Windows mount point and have ownership of it. (Good.)

You did get rid of the old /media/Win mount point. (Good.)

So, just need to open the /etc/fstab file as root and correct the mistake.

Open /etc/fstab as root
Code:
gksu gedit /etc/fstab
Replace the last line in the file with this corrected one
Code:
UUID=c8ba8858-1929-4ac6-9b46-63abb6d1c2da /home/douglas/Windows  ext4  defaults  0  2
Save file and close gedit. Close terminal. Reboot.

Should work now. Sorry again for the mistake.
 
Old 03-20-2014, 10:11 PM   #51
DPNoyes
Member
 
Registered: Jan 2014
Location: St. Paul, MN
Distribution: ubuntu 12.04 w/Cinnamon
Posts: 30

Original Poster
Rep: Reputation: Disabled
Thanks Gold Finger, that got it. I rebooted and no more mounting error screen and the 2nd drive mounted, just like it should. Question now, is since the Data Partition shows EFI FAT, is that going to cause trouble later on? I can't shake the feeling that I should reformat it so it's EXT4 in every respect. The other glitch (probably minor) is on bootup, I still get a screen with choices for Normal Boot or Recovery and a few other options. Curious for your opinions on these.
 
Old 03-21-2014, 05:45 PM   #52
gold_finger
Member
 
Registered: Jan 2014
Distribution: Mint Xfce, Voyager, SolydK
Posts: 50

Rep: Reputation: 12
Quote:
Originally Posted by DPNoyes
Question now, is since the Data Partition shows EFI FAT, is that going to cause trouble later on? I can't shake the feeling that I should reformat it so it's EXT4 in every respect.
That is a strange one -- have never seen that happen before. If sudo fdisk -l still shows it as "EFI FAT", then maybe it's not a bad idea to wipe out the drive and repartition it. If you're 100% sure your extra copy of the data is good and accessible, then go ahead and do that.

Best way is to use GParted program. You can do it from either your installed system or by using it from a live DVD/USB. GParted is usually found under: Menu -> Administration (or System) -> GParted. If it's not installed on your system or the live disk, install it with this command:
Code:
sudo apt-get install gparted
Here is a tutorial on GParted: http://www.dedoimedo.com/computers/gparted.html.

Just going to provide basic outline of what you need to do from your installed system. (Won't get into doing it with live DVD.) You should be able to figure out exact commands by referring back to the posts here and the above tutorial.

Re-formatting 2nd Drive after booting into your Installed System:

* First, unmount the /dev/sdb1 partition

* Open GParted and make sure it is displaying /dev/sdb (see upper-right drop-down box)

* Use GParted to delete /dev/sdb1 partition; make new partition table on that drive (Device -> Create Partition Table); then make new partition formatted as Ext4 file system. (Make sure that GParted is displaying /dev/sdb when you make new partition table.)

* Close GParted when done making new partition.

* Use fdisk command to make sure /dev/sdb1 no longer shows as "EFI FAT".

* Use blkid command to find out the UUID of the new partition.

* Open /etc/fstab file as root with text editor and substitute the new UUID for the old one in the last line for that partition.

* Mount (as root) the partition to mount point you already have made -- /home/douglas/Windows (use terminal command, not by clicking on it); then do the chown command to assume ownership of it.

* If get error message saying it's already mounted, the system may have done that itself after you created it with GParted. Look for its icon on desktop, right-click it and choose "Unmount". Then re-try mount and chown steps above using terminal.

* Next reboot should now have it show in same place as before -- /home/douglas/Windows.

* Go ahead and put your files back on it.


Quote:
Originally Posted by DPNoyes
The other glitch (probably minor) is on bootup, I still get a screen with choices for Normal Boot or Recovery and a few other options.
That's normal. Grub menu will show options for booting normally and in recovery mode for the kernel(s) installed and will also show choice(s) for memory test(s).
 
Old 03-21-2014, 06:41 PM   #53
DPNoyes
Member
 
Registered: Jan 2014
Location: St. Paul, MN
Distribution: ubuntu 12.04 w/Cinnamon
Posts: 30

Original Poster
Rep: Reputation: Disabled
Well, it still says EFI, but when I try to do anything, the reply is Daemon is inhibited. I've tried formatting the drive (wanted a clean start on this), deleting the volume, partition, everything. I've unmounted the volume using the umount command, and that was successful, but everything else results in the Daemon message. I appear to be stuck.
 
Old 03-21-2014, 08:00 PM   #54
gold_finger
Member
 
Registered: Jan 2014
Distribution: Mint Xfce, Voyager, SolydK
Posts: 50

Rep: Reputation: 12
DPNoyes,

Try to be as specific as possible when posting problems.

Quote:
Originally Posted by DPNoyes
Well, it still says EFI, but when I try to do anything, the reply is Daemon is inhibited.
What exactly are you trying to do that returned that message?

Does it happen when trying to do more than one thing? What things?

Did it say that while you tried to use GParted?

Or, was it after completing all steps and now does that while trying to access partition with file manager?

If it happened in a terminal window, can you copy/paste the command you ran and the error message?



Not sure what to think on this. Open a terminal and paste the output of these commands back to the forum (enter each line one-at-a-time, not all at once):

Code:
lsblk
sudo fdisk -l /dev/sdb
sudo blkid
cat /etc/fstab
P.s. Please use mouse to highlight all terminal output, then right-click the highlighted area, choose "Copy". Then right-click in the forum reply area and choose "Paste".

If you try typing the output, you will likely make a mistake. For example, the wrong UUID number I posted before. I had copied it from a post by colorpurple21859, who in turn had copied it from your post here: https://www.linuxquestions.org/quest...9/#post5134995. If you had copy/pasted vs. typing, nobody would have used the wrong UUID. (I will accept most of the blame on that though, because I should have confirmed it with your original pastebin output before posting. This time however, I have nothing to go by but what you post -- so make sure to copy/paste the exact output.)
 
Old 03-21-2014, 10:05 PM   #55
DPNoyes
Member
 
Registered: Jan 2014
Location: St. Paul, MN
Distribution: ubuntu 12.04 w/Cinnamon
Posts: 30

Original Poster
Rep: Reputation: Disabled
I wanted to reformat the drive, so as to be clean when I moved the Windows data back. When that failed, I tried to format, then delete the partition, both of which also failed with the "Daemon is Inhibited" message. I also unmounted the drive, thinking that might make the operation possible, but no luck there, either. GParted allowed me to delete the partition, but I still cannot format the drive, which may have the dreaded EFI/FAT format.

I just realized my mistake, and now the drive is formatted and partitioned as Ext4. It's showing a label of "1.0 TB ext4", rather than the WinData label, but I'm sure that's an easy fix. We're making progress!
Here's the output you asked for:
douglas@Douglas:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931.5G 0 disk
├─sda1 8:1 0 915.6G 0 part /
├─sda2 8:2 0 1K 0 part
└─sda5 8:5 0 16G 0 part [SWAP]
sdb 8:16 0 931.5G 0 disk
└─sdb1 8:17 0 931.5G 0 part /home/douglas/Windows
sr0 11:0 1 1024M 0 rom
sr1 11:1 1 1024M 0 rom
douglas@Douglas:~$
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0004799f

Device Boot Start End Blocks Id System
/dev/sdb1 63 1953520064 976760001 83 Linux
douglas@Douglas:

douglas@Douglas:~$ sudo blkid
/dev/sda1: UUID="83881945-3aac-49b2-8244-7d38924f6bee" TYPE="ext4"
/dev/sda5: UUID="7b4d1d1e-c64a-4397-9ecf-3d7893a2b661" TYPE="swap"
/dev/sdb1: UUID="0e563551-3f98-4782-b879-19d7938ea2b6" TYPE="ext4"
douglas@Douglas:~$
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# Mount root partition
UUID=83881945-3aac-49b2-8244-7d38924f6bee / ext4 errors=remount-ro 0 1
# Mount swap
UUID=7b4d1d1e-c64a-4397-9ecf-3d7893a2b661 swap swap sw 0 0
# Mount Windows data partition to /home/douglas/Windows
UUID=0e563551-3f98-4782-b879-19d7938ea2b6 /home/douglas/Windows ext4 defaults 0 2
 
Old 03-21-2014, 10:07 PM   #56
DPNoyes
Member
 
Registered: Jan 2014
Location: St. Paul, MN
Distribution: ubuntu 12.04 w/Cinnamon
Posts: 30

Original Poster
Rep: Reputation: Disabled
I've put a screenshot of the Disk Utility that I'm sure will give you more info.
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2014-03-21 21:03:56.png
Views:	10
Size:	124.9 KB
ID:	15030  
 
Old 03-21-2014, 10:53 PM   #57
gold_finger
Member
 
Registered: Jan 2014
Distribution: Mint Xfce, Voyager, SolydK
Posts: 50

Rep: Reputation: 12
Everything looks good now as far as I can tell.

It works, right?

As far as label goes -- that's not "needed". It's more of a cosmetic convenience. When using a partitioning utility, like GParted for instance, the label just makes it easier for humans to identify which partition is which rather than trying to remember UUID numbers.

If you want to label it, just open GParted, find and right-click on the partition, choose "Label". Don't change anything else, just fill in a label. Hit "Apply" button and that's it. (You'll probably have to unmount the partition before trying to label it though. That can be done with right-click in GParted also. Just make sure you're not accessing the partition with another program while doing that.)

P.s. Looks like that "Disks" program (in your screenshot) might be able to label the partition also, but I've never tried using it for anything -- so not sure how well it can be trusted.

Last edited by gold_finger; 03-21-2014 at 10:59 PM. Reason: Added P.s.
 
Old 03-22-2014, 10:44 AM   #58
DPNoyes
Member
 
Registered: Jan 2014
Location: St. Paul, MN
Distribution: ubuntu 12.04 w/Cinnamon
Posts: 30

Original Poster
Rep: Reputation: Disabled
Thank again, Gold Finger. Yup, when I figured out my mistake, I was able to get it fixed, using your instructions. Now I need to get WINE working, so I can get my taxes done. I have to be able to recover my financial information. I'm guessing I should start a new thread for that, rather than dragging this one further. BTW, would you have any idea why the icons for the "Start" menu have vanished? I wanted to post a screen shot, but I'm doing something wrong. I used to have icons for each application, files, etc in the Start Menu, but now, the only one left is Firefox. They work, just have to guess which is which.
 
Old 03-22-2014, 02:40 PM   #59
gold_finger
Member
 
Registered: Jan 2014
Distribution: Mint Xfce, Voyager, SolydK
Posts: 50

Rep: Reputation: 12
Go ahead an mark this post solved to close it out.

Sorry, don't know anything about using Wine and not sure what could be cause of your missing icons. Start a separate new post for each of those issues.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -5. The time now is 01:00 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration