I got a mistake during my installation on my server. I put the "/tmp" folder to the 2nd disk without thinking. My 2nd disk has only this folder and partition. How can I move the "/tmp" folder to my first disk in a different partition safely? It would be great if I won't destroy the server.
I would like to do the following:
1. move "/tmp" to disk 1 (sda). I will resize the "/home" partition(reduce) and put the "/tmp" there.
10.10 on a ext4 partition. I deleted a folder that sat on a NTFS partition that I use as data storage. I note that if I delete folders or files on this NTFS partition there is not the option to move to waste basket - it is just deleted. If the folder still exists on the hard drive (has not been over written) I may be able to retrieve it - but where could it be? On the NTFS partition?
I edited fstab so that my Windows disk partition will be automatically mounted when I log on. However, when I delete a file from said partition, I am told that the item(s) cannot be moved to trash - I can only permanently delete files from the Windows partition. Here is how I configured in fstab: Code: /dev/sda1 /media/Vista ntfs nls=iso8859-1,umask=000 0 0 I suspect I mis-configured the options. Can anyone see an issue?
I had an older PC on which I had two SATA drives and an IDE one and on the latter I had Windows 7 installed (I kept it on that drive since I'm not using Windows 7 that often, I'm primarily using Debian as my daily go-to OS), but since then I got a new PC which has no connectivity for IDE, so I had to decommision the drive, and before I did that, I backed up the Windows 7 partition (and the second partition which I used mostly for storing sofware and stuff that I wouldn't want to get wiped after a fresh Windows install) using dd.
Not reading up on this on the internet, doing so with the intention to restore the partition image on the same spot on the disk, but since the SSD is larger than the IDE drive, I made the partitions on it bigger, so there's no chance the Windows 7 partition to be on the same spot on the disk. I tried booting into Windows 7 from GRUB after it successfully detected the Win7 install on the second partition on the SSD, but it just leaves me with a blank screen with a blinking white cursor, so I'm guessing it's not going to fly again. So my question to you: is it possible to ressurect the Windows 7 installation, avoiding having to reinstall Windows? (which would severly complicate things, having to backup and wipe the Debian install I have on the first partition...)
So far I've tried this to fix the Windows 7 install by pointing at the right disk "coordinates": [URL] ...., but I can't seem to get it to work, all I get is some error in regards to not being able to detect the disk's geometry (I think it was the number heads I couldn't figure out to input in the command line), so I couldn't fix it.
I have just tried XFCE4. Everything is cool except that when i select, let's say, 5 files on Desktop i can't move them simultaneously. I can move just one file. Is this normal behavior of XFCE?
Around 2008 i seem to remember PartEd on the command-line was able to rescue deleted partitions and gave a choice of whether to recover the partition as a Primary or Logical Partition. I have tried testdisk but didn't really grok what i was doing. I successfully moved a "Windows Recovery" partition to the end of my hard-drive, immediately after the drive's Extended Partition.
I don't know if this is possible however would like to know how to move grub from one partition to another.I may not have explainded that very well. I have a computer that i use to checkout different linux distros, however since the introduction of grub2 things have become difficult. I have a number of primary partitions on the one hdd If I install a o/s that uses grub on a partition and another partition has a o/s that uses grub2 then on startup the o/s with grub2 no longer appears on the grub start up screen so I cannot boot into the grub2 o/s. The reverse is ok i.e. if I install a grub2 o/s after a grub o/s all appear on the grub start up screen.
This leaves me in the situation where I have to always reinstall a grub2 o/s after i install a grub o/s. Hope that makes sense! This is why it would be easier (I hope) to be able to move grub from one o/s to another. I must admit I don't really understand it all that well and I know that mbr plays a role in it, however I think it's correct that the mbr can remain on an o/s yet grub is on another?
1. Every Sunday2. Find all files older than 1 day3. Gzip these file4. Tar up the gzipped files into one tar file.5. Name the tarball with a date stamp indicating what day it was created, so we know that week's files are in the file
I have one partition with XFS, after load the X I went to nautilus and I tried to copy any file into that partition, but I only can read not write or execute. my questions are:1. what parameters should change in fstab to change this? the current parameters are "defaults 0 0"
Being relatively new both to Linux and this forum, i am sorry if i make a post that already is, evn though i couldn`t find it.My problem is i can`t move downloaded files over to root filesystem, i have downloaded and unpacked them to files. to change it`s looks and downloaded a skin, i open root, go to usr---> amsn ---> share --> skins, now i am to copy the file of the skin over to the root directory, butI also tried alt+f2, writing sudo conqueror, as an advice i got, but there was noe difference.
what I got - from a crontab run a script (understand that part), this script needs to count the amount of files in /outgoing/, then take 30 less that number, and move that many files from /readycalls/. I need to keep the asterisk outgoing que full of .call files with out having to many in there at any given time.
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 have installed Debian as a second OS alongside Win XP, and now I have Win XP on C drive (if viewed from XP), NTFS, my data files (mainly texts and graphics) on D drive (NTSF), and Debian on ext3. Debian sees and opens files on D.
1. If I read-write from-on this D partition from both OSes, is there a chance the data will be corrupted? 2. If I open a Windows-created TXT, GIF, JPG, HTML or other not-proprietary format file from Debian, edit it and save (just SAVE, not SAVE AS) - will this file remain readable from Windows?
I have installed Ubuntu 9.10 Server on a flash based USB memory stick, so I wanted to move /var and /tmp to a partition on a hard drive (one partition with both /var and /tmp and symlinks from / to those). I read this guide here [URL].. but it failed after restarting the server. I then found out that ubuntu must have /var/run on the root file system [URL].. so that was why it did not work.
My workaround for this was to create /var and /var/run on the root file system, mount my partition to /var and then symlink /tmp to /var/temp. It now works as I wanted, both /var and /tmp on the same partition. But is there a better way to solve this? Can there be any problems with /tmp->/var/temp?
The following is a screenshot of GParted run on my system. There is a small unallocated space at the beginning of the list. This 1 MiB space is kind of annoying and I'd like to merge with any other partition except /dev/sda1, /dev/sda6 and /dev/sda4. When I right click on the unallocated partition, the only available operation is "New". And, if I click on "New", I get the following error message.
It is not possible to create more than 4 primary partitions
how to go about merging the small unallocated space with other partitions?
When installing Ubuntu (10.04) I chose the /home to be installed in a separate partition.I would now like to move the /srv directory into the same partition. The problem I found is that Ubuntu did not make a /home directory inside the partition itself. It just places the account directories in the partition and mounts it to /home. So I cannot just easily move the /srv folder into the partition.
How can I:
Move those account directories into a home folder inside the partition Make that new home folder the default /home folder. ditto with the /srv folder, or any I choose in the future.
I'm trying to move the /var/www dir to another partition (another hard drive even, though I doubt that makes a difference) because my file system partition is rather small. But when I do I get "403 -forbidden" and in the logs "Permission denied: /home/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable". If I move it anywhere within the partition (and adjust the conf) I don't get this problem. Using Ubuntu 10.04 Desktop x64. I haven't had any problems with this in earlier Ubuntu-versions.
So I've been trying to solve another problem (disk errors that MIGHT have something to do with ext4). I was wondering if there would be a possible way to backup my 10.04 install and move it to an existing, unused ext3 partition. I'm kinda stuck at the moment with my disk error problem, and figured I could waste some time to see if I could MOVE my install (as to not have to do a fresh install, re-install every application and script, and re-customizeand and move all of my media and files) onto an ext3 and completely remove the ext4.
I recently bought a SSD and decided to give the majority of the space to windows for production purposes I gave 3.5GB for ubuntu but that filled up rather fast so i decided to move the folder taking up the most space to another partition which is /usr.
I tried moving the /usr to another partition and using a symbolic link but that didn't work so i'm trying (and would prefere this method anyway) to use fstab to do it
Code: # /etc/fstab: static file system information. # # Use 'blkid -o value -s UUID' 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).
I have Ubuntu installed on my 1st HD partition and working pretty much the way I like. I need to convert this to a dual-boot system with Windows. Windows really wants to be on the first partition on the first drive, so I think I need to move Ubuntu to the 3rd partition, behind the swap partition.I could do a complete reinstall but that would take forever. Is it reasonable to just copy the present /dev/sd0a partition to /dev/sd0c, install Windows, then run the Ubuntu CD to reinstall GRUB?
I guess I could just use dd for this but it's been so long that I've forgotten the correct method for moving a whole filesystem.
The fact that there are mounted partitions can be ignored as any work to be done will be done from a LiveCD.The question is Can the extended partition - SDA4 which contains SDA5 (Maverick Meercat) and SDA6 (swap) - be moved to occupy space at the end of the drive somewhere within the unallocated partition so I can then extend SDA3 to take all of the remaining space?
At the moment using Gparted all I can do with the free space is create another partition.SDA1 through to SDA6 is a copy of the original hard-drive.The copying was done using Paragon Partition Manager (a Windows program). This caused all sorts of problems Grub, and was a PITA to sort out. The program installed its own version of the MBR which had to be sorted with a Windows 7 install disk and then I had to sort the Grub problems after.
Anyways, I recently got into the whole HTPC scene, and picked up an Acer Revo for my self, with a media center OS (XBMC) that was apparently modded from Ubuntu. Keep in mind that I can only use the terminal for any of this, as the GUI is just for video settings, etc.
So, XBMC just totally crashed on me, and the GUI stopped working. The files were still there, I just couldn't watch them. After many hours of tinkering, I decided to just reinstall XBMC, but make two partitions, and then move my movies and stuff to the new, working partition, and afterwards, delete the old, non working one.
I just don't know how to move from one partition to another.
So, can someone explain, in absolute layman terms, how to move my "Movies" folder from my first partition, to the New one?
I created a partition in my hard disk for my data (documents, multimedia, etc.).How can I:Move the /home/ directory to the new partitionMake the OS (Ubuntu Linux) treat that directory as the default /home/.
I'm trying to move the /var/www dir to another partition (another hard drive even, though I doubt that makes a difference) because my file system partition is rather small. But when I do I get "403 -forbidden" and in the logs "Permission denied: /home/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable". If I move it anywhere within the partition (and adjust the conf) I don't get this problem.
Using Ubuntu 10.04 Desktop x64. I haven't had any problems with this in earlier Ubuntu-versions.
I used Clonezilla to image a Ubuntu partition of 18GB and restored it to a partition of 30GB. (showing as "sdb1") I understand now that I should have put it onto a partition the same size as the original and then resized that partition with Gparted, but I put it directly onto a larger partition and thought all was well, but now I'm running into disk space warning messages. It still works fine but the OS still seems to think it is still on an 18GB partition and that it is running out of space. The partition "sdb1", is on a large drive I partitioned with Gparted. The various utils I have to look at partitions do not agree:
*Disk Utility reports sdb1 size as 33GB *KDE Partition Manager reports sdb1 size as 30.28GB with 15.59GB used (therefore 14.69GB free) *KDiskFree reports sdb1 size as 18.3GB with 1.8GB free *Gparted reports sdb1 size as 30.28GB with 27.54GB used *Gparted (used after booting from a Mint installation) give same result *PROPERTIES (using live knoppix DVD) shows size of files as 16.0GB (16.5GB on disk)
After booting with Knoppix DVD and trying to copy everything onto another drive (to see how many GB there are) gives "invalid or incomplete multibyte or wide character" error message. how to sort this out, without resizing the partition as I've got a lot of data on the HD now.
I just moved mu Ubuntu install partition and am now having a bit of trouble booting from GRUB.
After selecting Ubuntu, I get a black commad-line kind of thing (I can type, but can't actually run commands) and then after a few seconds it carries on to the Ubuntu desktop...
It's not the hugest problem in the world but I'd like to fix it if I can... I've reinstalled grub and run update-grub but that didn't change it.
I assume it's something to do with GRUB, not recognising where the beginning of the partition is any more, is there some way that I can manually force it to use the new position? Or would the reinstall/update-grub have done that already?