Show Posts

You can view here all posts made by this member. Note that you can only see posts made in areas to which you currently have access.

Messages - mikep

Pages: 1 2 [3] 4 5 ... 22
General Help & Advice / Re: Locked out of my xubuntu install(s)
« on: October 26, 2018, 11:13:45 pm »
Hello Mark,

You've cracked it again! I'm back into the original installation, having set up the administrator account as you suggested. It worked like a charm. Then I reset the password for my own account and am now able to access that too.

I'd already copied off my data via the command line, which I managed to get to grips with this morning. I'm enjoying the command line. Reminds me of my old DoS days (once an old DoS-er, always an old DoS-er).

When I tried the thunar thing, I still got a 'permission denied' message. That may be something to do with the fact that I used a Lubuntu livecd, so I had to use PCManFS instead of thunar? Seems unlikely, but I can't think of any other reason - except that the whole episode is a bit of a mystery considering it began with me installing Xubuntu on a new SSD with the old hdd disconnected..

Anyway, at least I'm now back to square one, with data intact. And I thought the SSD would save me time, not cost me hours of banging my head on the desk!

The next challenge will be to try to clone the Xubuntu half of a dual-boot onto the SSD... I expect I'll be back quite soon!

Thanks again for your help. Greatly appreciated.


General Help & Advice / Re: Locked out of my xubuntu install(s)
« on: October 25, 2018, 11:16:19 pm »
Been struggling half the day with the command line and a live cd to no avail. Damned if I can work out how to copy off the data. I can see it in text mode but I can't find or mount anything to copy it to.

With the live cd I can see the whole hard drive but haven't got permission to access any of the users in the Xubuntu partition.

General Help & Advice / Re: Locked out of my xubuntu install(s)
« on: October 25, 2018, 04:53:05 pm »
Will do, Mark.

But first I want to copy all the data off onto an external drive, if possible. I'm looking into that now.

I'll be back...


General Help & Advice / Re: Locked out of my xubuntu install(s)
« on: October 24, 2018, 09:12:44 pm »
Hello Mark,

I did get into the guest account. Also there are 2 other user accounts (which never get used). I can't log into them, either in text mode (login incorrect) or normally.

mike@xubuntu:~$ groups
mike adm cdrom sudo dip plugdev lpadmin nopasswdlogin sambashare vboxusers
mike@xubuntu:~$ ls -l /home
total 20
dr-x----- 2 helen helen 4096 Aug 16 2017 helen
drwx----- 34 mike mike 12288 Oct 21 23:42 mike
drwxr-xr-x 14 test test 4096 Aug 23 2017 test

General Help & Advice / Re: Locked out of my xubuntu install(s)
« on: October 23, 2018, 07:59:13 pm »
Yes! Mark, you're a genius.

Do normal terminal commands work in text mode? Is there something I can tweak to get back in with the UI? I'm not great with the command line, but I used to be fine with DoS, so I think I'll get by well enough to copy off the files I want..

General Help & Advice / Locked out of my xubuntu install(s) [Solved]
« on: October 22, 2018, 08:59:40 pm »
I'll abbreviate this or it's going to rival war and peace. Bottom line is as follows..

I bought an ssd, unplugged the hdd containing my dual-boot of Ubuntu and Xubuntu, installed the ssd. There followed some fiddling about because the ssd wasn't recognised and suddenly, neither was the sata DVD drive. So I ended up connecting both the ssd and the hdd and playing with the AHCI settings.

I then installed from a Ubuntu minimal install cd (because my PC won't boot from a DVD). I must have missed the option to choose Xubuntu desktop, because I ended up with just the Ubuntu core - no UI. So I ran sudo apt-get install xubuntu-desktop.

Whilst testing the new installation (which turned out to be corrupt - various things not working), I set it not to require a password at boot-up. And that's where it all went very wrong. On the next boot, it didn't go straight to the desktop as I expected. It offered me a dialog with my username, but nowhere to give a password. So I can't get back in. No problem - all I need to do is wipe the ssd and start again, right?

Wrong! because for some reason I can't even begin to understand, when I swap the ssd out and the hdd back in (ie: back to 'normal'), the original installation of Xubuntu, which used to go straight to the desktop, now also asks for a username but no password. If I select the 'other' account and type my username and password it keeps telling me the password is wrong, even though I know it's right!

There's data in the original Home folder I'd really rather not lose. Not critical, hence no backups, but a lot of stuff that's hard to replicate. I expected the old installation to remain untouched, and I can't understand how changes on the ssd have apparently affected the hdd.

Heeelp. Please!

General Help & Advice / Re: Running defragfs
« on: October 18, 2018, 03:33:18 am »
OK Mark, that's fair enough. Thank you.

It's academic anyway, as I'll be replacing the disk with an SSD shortly.

Thanks for your input, as always.


General Help & Advice / Re: Running defragfs
« on: October 17, 2018, 11:05:57 pm »
Thanks Mark,

Defragfs runs now, but I'm getting the following..

mike@xubuntu:/$ defragfs /dev/sda5
defragfs 1.1.1, Released under GPLv3 by John Robson <>, March 2011 (help: $ defragfs / -h)

You must specify a correct directory name!

So I tried this..

mike@xubuntu:/$ cd /dev
mike@xubuntu:/dev$ cd /sda5
bash: cd: /sda5: No such file or directory

fdisk shows the following..

mike@xubuntu:/$ sudo fdisk -l
[sudo] password for mike:
Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x42414240

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sda1  *           63 122093999 122093937  58.2G  7 HPFS/NTFS/exFAT
/dev/sda2       122095614 488396799 366301186 174.7G  5 Extended
/dev/sda5       122095616 297876865 175781250  83.8G 83 Linux
/dev/sda6       480014336 488396799   8382464     4G 82 Linux swap / Solaris
/dev/sda7       297877504 480006143 182128640  86.9G 83 Linux

Partition table entries are not in disk order.

So fdisk sees /dev/sda5, but cd and defragfs don't. Duh? What am I missing?

PC World? Loose screws? Whatever next?

General Help & Advice / Re: Running defragfs
« on: October 14, 2018, 03:50:48 am »
Here it is Mark,

mike@xubuntu:/usr/bin$ ls -l /usr/bin/defragfs
-rw-r--r-- 1 root root 10091 Oct 13 23:09 /usr/bin/defragfs

I know Linux filesystems don't usually need defragging, but this disk is nearly full and has been partitioned and dual-booted with Windows and chunters away at snail's pace, so I thought it worth a go. And no, it's not an SSD. in fact it's an old IDE drive. I'm about to swap in an SSD and do a nice fresh install of Xubuntu. The defrag is just an experiment really, and what bugs me is not being able to get it to run!

General Help & Advice / Running defragfs
« on: October 13, 2018, 11:59:37 pm »
Hello Folks,

I've been trying to run defragfs with no success.

Basically, I downloaded it from sourceforge, unpacked it in filemanager, then copied defragfs to usr/bin in a terminal. When I try to run it (using sudo defragfs...) I get "command not found". Ls shows that defragfs does exist in usr/bin, although it's greyed out, so I'm assuming it's not properly unpacked. I tried "make defragfs" in the terminal but got "make: Nothing to be done for 'defragfs'".

Any suggestions welcome. Thanks.

Security / Re: S3.amazonaws virus?
« on: September 10, 2018, 08:15:03 pm »
Thanks both,

However, I don't think I need to do anything. I reopened FF and while it was still loading I closed the tab with s3.amazonaws in it. Now it seems back to normal. Not the most aggressive browser hijacker!

Thanks for the help.


Security / Re: S3.amazonaws virus?
« on: September 08, 2018, 12:28:48 am »
I'm thinking uninstall FF then re-install it...

Security / [solved] S3.amazonaws virus?
« on: September 07, 2018, 10:39:28 pm »
I was searching in Firefox for a legitimate copy/stream of the film 'Mahogany', and suddenly S3.amazonaws is my new best friend/browser hijacker.

It's asking me to install an "important Firefox update". Obviously it's scumware. I daren't click 'Don't allow',so I have no option but to shut down Firefox (I'm typing this in Chrome). When I re-open FF it's still there, surprise surprise.

Any ideas folks?

I'm running Xubuntu.


Ubuntu / Re: Corrupted file or directory
« on: June 04, 2018, 02:26:46 am »
Thanks Mark,

The disk in question is one of three backups, so almost all the data is safe already (or at least, as safe as data CAN be). I just wanted to avoid a reformat for the sake of one folder - we're talking about nearly a terrabyte of data here.

On reflection, I think I'll just buy a couple more drives, bury myself in backups and reformat the disk anyway. I'm paranoid about disk failure since a PSU took out two drives recently. I'm leaning towards a policy of using external drives so that no two disks rely on the same power supply..

I'll mark this solved now. Thanks again for your time.

Pages: 1 2 [3] 4 5 ... 22

SimplePortal 2.3.3 © 2008-2010, SimplePortal