Re: [Dorset] Ubuntu 11.04 file problem

2011-05-24 Thread John Carlyle-Clarke

On 24/05/11 11:08, CPK Smithies wrote:

Symptom: 10.10 upgraded to 11.04, now everything very slow.

My experience: on booting 11.04 off disk for the first time, I found
that my swap partition now had a different UUID. Consequently, I had a
zero-size swap.

Suggestion: the same may have happened in this case. If there's not a
lot of RAM on the machine, then a non-zero swap space may be essential
in order to run a GUI. This can be checked from the command line by
comparing the output of:

$ grep swap /etc/fstab # shows the configured UUID
$ blkid |grep swap # shows the correct UUID

If the two differ, I recommend copying the correct UUID, using

$ sudo nano /etc/fstab

to edit the config. file, and then restarting the system.

I would be interested to know if that was the problem in this case, and
if so, whether the proposed solution cured it.



The swapon command can be helpful here too.

sudo swapon -s

will show swap partitions in use.

sudo swapon -L 

will start using the partition with the specified label as a swap partition.

sudo swapon -U 

will start using the partition with the specified uuid as a swap partition.

You can also do:-

sudo swapon /dev/sda3

or similar.

As you say, to make it permanent you need to edit /etc/fstab but for 
testing the above might help.


--
Next meeting:  Bournemouth, Tuesday 2011-06-07 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Ubuntu 11.04 file problem

2011-05-24 Thread CPK Smithies
Symptom: 10.10 upgraded to 11.04, now everything very slow.

My experience: on booting 11.04 off disk for the first time, I found
that my swap partition now had a different UUID. Consequently, I had a
zero-size swap.

Suggestion: the same may have happened in this case. If there's not a
lot of RAM on the machine, then a non-zero swap space may be essential
in order to run a GUI. This can be checked from the command line by
comparing the output of:

$ grep swap /etc/fstab # shows the configured UUID
$ blkid |grep swap # shows the correct UUID

If the two differ, I recommend copying the correct UUID, using

$ sudo nano /etc/fstab

to edit the config. file, and then restarting the system.

I would be interested to know if that was the problem in this case, and
if so, whether the proposed solution cured it.


--
Next meeting:  Bournemouth, Tuesday 2011-06-07 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Ubuntu 11.04 file problem

2011-05-24 Thread John Carlyle-Clarke

On 24/05/11 11:04, John Carlyle-Clarke wrote:


Just be aware that if you do this:-

cd ~
cp -a * /media/backup/myhomebackup

You will lose a lot of data, because the * won't match any file or
directory starting with a ".", and there are quite a few crucial ones in
your home directory.


Sorry, I should clarify that.  When I say "you will lose a lot of data" 
I mean that your backup will be incomplete.


--
Next meeting:  Bournemouth, Tuesday 2011-06-07 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Ubuntu 11.04 file problem

2011-05-24 Thread John Carlyle-Clarke

On 24/05/11 10:52, Peter wrote:

On Mon, 2011-05-23 at 20:46 +0100, Keith Edmunds wrote:

Peter, you need to use the -a switch (although there are other ways):

cp -a from-here to-here

That will copy all directories recursively.


Thanks Keith&  Tim.  I now have the latest backup on a separate hard
disk so I can start to sort out the other problems



Just be aware that if you do this:-

cd ~
cp -a * /media/backup/myhomebackup

You will lose a lot of data, because the * won't match any file or 
directory starting with a ".", and there are quite a few crucial ones in 
your home directory.


DAMHIKT

A better way to do this is:-

cd /home
cp -a $USER /media/backup

Finally, be aware that if you have symbolic links to data _outside_ your 
/home/$USER directory, that data will not be copied.  The links will be 
preserved - that is to say, the backup will contain a link to that data, 
not the actual data.



--
Next meeting:  Bournemouth, Tuesday 2011-06-07 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Ubuntu 11.04 file problem

2011-05-24 Thread Peter
On Mon, 2011-05-23 at 20:46 +0100, Keith Edmunds wrote:
> Peter, you need to use the -a switch (although there are other ways):
> 
>   cp -a from-here to-here
> 
> That will copy all directories recursively.

Thanks Keith & Tim.  I now have the latest backup on a separate hard
disk so I can start to sort out the other problems

Peter.


--
Next meeting:  Bournemouth, Tuesday 2011-06-07 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Ubuntu 11.04 file problem

2011-05-23 Thread Keith Edmunds
Peter, you need to use the -a switch (although there are other ways):

cp -a from-here to-here

That will copy all directories recursively.
-- 
"You can have everything in life you want if you help enough other people
get what they want" - Zig Ziglar. 

Who did you help today?

--
Next meeting:  Bournemouth, Tuesday 2011-06-07 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Ubuntu 11.04 file problem

2011-05-23 Thread Peter
On Sun, 2011-05-22 at 16:19 +0100, Tim wrote:
> On 22/05/11 15:24, Peter wrote:
> > Can anyone help please?
> >
> > I have recently upgraded from Ubuntu 10.10 to 11.04.  Since then, once I
> > have opened a file through an app. (eg Libre Office) or by clicking on
> > the Files&  Folders icon or the Home icon I can't open any more files.
> > The file manager appears to slow down and then freezeand during shut
> > down I get the message "File Manager not responding".  I have tried
> > re-installing Nautilus but it does not help.
> >
> > Occasionally if I re-boot, the Evolution icon changes to the one with
> > clock and the colour scheme is different but all apps appear to work
> > correctly.
> >
> > I would like to uninstall 11.04 (10.10 seems to have vanished) but
> > because of the file problem I can't back up to another disk - I can open
> > the source or the destination but not both.
> >
> > Any thoughts would be much appreciated.
> >
> > Peter Harris.
> >
> >
> > --
> > Next meeting:  Bournemouth, Tuesday 2011-06-07 20:00
> > Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
> > How to Report Bugs Effectively:  http://goo.gl/4Xue
> >
> Can you not boot from a boot cd and then backup your home and other 
> folders  to a second\usb hard disk or thumb drive??
> 
> Tim
> 
> --
> Next meeting:  Bournemouth, Tuesday 2011-06-07 20:00
> Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
> How to Report Bugs Effectively:  http://goo.gl/4Xue

Hi Tim,

I tried a boot disk for 10.04 but could not copy.  I've been trying to
copy from a terminal but get the message  "Omitting Directory".
Starting from the directory /var/backup I used cp
filename /media/External/Ubuntu/backup.

Peter




--
Next meeting:  Bournemouth, Tuesday 2011-06-07 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Ubuntu 11.04 file problem

2011-05-22 Thread Tim

On 22/05/11 15:24, Peter wrote:

Can anyone help please?

I have recently upgraded from Ubuntu 10.10 to 11.04.  Since then, once I
have opened a file through an app. (eg Libre Office) or by clicking on
the Files&  Folders icon or the Home icon I can't open any more files.
The file manager appears to slow down and then freezeand during shut
down I get the message "File Manager not responding".  I have tried
re-installing Nautilus but it does not help.

Occasionally if I re-boot, the Evolution icon changes to the one with
clock and the colour scheme is different but all apps appear to work
correctly.

I would like to uninstall 11.04 (10.10 seems to have vanished) but
because of the file problem I can't back up to another disk - I can open
the source or the destination but not both.

Any thoughts would be much appreciated.

Peter Harris.


--
Next meeting:  Bournemouth, Tuesday 2011-06-07 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue

Can you not boot from a boot cd and then backup your home and other 
folders  to a second\usb hard disk or thumb drive??


Tim

--
Next meeting:  Bournemouth, Tuesday 2011-06-07 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue


[Dorset] Ubuntu 11.04 file problem

2011-05-22 Thread Peter
Can anyone help please?

I have recently upgraded from Ubuntu 10.10 to 11.04.  Since then, once I
have opened a file through an app. (eg Libre Office) or by clicking on
the Files & Folders icon or the Home icon I can't open any more files.
The file manager appears to slow down and then freezeand during shut
down I get the message "File Manager not responding".  I have tried
re-installing Nautilus but it does not help.

Occasionally if I re-boot, the Evolution icon changes to the one with
clock and the colour scheme is different but all apps appear to work
correctly.

I would like to uninstall 11.04 (10.10 seems to have vanished) but
because of the file problem I can't back up to another disk - I can open
the source or the destination but not both.

Any thoughts would be much appreciated.

Peter Harris.


--
Next meeting:  Bournemouth, Tuesday 2011-06-07 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue