General :: Moving Users To Another Partition ?

Apr 26, 2010

I have 2 harddisks, and a very new SuSE 10 installation.

Suppose I have a user called test in the users group. At present its home directory is /home/test. This is on one of the harddisks, sda.

Now I have a partition on the other harddisk /other. I would like all my users to be on sdb, so that their home directories are /other/users/test for instance for the test user.

I have played around with YaST to create another user "toets" in /other/gebruikers, but I would like to have it as /other/users/toets.

I want all the user accounts on /other.

View 7 Replies


ADVERTISEMENT

General :: Moving A Partition With Dd To Another Drive

Dec 7, 2010

Lets say I have /dev/VolGroup00/LogVol00 which is a 5.8 GB ext3 partition that resides on a 10GB drive. This is just a logical volume partition, one of a few... this being the one that isn't swap, the main data.

I have a 20GB drive... I want to move the LogVol00 to it, and it is /dev/sdb. I partition /dev/sdb1 to be 8192 MiB in size in gParted.

I move as such:

dd if=/dev/VolGroup00/LogVol00 of=/dev/sdb1

The operation finishes with no problems.

Fsck reports clean... so... I run:

fsck -l /dev/sdb1

A few small errors pop up and they get fixed.

My free space remaining, as expected, is 5.8 GB.

I go into gParted and resize the partition to 15GB in size, still working on the 20GB drive.

It does so, the operation completes.

I have what I want: the partition was taken out of LVM, data was retained, I have no issues resizing it. Additionally I tried writing random junk to this new filesystem to test to see if it's broken, and also deleted 3gb of files already on it with no problems.

I just want someone to look this over and tell me if they see any problems with what I've done. I've tested this twice so far with success each time. Is there a better or easier way to do this? I do not want to keep LVM for various reasons. By the way, you might be wondering why I made the partition 8GB for an almost 6GB system. Because the first time I did it, I put down a number that was too exact and it didn't work. Overestimating to 2GB fixed the issue - I'm guessing this is probably due to block size.

View 5 Replies View Related

General :: Fix Grub After Moving Root Partition?

May 15, 2010

Because I am using one of the new WD disks I am trying to aling my root partition with the real sectors, as described here:[URL]31So I copied all files to a temp location, deleted my partition (/dev/sda3), recreated it a few cylinders later (same name) and copied the files to the newly created partition. But now when I try to boot, I get my old grub menu but after selecting my kernel version it hangs

View 15 Replies View Related

General :: Moving A LVM/LUKS Encrypted Partition To The End Of A Harddrive?

May 16, 2011

I need to move a LUKS encrypted partition to the end of a harddrive to expand another partition. Does anyone know how to do this?

Is it possible to do this with other partition editing programs?

Gparted doesnt support LUKS/LVM

View 1 Replies View Related

Ubuntu :: Moving One Users Home Folder To Other Disk?

May 29, 2011

How would you go about moving one users home folder to a different partition, while maintaining other users home folder on the current one. Will simply running "usermod -dm /path/to/new/home username" on one of the users do the trick.

I want to run one of the users of an SSD, while the other runs of a bigger SATA disk.

View 9 Replies View Related

Server :: Stop Users Moving Up Folder Structure?

May 12, 2011

I have a Ubuntu 10.10 server; I have created several users and wish them to have their own web space (with a unique domain name for each). I have therefore created www folders within their home folder and created new Virtual Servers to host each domain name and point to the users www folder in their home folder. They can then use an FTP client to upload files. This all works well.

However, I would like to stop a user from going back up a level and traversing the tree.They can currently go back up to /home and see other users names.

View 6 Replies View Related

General :: Allowing Read Write To Ext3 Partition To Non-root Users

Mar 18, 2010

I need to allow non-root users to read/write on an ext3 partition.

Below is the relevant output from fdisk -l

Code:

The partition in question is /dev/sda4 and it is mounted as /Data (setup during installation).

View 2 Replies View Related

Fedora :: Moving /usr To A New Partition

Jul 31, 2011

I'm running Fedora 14 as a KVM guest on a CentOS host. I decided to give preupgrade-cli a shot to get Fedora 15.

After reboot, I got a not enough free space error, so I decided to add another virtual drive and move /usr to it.

The partition on the new drive is ext4 formatted (just like my / partition)

Code:

Then I mounted the new partition on /newusr, and copied the files using cp and rsync

Code:

Code:

I also tried rsync without the HAX options, same results.

I then changed my /etc/fstab to reflect the new /usr

Code:

Then I reboot and watch the booting process, it fails first at loading NetworkManager, then elsewhere, and system stops. Of course I could revert back using a live CD and try all the other options, but nothing works for me.

There is an error in /var/log/boot.log, but I don't think it is related, as it shows when booting normally as well.

Code:

View 4 Replies View Related

Debian :: Boot - After Moving /usr To Own Partition ?

May 18, 2011

I'm running Debian Wheezy on a Dell XPS M1530 laptop, 64-bit.

I'm having a boot problem after moving my /usr directory out of the root partition and into its own partition.

I followed the "easy way" here: [url]

Basically, I moved the contents of /usr to a new partition -- renamed /usr in root to /oldusr -- and edited fstab and tried to reboot... but the boot process wasn't able to find the new /usr.

After using /dev/sda7 in fstab (to no success) I ran blkid to find the UUID and used that (again, to no success).

My fstab is below:

For what it's worth, grub is also looking different -- none of the debian backgrounds that were there previously remain. While it lists the same kernels to boot into the boot (as described above) fails.

View 14 Replies View Related

OpenSUSE Install :: Moving Partition To A New HDD ?

Jan 1, 2010

I installed openSUSE 11.2 on an external HDD to test. I think it's brilliant, and want to move it to an internal HDD. What is the best way to do this? I don't want to lose all the programs / tweaks I've made to SUSE so far.

Coming from the Windows' world, it's as easy as taking an image of a partition and restoring it over a new HDD partition.

View 5 Replies View Related

Ubuntu :: Moving /home To Another Partition?

Apr 23, 2010

I know there is a lot of tutorials about this but I`m kind a new in Ubuntu and Linux. I know that it is good to set different partition for /home. But when I installed my ubuntu 9.10 I made 4 partitions

swap
/boot
/ - 40GB
/usr - 200GB

[Code]...

View 2 Replies View Related

Ubuntu :: Moving To Dedicated Partition?

Jun 17, 2010

right now i m using ubuntu 10.04 installed on virtual hard disk (wubi), but now i want to move it to dedicated hard drive partition. i found is to use LVPM however that software is NOT compatible with ubuntu 10.04. . .

View 3 Replies View Related

Ubuntu Installation :: Moving From One Partition To Another

Dec 9, 2010

I work with ubuntu 10.10 64 bit on a hp pavilion 2713ca laptop. Everything is fine presently, except for the fact that I will be soon out of space on the actual sda6 partition (only 2 gig left).

I would like to move the ubuntu partition with all its content to a second one where there is a lot of space, that is sda2. So my question would be twofold.

1) What software can I use to do that (gparted, clonezilla, ... ) and is someone is familiar with the procedure?

2) Will there be an easy way to change the grub.cfg file? (for example, will the command grub update be enough to boot to new setup)

View 1 Replies View Related

Ubuntu :: Stuck On Moving To New Partition

Apr 4, 2011

I have a laptop with a large harddrive. Originally I had the sda1 which was a dell recovery partition, sda2 which is my Win7 partition. I created a new primary partition to try out ubuntu. Falling in love with the OS, I wished to grow the partition but I already had 4 primary partitions.

I deleted my swap partition and converted that to an extended partition, I then grew it to a 100gb extended partition. I created 2 new primary partitions, one for swap and one for the OS..

So my drives are as follows:

This is what I have done thus far:
1. Booted to live CD
2. Mounted /dev/sda4 and /dev/sda6
3. cp -afvR /oldOSPartition /newOSPartition
4. In the NEW OS partition, I updated /etc/fstab to reflect the UUID's of the new disks.
5. I updated /etc/mtools.conf and /etc/mtab as well.
6. I rebooted to old OS partition and ran update-grub && update-grub2
7. I can see the new entries in the grub boot menu
8. I select the kernel entry for /dev/sda6 (NEW OS), it boots, but when I hit the desktop, I open an terminal and do a "mount" and I am somehow still mounted/booted to sda4 (old OS).

From here, I re-mounted /dev/sda6 to a temporary mount point and did a "cd /; grep -r 'sda4' * > /matches.txt"
I also searched for the UUID and I found no matches so I don't know why it reverted to sda4.

Even if I boot to the recovery console entry for /dev/sda6 in the grub menu, same thing, it keeps mounting sda4.

View 9 Replies View Related

Ubuntu :: Moving /tmp And /var To Another Partition (after Install)

Jun 12, 2011

i am going to be upgrading to a ssd and would like to move /var and /tmp to a separate partition (it can be separate but preferably the same) how would i extract /var and /tmp to a different partition (need fstab lines and permission settings) when i get another stick of ram i will make /tmp into a ram disk here is my partition layout

View 3 Replies View Related

CentOS 5 :: Moving Files To Second Partition?

Dec 8, 2009

Here is a dumb question (For some reason I can never remember Linux commands but can always remember DOS commands). I don't know what it is, but I think it's the "everything is a file or a directory" nature of Linux that I can't remember it.

Anyhow, I have an instance running on Amazon EC2. I have noticed recently that FreePBX (an Asterisk GUI) is warning me of shortage of disk space. So here is the output:

[root@ip-10-251-123-3 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 9.9G 8.8G 621M 94% /
/dev/sda2 147G 188M 140G 1% /mnt

[Code].....

So, it seems that I have a lot of space in sda2 but I don't know how to access it. how to do a symbolic link (or I can search with google) to move some folders to sda2 and then link them.

View 12 Replies View Related

OpenSUSE Install :: Moving XFS To New EXT3 Partition

Feb 5, 2009

I have an 80 GB XFS / partition which is dying. Got some errors like this:
ata9: SError: { UnrecovData Dispar BadCRC Handshk }

It's not a problem to create another partition, I've got 2 500GB and 2 1TB disks, all EXT3. I've also 2 80 GB disks, 1 for / and 1 for /home. I will remove the 2 80 GB disks but I have a lot of stuff compiled myself. I use openSUSE 11.1. Is it possible to create a 80 GB EXT3 partition on each of the 500 GB hdd, 1 for / and 1 for /home and move the data to it? must it be done with the DD command or can I easily copy everything within a live-cd. The /boot and swap are already on one of the 500GB disks, and there is no bootrecord on the 80 GB disks.

View 9 Replies View Related

OpenSUSE Install :: Moving /usr To Separate Partition?

Jul 24, 2011

I have a dual boot system with Vista and OpenSUSE 11.3 . Linux is distributed over 2 partitions: one for /home and one root partition for all the rest. As this root partition is getting filled, I thought of taking a 10 GB partition from the Vista partition and using this for the /usr folder (= 6 GB). This partition is a primary partition, while the rest of Linux is on secondary partitions.To be save, I renamed the existing /usr to /usr-old and created an empty /usr as mount point. I changed fstab to load the root partition, the /usr partition and then the /home partition.But when I started the system, there were a lot of errors about files not found in the /usr folder, lthought this folder and is content were clearly present when browsing the filesystem. What went wrong? Hard links? Other system configurations to change? Not possible to put /usr on a separate partition?

View 9 Replies View Related

Ubuntu :: Moving Home Directory To New Partition?

Jul 16, 2010

I am trying to move my home directory from my install partition to a new partition. I cloned my installation from a previous ~78 gb HD using g4l to a new 250 GB drive. Now that I am using the new drive i created a new partition to used for files called "files". New partition is sda3 and the boot partition is sd1. I am trying to follow this guide [URL] but I am having no success.

The output of:
Code:
find . -depth -print0 | cpio --null --sparse -pvd /media/sda3
is

Code:
pio: /dev/sda3//./.jungledisk/cache/jd2-a114b643324c576f1c36e3f17a9043f4-us/Files/cf-1381.tmp: Cannot open: Not a directory
cpio: `/dev/sda3' exists but is not a directory
cpio: /dev/sda3//./.jungledisk/cache/jd2-a114b643324c576f1c36e3f17a9043f4-us/Files/cf-1336.tmp: Cannot open: Not a directory
cpio: `/dev/sda3' exists but is not a directory
cpio: /dev/sda3//./.jungledisk/cache/jd2-a114b643324c576f1c36e3f17a9043f4-us/Files/cf-1387.tmp: Cannot open: Not a directory
cpio: `/dev/sda3' exists but is not a directory .....

View 6 Replies View Related

Ubuntu Installation :: Moving Wubi To Partition ?

Jul 30, 2010

I've tried to install Ubuntu 9.04 last year but my modem was malfunctioning, so i gave up on Ubuntu, but i got a new modem and installed Ubuntu using wubi, i loved it and ill make it my main OS, but now i have 2 problems:

1.-I tried using lvpm, but i ended up with a 60 GB new.disk and my hard drive has just 30 Gb (30 gb wubi installation and the 60gb from the new.disk)

2.-i dont know how to shrink windows partition and i dont want to loose my config, tweaks and installed apps my hard drive has 230 gb capacity and i want to leave at least 100 gb to windows

I decided to uninstal wubi and im going to install ubuntu the right way.. it just seems easier..

View 2 Replies View Related

Ubuntu :: Gparted Crashed While Moving Partition?

Feb 28, 2011

So I was moving and resizing a ntfs partition and i just touched gparted window and it crashed!! it was about 66% of finishing the operation... Now i guess i have a big mess in my hard drive and i dont know how to start solving it! i am in a ubuntu live cd?

If i open gparted now it shows the same partition table than before resizing and moving.. so i guess now part of my data is in this unallocated space after the sda5 partition.

View 6 Replies View Related

Ubuntu :: How Safe Is Moving A Boot Partition

Mar 2, 2011

Using gparted as shown on the partitions in the image:

sda1 is Windows 7
sda2 is swap
sda3 is root
sda4 is home

I'd like to move sda4 to the end of the drive, thus shrinking it by 20GB, and shunt every other partition along to make an extra 20GB for sda1 at the start of the drive, and expand this partition into the 20GB of space I created.

When I start moving and shrinking sda4 (before I apply and execute the command) I get a warning saying that it is very dangerous to move a boot partition and it could render my system unbootable etc etc.

How safe is it to do this? If I bork it, can I recover easily?

I assume the error has something to do with start/end disk sectors in the grub2 list (however this works these days). In short, messages like this do what they should and scare me just enough to seek assistance from this wonderful online community!

View 6 Replies View Related

Ubuntu :: Moving Wubi To Normal Partition?

Mar 31, 2011

I have been using wubi for more than half an year. Now I want to move this wubi to local partition (normal ubuntu install). What is the best way to do it? It should be working parallel with windows 7 which i have already.

Is it possible to let windows control the booting, even after installing ubuntu?

View 4 Replies View Related

Ubuntu :: Moving A Partition - Unmounting Root ?

May 11, 2011

I want to move my / partition to the end of my drive (sda). To do this with gparted, I have to unmount it, but I'm not comfortable with the idea of unmounting root partition... Should I do it from a live cd? More important : is the operation safe?

View 5 Replies View Related

Ubuntu :: Moving Tmp Partition - GDM Special Files

Aug 14, 2011

I'm in the process of moving /tmp out of the root filesystem to it's own (larger) partition. From a LiveCD I've:

1. Created the new part (ext4 format and is /dev/sda4)
2. Mounted the installed OS root filesystem (/dev/sda1) as /slash
3. Mounted /dev/sda4 as /newtmp
4. Using gksudo nautilus I'm trying to copy the contents of /slash/tmp to /newtmp

I have 4 files that won't copy - returning the error "Can't copy special files". These are related to ORBit it seems:

[code]...

Questions are: a. Will GDM or ORBit fail if I start up without these? b. Or will they just be recreated on the fly if found to be missing? c. What's the best way to proceed?

View 1 Replies View Related

Software :: Moving Boot Partition Which Uses Grub ?

Jul 21, 2010

I need to move a Linux boot partition which uses grub into some unallocated space to its left on a hard disk in order to make more room for the partition after it. The boot code is not in the MBR but in its own partition. I have a multi-boot program which currently correctly boots the partition. The partition order will not change.

I have non-Linux software that can move the partition. The software suggests I have to run some Linux command after the move, but does not say what to do for grub. I would be glad to move the partition within Linux if that makes it easier, perhaps with gparted or kparted.

Can someone tell me if there is anything I have to do for grub if I move the partition to its left ? My multi-boot loader will find the partition to boot once I move it. If I move it with gparted or kparted do I have to do anything after that to make sure grub works correctly once my multi-boot program boots the partition ?

View 5 Replies View Related

Slackware :: Fail To Boot After Moving The Partition ?

Dec 16, 2010

I have a system which previously have 3 OS installed on one physical HDD; WinXP on sda1, Win7 on sda2 and Slackware linux on sda3. Lilo is used as the boot loader.

Recently I bought another HDD and decided to reinstalled my Win7 on it and I use GParted to move Slackware to the original Win7 slot on my first HDD so now my Slackware partition has been move from sda3 to sda2.

I modified the /etc/lilo.conf file so that it reflects the new Slackware partition and run lilo to installed it.

The lilo installed correctly I can boot into WinXP and Win7 without problem but when I try to boot into Slackware, it fail at the root filesystem check, apparently the e2fsck still try to check sda3.

Is there anything that I can do to correct the problem without having to reinstall Linux?

View 4 Replies View Related

Fedora Installation :: Moving - Boot To A Separate Partition ?

Apr 23, 2009

Trying to dual-boot OpenSolaris and FC10 is difficult because Solaris grub doesn't know about ext3 and Fedora grub doesn't know about ZFS. I was able to rescue my FC10 installation by creating a new FAT16 partition and restoring /boot to it from a dump, and then doing a grub setup to it. A complication is that anaconda doesn't seem to be able to find /dev/md0 (both the Solaris and FC10 installs use mirrored disks).

This process moved the FC10 ext3 partition from /dev/sda3 to /dev/sda4, but the other half of the mirror is still /dev/sdb3.

When I boot FC10 I get a "can't load image" error from grub, but it still loads FC10 successfully. It makes no difference if menu.1st/grub.conf has "root (hd0,1)" (the FAT16 partition) or "root (hd0,3)" (the FC10 ext3 partition).

If a future yum update were to try to install a new kernel, my FAT16 partition would not be updated. It seems to me both these problems might be solved if I could move /boot from /dev/md0 to /dev/sda2 (/dev/sda2 is the FAT16 partition).

Rather than go through yet another install, would the following work?

from FC10, move /boot to (say) /boot.0
mkdir /boot
edit fstab to include "mount /dev/sda2 /boot"

If I try this and it doesn't work, I can't see any way to undo it since anaconda doesn't seem to be able to mount /dev/md0. If a grub guru sees this, perhaps they could suggest a better alternative, or if not, whether this will work or not.

Additionally, although there are two alternatives in menu.1st/grub.conf, grub doesn't display a menu - it goes directly to boot. Any idea why? I suppose this might be a Solaris stage1 grub problem...

Since FAT16 doesn't support links, it isn't possible to link grub.conf to menu.1st. Are they both required?

View 2 Replies View Related

Fedora :: Boot Hangs After Moving Partition In GParted

Mar 25, 2011

I moved my /var partition using Gparted Live CD version 0.8.0-3. Everything went fine. But when I boot my Fedora 14, I get error message (something like "name_count maxed, losing inode data"). Maybe there are other error messages as well, but they scroll away very quickly. Is there any way to slow them down?

But the boot hangs after starting udev and setting host name to localhost.localdomain. It just hangs there. If I press the [Caps Lock] key, it toggles the Caps Lock LED. If I boot the installation DVD in Rescue mode, it mounts all partitions without problems, and the data is there.

View 1 Replies View Related

OpenSUSE Install :: Moving Boot Partition Resizing LVM

Jan 30, 2010

A while back I ran into the situation of running out of space on /boot. When I last installed Suse I just went with the recommended LVM layout, which proposes a very small /boot partition. When you run out of space you are now faced with resizing the LVM, which Gparted unfortunately does not support.In Googling around I did not find a concise guide, so I collected the information I needed and and then wrote a guide on the steps I used to resolve this issue and it is available at Resizing Default LVM Partitions and Moving /boot - Mine the Harvest

I found using EVMS from a live CD to be quite simple and was able to create a new /boot partition and reconfigure grub to use it in very short order. I was quite impressed with how easy to use EVMS was and the options it provides. (I think that the default LVM layout the Suse installer proposes is overly conservative on the size of the /boot partition. Why not allocate a few hundred megs, especially considering the size of drives today? Perhaps Suse will soon move to using grub2 and eliminating /boot altogether, but for now the very small allocation of space can be a bit of a pitfall for users -- especially when they are not familiar with resizing LVMs and reconfiguring grub. Of course moving to grub2 also introduces its own complexities too.)

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved