Did I get a virus or the HD is dead?

Firstly, did you manage to add the gustavo59 to the sudo group ?

What’s the output from:

groups gustavo59

And have you got an Ubuntu 10.04 LiveCD (or LiveUSB) ?

Also, with your external HDD plugged in, can you post the output from:

sudo fdisk -l

and can you tell me where the videos are in the old home folder.

Hello Mark,

The bookmarks in firefox worked fine!

This is the output of terminal:
gustavo59@Gus-laptop:~$ groups gustavo59
gustavo59 : gustavo59 adm dialout fax cdrom floppy tape sudo dip video plugdev fuse lpadmin admin sambashare
gustavo59@Gus-laptop:~$ sudo gedit /opt/sudo-test.txt
error: line 72922: 0 is wrong flag id
error: line 107585: 0 is wrong flag id
error: line 118041: 0 is wrong flag id
error: line 122327: 0 is wrong flag id
error: line 122464: 0 is wrong flag id
error: line 122464: 0 is wrong flag id
error: line 122513: 0 is wrong flag id
error: line 122550: 0 is wrong flag id
error: line 122550: 0 is wrong flag id
error: line 122619: 0 is wrong flag id
error: line 122619: 0 is wrong flag id
error: line 122629: 0 is wrong flag id
error: line 122629: 0 is wrong flag id
error: line 122657: 0 is wrong flag id
error: line 122657: 0 is wrong flag id
error: line 122678: 0 is wrong flag id
error: line 122678: 0 is wrong flag id
error: line 122679: 0 is wrong flag id
error: line 122679: 0 is wrong flag id
error: line 122704: 0 is wrong flag id
error: line 122704: 0 is wrong flag id
error: line 122707: 0 is wrong flag id
error: line 122707: 0 is wrong flag id
error: line 141324: 0 is wrong flag id
error: line 141324: 0 is wrong flag id
error: line 141326: 0 is wrong flag id
error: line 141326: 0 is wrong flag id
error: line 141363: 0 is wrong flag id
error: line 141363: 0 is wrong flag id
error: line 141391: 0 is wrong flag id
error: line 141391: 0 is wrong flag id
error: line 141403: 0 is wrong flag id
error: line 141403: 0 is wrong flag id
error: line 141443: 0 is wrong flag id
error: line 141443: 0 is wrong flag id
error: line 141514: 0 is wrong flag id
error: line 141514: 0 is wrong flag id
error: line 141675: 0 is wrong flag id
error: line 141675: 0 is wrong flag id
error: line 150491: 0 is wrong flag id
error: line 150491: 0 is wrong flag id
error: line 150816: 0 is wrong flag id
error: line 150816: 0 is wrong flag id
error: line 150826: 0 is wrong flag id
error: line 150826: 0 is wrong flag id
error: line 150877: 0 is wrong flag id
error: line 150878: 0 is wrong flag id
error: line 150878: 0 is wrong flag id
error: line 150892: 0 is wrong flag id
error: line 150892: 0 is wrong flag id
error: line 150919: 0 is wrong flag id
error: line 150919: 0 is wrong flag id
error: line 150988: 0 is wrong flag id
error: line 150988: 0 is wrong flag id
error: line 151059: 0 is wrong flag id
error: line 151059: 0 is wrong flag id
error: line 151077: 0 is wrong flag id
error: line 151121: 0 is wrong flag id
error: line 151122: 0 is wrong flag id
error: line 151122: 0 is wrong flag id
error: line 151154: 0 is wrong flag id
error: line 151156: 0 is wrong flag id
error: line 151161: 0 is wrong flag id
error: line 151161: 0 is wrong flag id
error: line 151162: 0 is wrong flag id
error: line 151162: 0 is wrong flag id
error: line 151163: 0 is wrong flag id
error: line 151163: 0 is wrong flag id
error: line 151188: 0 is wrong flag id
error: line 151188: 0 is wrong flag id
error: line 151206: 0 is wrong flag id
error: line 151206: 0 is wrong flag id
error: line 151207: 0 is wrong flag id
error: line 151207: 0 is wrong flag id
error: line 151208: 0 is wrong flag id
error: line 151208: 0 is wrong flag id
error: line 151209: 0 is wrong flag id
error: line 151209: 0 is wrong flag id
error: line 151210: 0 is wrong flag id
error: line 151210: 0 is wrong flag id
error: line 151211: 0 is wrong flag id
error: line 151211: 0 is wrong flag id
error: line 151212: 0 is wrong flag id
error: line 151212: 0 is wrong flag id
error: line 151213: 0 is wrong flag id
error: line 151213: 0 is wrong flag id
error: line 151214: 0 is wrong flag id
error: line 151214: 0 is wrong flag id
error: line 151607: 0 is wrong flag id
error: line 151607: 0 is wrong flag id
As you see, there is something wrong and gustavo59 is a no member of the sudo group

When I turn on the pc,it does log me automatically into my old account (hanne)

When logging into my new account ,on and off , I experience the same problem (nothing responds,just the network works) as I had with the old account (hanne).

I do not have Ubuntu 10.04 live CD (neither live)usb

here is the output of terminal
gustavo59@Gus-laptop:~$ groups gustavo59
gustavo59 : gustavo59 adm dialout fax cdrom floppy tape sudo dip video plugdev fuse lpadmin admin sambashare
gustavo59@Gus-laptop:~$

gustavo59@Gus-laptop:~$ sudo fdisk -l
[sudo] password for gustavo59:

Disk /dev/sda: 160.0 Gb, 160041885696 byte
255 heads, 63 sectors/track, 19457 cylinders
Units = cylindre of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000bd741

Enhed Opstart   Start         Slut     Blokke   Id  System

/dev/sda1 * 1 19087 153309184 83 Linux
/dev/sda2 19087 19458 2978817 5 Udvidet
/dev/sda5 19087 19458 2978816 82 Linux swap / Solaris
gustavo59@Gus-laptop:~$

The videos on my old account (hanne) are placed on my desk and on “home folders”.

Thanks mark for your time.
Anette

Mark,
I turned the pc off and on again and the output of terminal with the usb hd connected is:
gustavo59@Gus-laptop:~$ sudo fdisk -l
[sudo] password for gustavo59:

Disk /dev/sda: 160.0 Gb, 160041885696 byte
255 heads, 63 sectors/track, 19457 cylinders
Units = cylindre of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000bd741

Enhed Opstart   Start         Slut     Blokke   Id  System

/dev/sda1 * 1 19087 153309184 83 Linux
/dev/sda2 19087 19458 2978817 5 Udvidet
/dev/sda5 19087 19458 2978816 82 Linux swap / Solaris

Disk /dev/sdb: 160.0 Gb, 160041885696 byte
255 heads, 63 sectors/track, 19457 cylinders
Units = cylindre of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x9a4e397d

Enhed Opstart   Start         Slut     Blokke   Id  System

/dev/sdb1 1 19457 156288321 7 HPFS/NTFS
gustavo59@Gus-laptop:~$

Thanks.Anette

I’m getting lost here …

Are you saying the NEW account doesn’t work correctly either now ?

mark,
Works fine but once in while, the process line does not respond.Neither do the on-off buttom so I have to shut down de pc using ctrl+alt+del.Anette

I still think it could be a filesystem error.
Could you post the output from the following (from Terminal):

cat /etc/fstab

then


df -h

then

free -m

Thanks SeZo,
Here you are;

gustavo59@Gus-laptop:~$ cat /etc/fstab

/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).

proc /proc proc nodev,noexec,nosuid 0 0

/ was on /dev/sda1 during installation

UUID=1b61af08-7ca2-46a0-a131-fd9d23849881 / ext4 errors=remount-ro,user_xattr 0 1

swap was on /dev/sda5 during installation

UUID=9a19e52c-c718-42d1-b6fb-89cec84cbda9 none swap sw 0 0
gustavo59@Gus-laptop:~$ df -h
Filsystem Størr Brugt Tilb Brug% Monteret på
/dev/sda1 144G 20G 118G 15% /
none 493M 284K 493M 1% /dev
none 497M 1,8M 495M 1% /dev/shm
none 497M 300K 497M 1% /var/run
none 497M 0 497M 0% /var/lock
none 497M 0 497M 0% /lib/init/rw
gustavo59@Gus-laptop:~$ free -m
total used free shared buffers cached
Mem: 993 811 181 0 71 358
-/+ buffers/cache: 381 611
Swap: 2908 0 2908
gustavo59@Gus-laptop:~$

Regards,Anette

Try this again:

sudo touch /forcefsck

then run:

ls -a /

if forcefsck is listed in the output … REBOOT … a file system check will be run at bootup (you should see it running as text at the bottom of the bootup splash screen).

If the file system check still doesn’t run you’re going to need a LiveCD/LiveUSB (preferably the same version of Ubuntu).

Beyond that, it may be a good idea to start “Disk Utility”, select your hard drive, and click the “SMART Data” button … and see if there are any reported errors.

Thanks Mark,
Here you have the input from terminal:
gustavo59@Gus-laptop:~$ sudo touch /forcefsck
[sudo] password for gustavo59:
gustavo59@Gus-laptop:~$ ls -a /
. cdrom home lib opt selinux usr
… dev initrd.img lost+found proc srv var
bin etc initrd.img.old media root sys vmlinuz
boot forcefsck .kde mnt sbin tmp vmlinuz.old
gustavo59@Gus-laptop:~$

When I reboot, it goes back to my old account (hanne) and then I have to reboot again. There is not a text file, just ubuntu telling me that is doing some check (100 % in a seconds).

Everytime I shut down from my new account ,it logs into my old account (hanne).

Still I can not move/copy videos from my old account to the usb HD.(Docs no problems) .

I run disk utility and the output was OK.

Thanks again for your support.Anette

There is not a text file, just ubuntu telling me that is doing some check (100 % in a seconds).

That’s the text I meant … it ran fsck at bootup, that was the file system check running :slight_smile:


OK, let’s sort this autologin issue first … then we’ll get to the videos

  1. Load the Gnome Administration utility by clicking on
    System → Administration → Login Screen Settings

  2. Unlock the window by hitting the “Unlock” button (you will be asked for your password)

  3. Make sure “Log in as <> automatically” is selected (and select gustavo59 from the drop-down list of users).

  4. Click “Close”.

Now reboot to test.

See here:
https://help.ubuntu.com/community/AutoLogin
Be sure to read the entry for 10.04 :wink:


The other option would be to disable Auto login … so you “Show the screen for choosing who will log in


Let me know if that works, and we’ll move on to the videos :slight_smile:

mark,
I did as you wrote and when I turn on the pc ,it logs onto my new account (gustavo59) but everything frozen(as happened when logging into Hanne)…even worse…the firefox frozen as well.In order to write now I have to log into Hanne (from gustavo 59) .I have to reverse the steps.

OK, what happens if you disable autologin altogether … so you have to choose the user from the login screen ?

BTW, have you burned an Ubuntu 10.04 LiveCD yet ? … I think at this point it would be good to:-

a) test your RAM (Memtest86+)
and
b) to see if everything works from a LiveCD

mark,
I disabled the auto log in. When logged onto Hanne account, i have to switch to gustavo59 in order to work with the pc. When the pc starts, and logged into gustavo59 ;I have to switch onto Hanne account to run the pc. As you can see, the account logged into at first does not react and I have to log on to the other account to proceed .

I just DL ubuntu 10.04 ISO and I will burn it on to a disk aspa. Will it work from a usb dongle instead of burning on a disc (sometimes ago I couldn’t burn docs as I remember)?
Thanks.Anette

That’s some weird problem ??? … I’m seriously beginning to wonder if it would be quicker to just copy your docs/videos/firefox profile/etc. to an external drive … then just reinstall.

Maybe even take this opportunity to move to a more recent version of Ubuntu … or Mint (MATE) … or PeppermintOS 3

I’m going to do a bit of research on reinstalling the login tools … but we could be here forever trying to track down what the problem is … I would ask you to post the logs, but I’m guessing they’d be in Danish (?) and fairly useless to me.


It may work from a USB stick depending on your PC … some old PC’s don’t like booting from USB sticks.

Do you know how to burn the ISO image to a USB stick ?

mark,
I will try to burn to the usb stick and on to a disc ,and see if it works.
In case of moving to a recent system, how would I solve the problem of moving video folders to an external hd?
Thanks,Anette

In case of moving to a recent system, how would I solve the problem of moving video folders to an external hd?
You might be trying to copy files which are too big for the external HDD To find out the file sizes in the videos contained in the video folders you can run (substituting the with the correct path):
du -ach <path to Videos>

This should give you the sizes per file and for the directory containing it.
Please also see what space is available on the external HDD (must be plugged in first)

df -h

and look for /dev/sdb*

how would I solve the problem of moving video folders to an external hd?

If there’s enough room, we’ll try copying them from a root prompt … or a file manager running with root permissions.

Have you got an external drive with enough space ?