HELP needed urgently!
Dennis Sledge
private0Me at gmail.com
Fri Jan 25 20:17:32 UTC 2008
Alain Muls wrote:
> Hi,
>
> I have a big problem.
> I have a root partition of 12 GB, a separate home partition and a spare
> partition. Today the root partition got filled up and in order to create
> room I decided to activate the spare partition as the /usr sub part.
>
> So I mounted the spare partition on /mnt and did
> cp -a /usr/* /mnt
>
> When finished I edited fstab to have the spare partition mounted as
> /usr. I moved /usr to /usr1 and mounted the spare partition as /usr.
> This worked fine and I worked on for a couple of hours at work.
>
> This evening the system entered into a (how is it called) shell, where I
> had to enter the passwd for root (luckily I enabled root after install).
> The new /usr partition was mounted but the encrypted home partition
> (with luksOpen and mapper) was not ready. Also no network devices were
> configured. I managed to get the encrypted partition mounted and had
> some trouble with the network, but I got finally to write this mail.
>
> How come I have this problem now (since /usr was correctly mounted) and
> most of all, can you give me a solution real fast please!
>
> Tx/Alain
>
I may be wrong, but I think that when you copied from one partition to
the other you should have used cp -r /mnt/usr/* /mnt/...
This will ensure that all subdirectories will have been copied also.
To preserve changes you can copy again using cp -ur /mnt/usr/* /mnt/...
Dennis
More information about the ubuntu-users
mailing list