LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-15-2014, 11:18 AM   #16
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,906

Rep: Reputation: 262Reputation: 262Reputation: 262

This one is most likley the one the live dvd is using:
Quote:
overlayfs / overlayfs rw 0 0
tmpfs /tmp tmpfs nosuid,nodev 0 0
/dev/sda5 swap swap defaults 0 0
and this one is from your hard drive that needs to be edited:
Quote:
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
to this
Code:
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-63abb6d1c2da /media/Win ntfs-3g user,users,gid=users,umask=0002 0 0
 
Old 03-15-2014, 12:34 PM   #17
DPNoyes
Member
 
Registered: Jan 2014
Location: St. Paul, MN
Distribution: ubuntu 12.04 w/Cinnamon
Posts: 30

Original Poster
Rep: Reputation: Disabled
Shouldn't the fstab with the UUID be on the main (root) drive, rather than the 2nd (win Data) drive? Or maybe there needs to be one for each, that each mounts separately? Makes sense that the 1st one if from the Install CD running.
 
Old 03-15-2014, 12:48 PM   #18
DPNoyes
Member
 
Registered: Jan 2014
Location: St. Paul, MN
Distribution: ubuntu 12.04 w/Cinnamon
Posts: 30

Original Poster
Rep: Reputation: Disabled
I guess I'm not paying attention! I just made the changes you called out in gedit, but now see the file is Read Only.
 
Old 03-15-2014, 12:58 PM   #19
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,906

Rep: Reputation: 262Reputation: 262Reputation: 262
will have open a terminal and
Code:
gksudo gedit
 
Old 03-15-2014, 01:16 PM   #20
DPNoyes
Member
 
Registered: Jan 2014
Location: St. Paul, MN
Distribution: ubuntu 12.04 w/Cinnamon
Posts: 30

Original Poster
Rep: Reputation: Disabled
OK, that got it. In getting the file open, I've found 2 other files: fstab.backup and fstab-ntfs-config-save. These are both also on the 2nd drive, not on the Main drive, just as the one we just edited and appear to be identical. Is there anything instructive in these? Should I try to reboot now, or are there more steps to perform?
 
Old 03-15-2014, 01:20 PM   #21
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,906

Rep: Reputation: 262Reputation: 262Reputation: 262
reboot and see what happens.
 
Old 03-15-2014, 01:31 PM   #22
DPNoyes
Member
 
Registered: Jan 2014
Location: St. Paul, MN
Distribution: ubuntu 12.04 w/Cinnamon
Posts: 30

Original Poster
Rep: Reputation: Disabled
It worked, but with error messages. There was a screen about being unable to mount the 2nd drive asking whether to skip or mount manually. This means you appear to have gotten me past the 1st hurdle. Many thanks for that. I don't know what's become of Gold Finger, but I sure appreciate you getting me this far.
 
Old 03-15-2014, 03:12 PM   #23
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,906

Rep: Reputation: 262Reputation: 262Reputation: 262
Open a terminal and post the results of
Code:
sudo fdisk -l
and
Code:
gdisk -l /dev/sdb
 
Old 03-15-2014, 03:34 PM   #24
DPNoyes
Member
 
Registered: Jan 2014
Location: St. Paul, MN
Distribution: ubuntu 12.04 w/Cinnamon
Posts: 30

Original Poster
Rep: Reputation: Disabled
Here's the FDisk redout:
Disk /dev/sda: 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: 0x00074c52

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 1920034815 960016384 83 Linux
/dev/sda2 1920036862 1953523711 16743425 5 Extended
/dev/sda5 1920036864 1953523711 16743424 82 Linux swap / Solaris

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: 0x000cd3f8

Device Boot Start End Blocks Id System
/dev/sdb1 * 63 1953520064 976760001 ef EFI (FAT-12/16/32)

And here is the GDisk readout:
GPT fdisk (gdisk) version 0.8.1

Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: not present


***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format.
***************************************************************

Disk /dev/sdb: 1953525168 sectors, 931.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 2115AF12-F5BB-426F-84A1-27546CFAC295
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1953525134
Partitions will be aligned on 8-sector boundaries
Total free space is 5099 sectors (2.5 MiB)

Number Start (sector) End (sector) Size Code Name
1 63 1953520064 931.5 GiB EF00 EFI System
douglas@Douglas:~$
 
Old 03-15-2014, 04:01 PM   #25
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,906

Rep: Reputation: 262Reputation: 262Reputation: 262
From this
Quote:
1 63 1953520064 931.5 GiB EF00 EFI System
and this
Quote:
/dev/sdb1 * 63 1953520064 976760001 ef EFI (FAT-12/16/32)
it looks like the second drive has a fat32 partition that takes up the whole hard drive. What are you wanting to use this hard drive for? for you to mount it as is the etc/fstab entry would need to be this
Code:
UUID=c8ba8858-1929-4ac6-63abb6d1c2da /media/Win vfat user,users,gid=users,umask=0002 0 0
 
Old 03-15-2014, 04:40 PM   #26
DPNoyes
Member
 
Registered: Jan 2014
Location: St. Paul, MN
Distribution: ubuntu 12.04 w/Cinnamon
Posts: 30

Original Poster
Rep: Reputation: Disabled
This 2nd drive contains all of my Win XP stuff that I will need to continue using. I'm sure I'll need WINE to access these apps. I copied everything to this 2nd drive and changed the format to ext4 so ubuntu could find it. Getting to those apps will be the 3rd hurdle, with getting the drive to mount as the 2nd hurdle. After that it will be trying to figure out why most of my icons in the ubuntu menus have vanished. The only one left is Firefox. Some just show a generic file folder and others are altogether blank. But, one headache at a time. I just tried to mount the 2nd drive and got the following:
Error mounting: mount exited with exit code 1: helper failed with:
Unprivileged user can not mount NTFS block devices using the external FUSE
library. Either mount the volume as root, or rebuild NTFS-3G with integrated
FUSE support and make it setuid root. Please see more information at
http://tuxera.com/community/ntfs-3g-faq/#unprivileged

I was just looking at the page listed at the end when you reply appeared.
 
Old 03-15-2014, 05:03 PM   #27
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,906

Rep: Reputation: 262Reputation: 262Reputation: 262
what do you mean by/how
Quote:
. I copied everything to this 2nd drive and changed the format to ext4
you may have lost your files if you changed/format to ext4 after moving windows files to hard drive. according to what you posted earlier the only thing on the drive is a fat32 partition, not ext4 or ntfs partition. What is in /media/win? Gparted will give a graphical view of what is on the hard drive.
 
Old 03-15-2014, 06:42 PM   #28
DPNoyes
Member
 
Registered: Jan 2014
Location: St. Paul, MN
Distribution: ubuntu 12.04 w/Cinnamon
Posts: 30

Original Poster
Rep: Reputation: Disabled
I got the Gparted information about the drive, but at a loss on how to put it here for you to see. If there's another method of getting this before your eyes, I'm open to it. I have the Print Screen command available, but it doesn't seem to want to post here. I'lltype what seems to be relevant:
File System:
 
Old 03-15-2014, 06:49 PM   #29
DPNoyes
Member
 
Registered: Jan 2014
Location: St. Paul, MN
Distribution: ubuntu 12.04 w/Cinnamon
Posts: 30

Original Poster
Rep: Reputation: Disabled
Trying again:
File System: ext4
Size: 931.51 GiB etc
Flags: boot
Path: /dev/sdb1
Status: Mounted on /media/win (Gparted shocked me when it did this)
Label: Win Data
UUID: c8ba8858-1929-4ac6-9b46-63abb6d1c2da

In the main Gparted window, it shows the Model, Size & Path, which is probably redundant to this discussion. The rest shows the Partition Table: msdos and physical info, such as Heads, Sectors, Cylinders, etc.
 
Old 03-15-2014, 08:51 PM   #30
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,906

Rep: Reputation: 262Reputation: 262Reputation: 262
Quote:
Status: Mounted on /media/win (Gparted shocked me when it did this)
does this mean you able to access your windows files on /media/win?
 
  


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