OpenSUSE :: 11.4 Using Home Partition Of Ubuntu 11.04 (files Aren't Deleted)
May 12, 2011
i wanted to migrate from ubuntu (still sux since 2008) i removed the main partition (/) and mounted the old home partition as a home partition for the new installation (kinda dumb, but still my files aren't deleted)
anyway, the gnome desktop sux, it looks like the regular gnome desktop and not the one i used to use in gnome, how to change that
I have a separate ext4 partition which contains all my data (music, movies, etc). When I delete files from this partition it is very slow because it copies files from my data partition to the Trash folder in my home partition. How can I avoid this? Can't the trash be configured so that it uses a trash folder in each partition instead of copying files to another partition (which is slow).
How do I ensure that my home partition does not get deleted the next time I reinstall Ubuntu, as I can see there is a choice between formatting the whole drive and manually partition it, but if I reinstall won't I delete the home partition as well?
Trying to clean install 11.2 dual boot with Win xp already installed. How do I create a new home partition, don't want to preserve the existing home partition from a previous attempt. DVD installation and automatic config keeps saving the thing.
i want to know how can i recover deleted files in ext3 partition manually(not using any tools)?? probably using the 'grep' command. if someone know pls tell me...
(i have recoverd deleted files in an ext2 partition with debugfs and dump . but dumping doesnt work for ext3)
I am using CentOS 5.5.I suppose this is an oft repeated question. I accidentally deleted, using rm command, 2 wmv files. The files were in a single ext3 1Tb drive, with just 1 partition --- the ext3 one. Each file is 600 - 800mb. The 1Tb drive has only about 20Gb data.Immediately after deleting the files i unmounted the drive (/dev/sdc1). Thereafter i searched the the net and came to know of the recovery tools foremost and photorec. I have installed both of them. I am currently running both of them as root --- foremost is just showing a lot of * signs on the terminal and photorec has managed to find some txt and png files --- but no wmv.For foremost i used: /usr/sbin/foremost -t wmv -i /dev/sdc1For photorec i followed some instructions available on the web.
In the meantime, based on some post on the net i ran debugfs as root, then cd into the directory where the files were deleted. Then on typing ls -d i managed to get the inodes of the 2 deleted files and the names of the deleted files are also correct. The instructions on the net http://www.theavidcoder.com/?p=3 tell me to run fsstat and dls both of which i am unable to find in /bin, /usr/bin, /usr/sbin and /sbin. So i am unable to proceed further.
Installed Ubuntu along with Debian on my Notebook and use Grub Manager to choose between them on startup. Since i like Debian now a lot (in past days it was a very hard system to handle, but there has been some progress i noticed), i have to change some things (want Debian as main system now) For Ubuntu i have: (was meant to be main system on Notebook) "/", "/home" and a "swap" partition, but since i am now going to use mainly Debian, i wanted to store my files all in the "/home"-folder of my extended Ubuntu partition (has much more space available) not in the "/home" folder of the Debian system. So i want both (Debian and Ubuntu) to use the same extended partition ("/home") which i created for Ubuntu to save their files like downloads, videos, and so on.
I've always been a fan of Fedora since the first distro. I remember downloading 4 cds and then relizing that I only needed one. ;D Anyways, I've been using Ubuntu for years. I've gotten tired of the Ubuntu fan boys and just the responses I get from saying that Ubuntu was my distro. I've moved to Fedora to simply learn and understand the yum system which I already enjoy using in the terminal.
All of that set aside, I've kept my Ubuntu /home partition (ext4) in tact as I always do moving from distro to distro and have never had a problem. The thing is, all the distros I've tried have deb based. Now, my /home partition is roughly 56gbs. Nautilus shows free space as 8gbs currently on my parition so I know the files are still there but why won't Fedora read them? It must be a permission thing, but what? If I must loose my /home it's fine, however I'd much prefer not to.
I've been playing around with stuff lately, and I was thinking that I could theoretically move my personal files to another partition, have it mount under /home/User... then change the system partition to 6 or 7GB and go about my merry way...That way, if I need to reinstall the os, or when the next release comes out, or even install another primary system, I could just wipe the system partition and keep all my data on the HD...just make an fstab entry like:
Code:
/dev/sda3 /home/User btrfs default 0 2
or something, and them BOOM! it's done. I am the master of my domain.
I am trying to copy my hidden files in /home/myusername to another partition. I have also edited /etc/fstab to reflect the change. After reboot, when kdm appears and I try to log into kde, the latter complains that it has no write permissions to write to /home!
The commands I used, are:
To create a directory myusername in the new partition:
To copy the contents of my previous /home/myusername with the new partition mounted on /mnt:
Does anyone know what may be wrong. I am having the impression that it may be because I was root when I used cp and it messed some file permissions, but should it?
I dual boot into Arch Linux and OS X 10.6 on my MacBook pro. I synced my UID between both OSes and created an HFS partition (with no journaling) to use as a shared home/Users partition. For the most part it works just as I'd expect, but sometimes when I'm booted into OS X certain files are "locked" (when I get info on a particular file the "Locked" box is checked under the "General" pane. I can resolve the issue by manually unchecking the box) and/or I get "Operation not permitted" when I try deleting or chmod'ing a file. In both cases I don't see anything out of the ordinary on the permission bits displayed with ls -l, except for a trailing '@' character in the position where the sticky bit would normally occur:
This '@' character shows up on ALL normal files, so doesn't seem to be linked to the locked/operation not permission situation.
On the Linux side of things I never have permission problems. To the best of my limited knowledge and experience with ACLs I've not found any ACLs on any of the files in question.
For what it's worth, I do most of my file editing using emacs (Aquamacs in OSX), is it possible it is setting weird permission bits?
What is the "locked" setting that OS X uses and does it have a permission bit equivalent (so at the very least I could recursively unlock all files in my home directory from the terminal) why might some, but not other files get "locked" when booting into OS X what is the meaning of the '@' character?
While trying to install a new copy of my distro today, I paid attention for the first time to the installer asking what the /home partition will be (presumably meaning I can put my /home partition of a partition separate from the operating system). Can I safely install /home on the partition where I keep all my non-Linux-related data? Will that be deleted or otherwise disturbed? (Space is not a problem.)
I searched the forum with various terms and didn't find anything, so my apologies if this is a common and/or newbie problem.It seems that when I have a USB driveplugged in to switch the files around, those that I delete are still taking up space. I first noticed it with a Chinese MP3 player and thought it was the player being crappy. I could still play all the songs that were supposedly gone. Today, I noticed it with a little thumb drive that I've had for years. I plugged it into my husband's computer running winXP, and the files showed up in a weird, unusable form. I was able to delete them for real.
A friend of mine had inportant files on his windows 7 PC. the pc took a virus, he took it with some "experts" wich happily DELTED the partition and reinstalled W7, and apps, WITHOUT backing up his files.
Ibe faced similar cases before, and on windows ibe used Recuva with mixed resutls, but. Is there an application in linux i can install on my opensuse 11.4 box to do the same task? Can you guys recommend good linux software (available for suse) that will do this? I read about "TestDisk", but ibe never used it.
I still have my bios problem that about very 3 boot I have to re-flush the Bios (have dual bios). Whilst this is a workaround ...it is @#$%. The question is: Does the OS write any thing into the bios? And does the bios interrogates the running system and makes assumptions for the next reboot.? Some files on the USB stick can't be deleted. Even with root permission. I reformatted the usb stick.
I've been organizing my pictures (i.e. deleting the bad ones). However, I've recently got hold of those same pictures on a higher resolution and I'd like to delete the same pictures of the higher resolutions.This means that I'll have two folders, High Res and Low Res. I'd go through all files in the High Res folder and I'll check if there's a file with the same name in the Low Res folder. If there is, the file in the High Res folder will be kept. Otherwise, I'll delete it.So I wanted some quick way to delete PIC1.JPG, PIC3.JPG and PIC4.JPG from the High Res folder.
I have an external HDD which i keep all my movies and tv shows and whatnot on. I rebooted my laptop routinely and when the HDD reconnected it still has the same amount of disc space used up but in my movie folder only 221/1186 movies are showing up in nautilus. I opened KDirStat to check and all the movies are still on the HDD nothing has been erased. I have restarted the laptop, restarted the HDD, disconnected/reconnected the HDD, swapped USB ports. I don't think it matters but I have written a .sh script that generates a list of all the folders contents and outputs it to a .txt file. Even though the HDD is only showing 221 files the txt output has all 1186. why 800 files would just not show up in nautilus explorer?
Currently running: Ubuntu 9.10 Nautilus 1:2.28.10ubuntu3
EDIT: I can still access and play every file that is not showing up by opening them through a media player such as VLC. Also when i Alt+F2 and type the directory and file name they still fill themselves in as normal also.
just a general weirdness, but some folders that are in my /home folder don't show up. if i check "show hidden folders", they still don't show up. for all terms and purposes, they are simply not there. however, if i search for them through the search tool, or beagle, they show up as being in my /home folder. so, anyone have any idea how this happened, or how i can remedy this?
When the installer gets to the point to set up the partitions it offers something like
sda1 / sda2 /swap sda3 /home
I'm not sure which option to take now. I assume I choose the option to edit the partitions but I'm not clear how to preserve the /home as it's now got a different partition number or does that no matter as long as I choose not to format it? Also, to replicate the original partition structure I'd need to delete the partitions and add them in the correct order but would that destroy the /home?I'm a bit confused with how it will work.
I get a SD card. Put in the SD reader. It's empty. I go to my super-important-pictures-to-a-monthly-relatory folder and select all files. Select them for MOVE. Paste them on the SD card. When the move/paste process is finished, i click on the "Eject" button on top of the SD card name. Card's ejected. I can't access the card anymore. I take out the card and put on my other computer. From 300 pictures, there are only 10 available, the remaining ones are there, but with 0bytes and unrecoveable. I panic. I go back to my main computer, my pictures are not there anymore. The pictures were on the Home folder. I panic again. I reset the computer and boot on the LiveCD. I install foremost, scalpel, photorec and about everything till my USB drive complains about being filled up. I run everything and I can't recover my files. I'm in the danger of getting fired. Things like that makes Windows sounds more appealing. When you securely remove a pendrive, things get REALLY pasted there before screwing everything up with a removal.
installed Adobe Reader as the root user. In KDE I can click the Adobe icon and it brings up he Adobe program. I can then do a search via the Adobe options for PDF files and display the PDF's. I can do this from just about any user.
However, what doesn't work is being able to try to open a PDF file and have the Adobe PDF reader display the file.
Is there any way I can associate Adobe or PDF files with Adobe so PDF file are opened with the Adobe reader.
I have two partitions where I can install (e.g. versions of openSUSE). I have a Swap and a /home partition to be shared by both. Thus e.g., while still running 10.3, I could install and test 11.2. Once I switched over to 11.2, I still can use 10.3 when need arises (not done for monthes now). I have the 10.3 partition mounted, thus I can stilll see what was in /etc/.... on the 10.3 system from the 11.2 system if need arises.
I gave the file systemss on those two partitiions different labels to better keep them apart. It is in the first place up to you to design how you want to partition your disk(s) to facilitate such a feature. Has someone done a thing like this (especially sharing /home partition) with openSUSE and Ubuntu? Is there a How-To anywhere? Until now I have the /home folder of Ubuntu not on a separate partition but under the system/root partition "/" of Ubuntu.
I was looking to do a fresh install of 11.2 and use my home partition from 11.1. During the Gnome Live version I wanted to see how suse would configure my computer. It recognized everything fine, except it didn't show my current home partition which is ext 3. Because Opensuse 11.2 has switched to ext 4 as default for root and home? I was hoping to use my old home with 11.2. Is there any way to make the switch without losing my settings? During the live install the partitioner didn't use my current home partition, it was going to make a new one.
So I opened up the partitioner in yast to see why it didn't use my current home and it shows no mount point for my home ext 3. Would changing the mount point on my ext 3 partition to home make the 11.2 installer recognize this as my home to use? Or will I have to copy my current home. Paste it elsewhere. Delete old home. Use unallocated space as ext 4. Paste old home on new ext4 to have the 11.2 installer recognize this as my home. So, current home is ext 3. 11.2 installer wants to make a new home on ext4. How do I use my current home settings? I haven't installed yet just tried a live run.
I was recently forced to do a reinstall of OpenSUSE. As part of that I backed up the folders I needed to keep. The installation however didn't format the 'Home' partition though. At first I thought it was nice, but I've run into trouble with a program I most definately need to get working. So my plan is to re-install yet again.
how to make the install format the root partition I think it is, and the 'home' partition, so I can start fresh.
To further complicate things My laptop (which this is happening on) is dual booting between OpenSUSE and Windows 7. It is VERY important that the windows partitions remain.
Two month ago I accidentally deleted my home folder (yes, very stupid idea but it wasn't on purpose).
I managed to recover the home folder from /home/.Trash-0/tobias by copying it back to where it belongs and changing the file ownership from "root" to my user (tobias).
After this recovery I tried to delete /home/.Trash-0/tobias but it wouldn't work. Whenever I tried, a new folder appeared in /home/.Trash-0/ (root home) named tobias.2, tobias.2.2 and so on. (see first screenshot). This means I had two copies of my home folder on my hard disk (2 x 156.1 GB at that time).
At that time I didn't care since I had enough disk space left (33.8 GB, see second screenshot) and thought Ubuntu would take care of this some time by removing the files in /home/.Trash-0/.
Fast forward to today, I get warnings of low disk space. My home folder today is around 160 GB but together with the deleted one in /.Trash-0/ I only have 1.3 GB disk space left in my home folder.
Any ideas how to delete the unused second home folder copy? Or is there some other way to free the disk space occupied by .Trash-0/ ?
This is strange. I moved OS 11.1 from an old 150 GB PATA drive over to a 500 GB SATA using Parted Magic. The old and new partitions were
Code: OLD: /dev/sda1 - 19.99 GB, mounted as / (root partition) /dev/sda2 - 97.82 GB, mounted as /home /dev/sdb1 - 29.52 GB, Windows XP NEW: /dev/sda1 - 29.30 GB, mounted as / /dev/sda2 -292.97 GB, mounted as /home /dev/sda3 - 45.82 GB, Windows XP
I used the "Clonezilla" tool on the Parted Magic live CD to move and resize the partitions. To my delight, everything appeared to transfer just fine. I can boot into OpenSUSE 11.1 (though not into Windows, but that's not really important; I'll figure that out later), but my /home partition won't mount. I'm set to autologin, and I get the expected error: "can't access /home/stephen" (or something like that). Here's the weird thing. I can ALT-F3, get a terminal and manually "mount /dev/sda2 /home", go back to ATL-F7 and log right in, so I know the disk is fine. (I've already 'fsck'd everything, by the way, and they're clean.)
I've used Yast's partitioner about a dozen times, trying "device by ID" and other settings. I always get the same thing when I reboot. On this last reboot, when it refused to log into /home, I ALT-F3'd, logged in as root, did a "cat" on "/etc/fstab" and entered the device-by-id line exactly as I saw it there and it mounted the /home directory just fine! ALT-F7, logged into KDE. I'm typing this in KDE now. Works fine. I so rarely need to reboot this machine that I can manually mount the /home partition, if need be, but (obviously) I'd like it to be mounted automatically during the boot.
I don't see anything obviously wrong here. The fact that I can take that second line and do a manual "mount" shows me that the device ID is at least correct. Just to be clear, here's what I entered in virtual terminal 3 as root to get my home partition to mount: Code: mount /dev/disk/by-id/ata-Hitachi_HDP725050GLA360_GEA534RV0DJ4LA-part2 /home and it worked fine. Exact same line.
I'm trying a fresh install of 11.2 but I couldn't figure out how to make the whole installation on the same logical extended partition.
It always wants to create a separate /home partition.
I have a second HDD with NTFS only for backup purposes, but the installer puts a grub entry for it too (windows 2). And this HDD is not even bootable. I don't have the balls to try to boot from it and see what happens. How to get rid of it?
Im using suse 11.1 with /home on a separate partition. To move my /home to a larger partition it looked easy to use Yast partitioner. I copied all /home/ files first to the new partition and backed-up fstab.
with Yast I unmounted /dev/sdb6 = /home and mounted it to /local then unmounted /dev/sda4 = mynewhomepartition and mounted it to /home
checking the new fstab it looked fine but after a restart it did not work and I got an error. resetting the original fstab resetted the system as it used to be. My question is: why does it not work, are there (hidden) files with the old or other settings?.
I'm upgrading to 11.3 (from 11.2) and will be keeping my current home partition. Will this keep my browser favorites? Also, I read somewhere that in order for things to work properly after upgrading (without reformatting my /home partition) that I would have to keep the same username AND user UID...? Is that true? How do I make sure I have the same UID if so...?
I purposely set up a seperate home partition so that when I changed distro's or upgraded I would still have my files, and some settings intact. (I switched distros a lot when I first started using Linux.) I set up a "bin" folder (in home folder) that had a couple of programs I had downloaded to keep from having to set up and configure everything all over again every time I felt like changing distro's as well.
I mistakenly removed my /home of openSUSE while trying to install another distro. My root pertition is OK. openSUSE is shown in grub. but i cannot boot into it as there is no /home is there any way to fix this without removing my openSUSE?