 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

16th May 2012, 03:45 AM
|
|
Registered User
|
|
Join Date: Jul 2008
Location: western u.s.
Posts: 133

|
|
|
problems finding files after F16 64bit installation
I did a clean install of F16 64bit into partition #1, and can no longer access the other partitions.
F14 (that was preupgraded to F15 but ended up split between them) is in partition #2.
If possible, I'd especially like to access the previous email addresses and photos.
Guidance and suggestions are much appreciated.
sda1 / 4gb swap
sda2 / 50gb fedora 16 64bit
sda3 / 50gb fedora 14/15 32bit
sda4 // 27gb os3 (empty)
sda5 // 27gb os4 (empty)
sda6 // 27gb os5 (empty)
sda7 // 27gb home
sda8 // 26gb files
Clicking file manager > home brings up an authorization screen that asks for my password which I enter.
An error screen opens that says: error opening directory '/media/home/lost+found': permission denied
The same for os #3, 4, and 5, which are empty partitions.
Clicking file manager > fedora14-i686- brings up the password screen again, then files for /media/_Fedora-14-i686-.
Nothing happens when I click file manager > documents, music, pictures, videos, or downloads.
__________________
biostar a870u3 / amd athlonII x2 regor250 3.0ghz am3 65w / gskill sniper 2x4gb ddr3 1333
evga 512-P3-1311-KR geforce 210 32bit ddr3 pci express hdcp video card / fedora 16 64 lxde
nvidia onboard / seagate barracuda 7200 250gb 3gbs hard drive / hannsg hw192 / earthwatts psu
|

16th May 2012, 06:03 AM
|
 |
Registered User
|
|
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,300

|
|
|
Re: problems finding files after F16 64bit installation
Run fsck over the other Linux file partitions.
Be SURE they are unmounted before you do so.
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe
|

16th May 2012, 06:09 AM
|
|
Registered User
|
|
Join Date: Jul 2008
Location: western u.s.
Posts: 133

|
|
|
Re: problems finding files after F16 64bit installation
Quote:
Originally Posted by stevea
Run fsck over the other Linux file partitions.
Be SURE they are unmounted before you do so.
|
Thanks very much.
fsck = file system consistency check
audits and interactively repairs inconsistent conditions for the file systems on mass storage device files
Here's a page on how to do this. I will look at it tomorrow.
http://www.cyberciti.biz/faq/can-i-r...em-is-mounted/
__________________
biostar a870u3 / amd athlonII x2 regor250 3.0ghz am3 65w / gskill sniper 2x4gb ddr3 1333
evga 512-P3-1311-KR geforce 210 32bit ddr3 pci express hdcp video card / fedora 16 64 lxde
nvidia onboard / seagate barracuda 7200 250gb 3gbs hard drive / hannsg hw192 / earthwatts psu
Last edited by johnlvs2run; 16th May 2012 at 07:15 AM.
|

16th May 2012, 08:43 AM
|
|
Registered User
|
|
Join Date: Jan 2006
Posts: 2,769

|
|
|
Re: problems finding files after F16 64bit installation
This is probably because a fresh install of F16 creates a user with a default ID number of 1000 and an upgraded F14 to F15 would have a user ID of 500. You can access your files as root and copy them over then chown -R username:groupname the files. Another alternative is to create a new user with an ID of 500 to copy the files.
|

16th May 2012, 09:52 AM
|
|
Registered User
|
|
Join Date: Dec 2006
Posts: 1,717

|
|
|
Re: problems finding files after F16 64bit installation
What exactly is the error message? You should be able to mount the partitions as root:
Code:
mkdir /mnt/fedora
mount -t ext4 /dev/sda3 /mnt/fedora
Assuming they were formatted with an ext4 file system.
|

16th May 2012, 04:30 PM
|
|
Registered User
|
|
Join Date: Jul 2008
Location: western u.s.
Posts: 133

|
|
|
Re: problems finding files after F16 64bit installation
Thanks for the responses. It would help a lot to know all the codes to use in the terminal.
Quote:
You should be able to mount the partitions as root:
Assuming they were formatted with an ext4 file system.
|
# mkdir /mnt/fedora
# mount -t ext4 /dev/sda3 /mnt/fedora
#
Now going to "file manager > home" has me enter my password again then shows the following error message:
Quote:
|
DBus error org.gtk.Private.RemoteVolumeMonitor.Failed: An operation is already pending
|
__________________
biostar a870u3 / amd athlonII x2 regor250 3.0ghz am3 65w / gskill sniper 2x4gb ddr3 1333
evga 512-P3-1311-KR geforce 210 32bit ddr3 pci express hdcp video card / fedora 16 64 lxde
nvidia onboard / seagate barracuda 7200 250gb 3gbs hard drive / hannsg hw192 / earthwatts psu
Last edited by johnlvs2run; 16th May 2012 at 04:37 PM.
|

16th May 2012, 07:13 PM
|
|
Official Gnome 3 Sales Rep. (and Adminstrator)
|
|
Join Date: Jul 2011
Location: Leamington Spa, UK
Age: 30
Posts: 1,707

|
|
|
Re: problems finding files after F16 64bit installation
What happens if you click "File System" instead of Home, and navigate to /mnt/fedora from there?
|

16th May 2012, 08:28 PM
|
|
Registered User
|
|
Join Date: Jul 2008
Location: western u.s.
Posts: 133

|
|
|
Re: problems finding files after F16 64bit installation
I don't understand the suggestions other than SteveA's, so am going to do the following:
Quote:
Take down system to single user mode and unmout system
1) Use init (process control initialization ) command to change runlevel 1 (singe user mode)
2) Use umount command to unmount /home file system
3) Run fsck using fsck command
Run fsck on /home (/dev/sda7):
# init 1
# umount /home
# umount /dev/sda
# fsck /dev/sda7
# exit;exit
# reboot
|
Quote:
Be sure to specify the file system type using -t option.
Otherwise more corruption can result, as fsck assumes the ext2 file system by default.
Example:
# fsck -t ext4 /dev/sda7 ... or ... # fsck.ext4 /dev/sda7
|
__________________
biostar a870u3 / amd athlonII x2 regor250 3.0ghz am3 65w / gskill sniper 2x4gb ddr3 1333
evga 512-P3-1311-KR geforce 210 32bit ddr3 pci express hdcp video card / fedora 16 64 lxde
nvidia onboard / seagate barracuda 7200 250gb 3gbs hard drive / hannsg hw192 / earthwatts psu
Last edited by johnlvs2run; 21st May 2012 at 05:53 AM.
|

16th May 2012, 10:56 PM
|
|
Official Gnome 3 Sales Rep. (and Adminstrator)
|
|
Join Date: Jul 2011
Location: Leamington Spa, UK
Age: 30
Posts: 1,707

|
|
|
Re: problems finding files after F16 64bit installation
Could you post /etc/fstab and a screen-shot of the side-panel in the file manager?
It sounds to me like you and your computer are disagreeing about the meaning of the "Home" icon. It should take you to /home/your_account_name, not /media/home/. If your system is set up properly, the home partition should be mounted on /home, and listed in /etc/fstab. If it's being mounted in /media, that suggests that it isn't listed in fstab and the system is perceiving it as a foreign volume (much like a removable drive), and it's being mounted automatically on-demand.
There may well be user ID mismatches too, but lets get the file-system layout sorted first.
|

16th May 2012, 11:34 PM
|
|
Registered User
|
|
Join Date: Jul 2008
Location: western u.s.
Posts: 133

|
|
|
Re: problems finding files after F16 64bit installation
Quote:
Originally Posted by Gareth Jones
Could you post /etc/fstab and a screen-shot of the side-panel in the file manager?
|
# /etc/fstab
-bash: /etc/fstab: Permission denied
I've not done a screen shot in fedora before.
The /home I'm talking about is /dev/sda7 that has the files from F14/15, unless they're in /dev/sda3.
Quote:
Originally Posted by Gareth Jones
If your system is set up properly, the home partition should be mounted on /home, and listed in /etc/fstab.
|
I'm pretty sure F16 64 is set up properly, just that the previous f14/15 was blotched with preupgrade and also not being accessible now.
If the /home you are talking about is listed above desktop, trash, applications, files in the side panel, it is there.
And there's another home (media?) listed below that which I think is /dev/sda7.
__________________
biostar a870u3 / amd athlonII x2 regor250 3.0ghz am3 65w / gskill sniper 2x4gb ddr3 1333
evga 512-P3-1311-KR geforce 210 32bit ddr3 pci express hdcp video card / fedora 16 64 lxde
nvidia onboard / seagate barracuda 7200 250gb 3gbs hard drive / hannsg hw192 / earthwatts psu
Last edited by johnlvs2run; 17th May 2012 at 12:00 AM.
|

16th May 2012, 11:42 PM
|
|
Official Gnome 3 Sales Rep. (and Adminstrator)
|
|
Join Date: Jul 2011
Location: Leamington Spa, UK
Age: 30
Posts: 1,707

|
|
|
Re: problems finding files after F16 64bit installation
Quote:
Originally Posted by johnlvs2run
# /etc/fstab
-bash: /etc/fstab: Permission denied
|
fstab is a text file, not a command. Just attach it as you would a screen-shot (see below).
Quote:
|
I've not done a screen shot in fedora before.
|
Alt+PrintScrn will capture the foreground window, or just PrintScrn for the whole screen.
To attach files to posts, you need to be in the "advanced" editing mode rather than the quick reply box. Under the text entry area in advanced mode is a section for attaching files.
Quote:
The /home I'm talking about is /dev/sda7 that has the files from F14/15, unless they're in /dev/sda3.
|
Okay, so that isn't your actual current /home/username. It's still best to add the extra partitions to fstab though. Let's have a look at the current version so we know where we're starting from!
|

16th May 2012, 11:55 PM
|
|
Registered User
|
|
Join Date: Jul 2008
Location: western u.s.
Posts: 133

|
|
|
Re: problems finding files after F16 64bit installation
Quote:
Originally Posted by Gareth Jones
fstab is a text file, not a command. Just attach it as you would a screen-shot (see below).
Alt+PrintScrn will capture the foreground window, or just PrintScrn for the whole screen.
To attach files to posts, you need to be in the "advanced" editing mode rather than the quick reply box. Under the text entry area in advanced mode is a section for attaching files.
Okay, so that isn't your actual current /home/username. It's still best to add the extra partitions to fstab though. Let's have a look at the current version so we know where we're starting from!
|
Thanks for your help. I did Alt+PrintScrn and PrintScrn but nothing showed up.
__________________
biostar a870u3 / amd athlonII x2 regor250 3.0ghz am3 65w / gskill sniper 2x4gb ddr3 1333
evga 512-P3-1311-KR geforce 210 32bit ddr3 pci express hdcp video card / fedora 16 64 lxde
nvidia onboard / seagate barracuda 7200 250gb 3gbs hard drive / hannsg hw192 / earthwatts psu
|

17th May 2012, 12:00 AM
|
|
Official Gnome 3 Sales Rep. (and Adminstrator)
|
|
Join Date: Jul 2011
Location: Leamington Spa, UK
Age: 30
Posts: 1,707

|
|
|
Re: problems finding files after F16 64bit installation
Quote:
Originally Posted by johnlvs2run
If the /home you are talking about is listed about desktop, trash, applications, files in the side panel, it is there.
And there's another home (media?) listed below that which I think is /dev/sda7.
|
Okay, so you should do two things. First add that to fstab, then correct the permissions for the new UIDs. It's probably worth running fsck too.
So firstly unmount and check the partitions (just in case):
Code:
sudo umount /dev/sda{3,7,8}
sudo fsck -f /dev/sda{3,7,8}
Make some permanent mount-points:
Code:
sudo mkdir /mnt/{f14,old_home,files}
Get their UUIDs:
Code:
blkid /dev/sda{3,7,8}
Keep note of the UUIDs and TYPEs of each partition.
Add the following lines to /etc/fstab (via "sudo gedit /etc/fstab"):
Code:
UUID=sda3_UUID /mnt/f14 sda3_TYPE defaults 1 2
UUID=sda7_UUID /mnt/old_home sda7_TYPE defaults 1 2
UUID=sda8_UUID /mnt/files sda8_TYPE defaults 1 2
Then mount the partitions (this will happen automatically on future boots thanks to fstab, but for now we need to do it manually)
Code:
cd /mnt
for i in f14 old_home files
do
sudo mount "$i"
done
Then finally correct the UIDs on your old home partition:
Code:
sudo chown -R your_user_name: /mnt/old_home/your_old_user_name
It's also possible that there may be some SELinux issues, but someone else will have to tell you what to do if there are as I don't know.
---------- Post added 17th May 2012 at 12:00 AM ---------- Previous post was 16th May 2012 at 11:59 PM ----------
Quote:
Originally Posted by johnlvs2run
Thanks for your help. I did Alt+PrintScrn and PrintScrn but nothing showed up.
|
Okay, don't worry about that for now. Try the other things I suggested and see how far you get!
|

17th May 2012, 12:04 AM
|
|
Registered User
|
|
Join Date: Jul 2008
Location: western u.s.
Posts: 133

|
|
|
Re: problems finding files after F16 64bit installation
Code:
# sudo umount /dev/sda{3,7,8} --- I think running # sudo umount /dev/sda would have been safer.
umount: /dev/sda3: not mounted
umount: /dev/sda7: not mounted
umount: /dev/sda8: not mounted
# sudo fsck -f /dev/sda{3,7,8}
fsck from util-linux 2.20.1
e2fsck 1.41.14 (22-Dec-2010)
e2fsck: need terminal for interactive repairs
e2fsck 1.41.14 (22-Dec-2010)
e2fsck: need terminal for interactive repairs
e2fsck 1.41.14 (22-Dec-2010)
e2fsck: need terminal for interactive repairs
# sudo mkdir /mnt/{f14,old_home,files}
# blkid /dev/sda{3,7,8}
/dev/sda3: LABEL="_Fedora-14-i686-" UUID="0ce99614-563b-437f-a6bf-06e8dcce7ea3" TYPE="ext4"
/dev/sda7: LABEL="os #5" UUID="04652e6b-32ce-4d1b-8a67-240a59340428" TYPE="ext2"
/dev/sda8: LABEL="home" UUID="b76cad3d-b1b4-46ce-8e0f-582972b6f762" TYPE="ext2"
I see that the UUID and TYPE are changed to the actual, thus:
sudo gedit /etc/fstab
UUID=sda3_0ce99614-563b-437f-a6bf-06e8dcce7ea3 /mnt/f14 sda3_ext4 defaults 1 2
UUID=sda7_04652e6b-32ce-4d1b-8a67-240a59340428 /mnt/old_home sda7_ext2 defaults 1 2
UUID=sda8_Ub76cad3d-b1b4-46ce-8e0f-582972b6f762 /mnt/files sda8_ext2 defaults 1 2
Code:
# sudo gedit /etc/fstab
sudo: gedit: command not found
#
Perhaps sudo vi /etc/fstab will work?
Uhoh I should not have done that. The f16 and swap partitions came up, nothing else.
I quit the terminal, hope that worked. Will wait for a response before proceeding.
__________________
biostar a870u3 / amd athlonII x2 regor250 3.0ghz am3 65w / gskill sniper 2x4gb ddr3 1333
evga 512-P3-1311-KR geforce 210 32bit ddr3 pci express hdcp video card / fedora 16 64 lxde
nvidia onboard / seagate barracuda 7200 250gb 3gbs hard drive / hannsg hw192 / earthwatts psu
Last edited by johnlvs2run; 21st May 2012 at 05:56 AM.
|

17th May 2012, 03:27 AM
|
|
Official Gnome 3 Sales Rep. (and Adminstrator)
|
|
Join Date: Jul 2011
Location: Leamington Spa, UK
Age: 30
Posts: 1,707

|
|
|
Re: problems finding files after F16 64bit installation
Quote:
Originally Posted by johnlvs2run
Code:
# sudo umount /dev/sda{3,7,8}
umount: /dev/sda3: not mounted
umount: /dev/sda7: not mounted
umount: /dev/sda8: not mounted
|
That's fine.
Quote:
Code:
# sudo fsck -f /dev/sda{3,7,8}
fsck from util-linux 2.20.1
e2fsck 1.41.14 (22-Dec-2010)
e2fsck: need terminal for interactive repairs
|
Not sure about that. What sort of terminal are you using? (e.g. Linux console, graphical terminal emulator, SSH...) Most likely the file-systems are fine, the fsck is just a precaution, so don't worry about that. Once fstab is set-up, they'll be automatically fscked when needed.
Quote:
I see that the UUID and TYPE are changed to the actual, thus:
Code:
sudo gedit /etc/fstab
UUID=sda3_0ce99614-563b-437f-a6bf-06e8dcce7ea3 /mnt/f14 sda3_ext4 defaults 1 2
UUID=sda7_04652e6b-32ce-4d1b-8a67-240a59340428 /mnt/old_home sda7_ext2 defaults 1 2
UUID=sda8_Ub76cad3d-b1b4-46ce-8e0f-582972b6f762 /mnt/files sda8_ext2 defaults 1 2
|
No, leave out the device names in UUID and TYPE, I just put those in to differentiate the devices if they have different values.
Quote:
Code:
# sudo gedit /etc/fstab
sudo: gedit: command not found
#
|
Okay I just assumed that you were using the default Fedora desktop install, which would include gedit. Just use the text editor of your choice; vi will be fine if you're comfortable using it.
Quote:
|
Uhoh I should not have done that. The f16 and swap partitions came up, nothing else.
|
That's probably due to the device names in the UUID and TYPE fields of fstab confusing mount! Is the / file-system mounted? If so, correct fstab and reboot. (It may be mounted read-only if fstab wasn't parsed; you can make it writeable by running "sudo mount -o remount,rw /".) Otherwise I suppose you'll need a live CD to mount it from. Sorry my instructions were confusing!
Anyway it's stupid o'clock here in the UK so I'm calling it a night.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 07:34 (Tuesday, 21-05-2013)
|
|
 |
 |
 |
 |
|
|