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 - Mark Greaves (PCNetSpec)

Pages: [1] 2 3 ... 1211
1
General Help & Advice / Re: Root filling up
« on: September 16, 2019, 07:00:13 pm »
"safer" .. maybe/maybe not.

But they're definitely BIGGER...

For example:-
Discord .deb file = 52.1MB
Discord flatpak = wants to dl 706.2MB, and says an additional 1.9GB of disk space will be used.

That's roughly 40 times as large.

2
General Help & Advice / Re: Root filling up
« on: September 16, 2019, 01:31:01 pm »
We've already got you some space back, but do you use gradio ?

3
General Discussion / Re: Father’s Computer
« on: September 15, 2019, 08:18:45 pm »
I'm not understanding what you mean by

Quote
I am using my Dad’s computer but the passwords that he has left don’t match all the hard drives (about 6-8)

Are you saying that you're booted into your fathers Linux PC ?

if so, you should be able to access the other drives without a password.

Do you know which distro/version of Linux you're using ?
(eg. Ubuntu / Fedora / Mint / Arch / etc.)

Are you able to open a terminal ?



If you're looking for someone local to help (rather than me help you through it online), where in the UK are you ?

4
General Help & Advice / Re: Root filling up
« on: September 15, 2019, 05:00:17 pm »
Okay run:
Code: [Select]
sudo rm -rv /var/tmp/flatpak*
to clear out all the flatpak cache temporary files.

Can you also post the output from:
Code: [Select]
flatpak list
so we can see what flatpak's you have installed.

Using flatpak's or snap's on a system with limited disk space is a really bad idea .. software installed as a flatpak (or snap) is MASSIVE when compared to installing it in the normal way (as a .deb / .rpm / etc.).

5
General Discussion / Re: Father’s Computer
« on: September 15, 2019, 04:51:18 pm »
Hi Jules, sorry to hear about your father.

Are these external hard drives ? .. and are you trying to access them from a Windows PC ?
(Windows won't be able to read the Linux file system without some additional 3rd party software)

Probably the best way to access them would be to create a Linux LiveUSB, boot to it, and use that to copy off any files you want to keep to an external hard drive that has a Windows file system.

The other option might be to install one of these three pieces of software in Windows
https://www.howtogeek.com/112888/3-ways-to-access-your-linux-partitions-from-windows/
that should allow Windows to read the Linux file system (supposing the drives are using the EXT4 file system, which is most likely).



If however you're able to boot into the installed Linux (using one of your fathers passwords), it would be pretty easy to copy off any user documents/pictures/music/etc. to an external hard drive (or USB stick) that can be read by Windows .. are you able to boot into Linux ?

6
General Help & Advice / Re: Root filling up
« on: September 14, 2019, 05:27:46 pm »
What's the output from
Code: [Select]
sudo du -hxP --max-depth=1 /var/lib
and
Code: [Select]
sudo du -hxP --max-depth=1 /var/tmp

7
General Help & Advice / Re: Root filling up
« on: September 13, 2019, 09:10:47 pm »
What's the output from
Code: [Select]
sudo du -hxP --max-depth=1 /var
and
Code: [Select]
sudo du -hxP --max-depth=1 /var/log
and
Code: [Select]
swapon -s
and
Code: [Select]
df -h

8
General Help & Advice / Re: Root filling up
« on: September 13, 2019, 01:37:29 pm »
What's the output from:
Code: [Select]
sudo du -hxP --max-depth=1 / --exclude=/mnt --exclude=/media

9
General Discussion / Re: SFTP
« on: September 10, 2019, 04:51:20 pm »
Sure .. one way might be to make it executable only by members of a specific group, then add users you want to be able to execute it to that group.

Though that's not necessarily the only or best method .. all depends how they're accessing it and what your goals are.

.

10
General Discussion / Re: how to start from scratch
« on: September 10, 2019, 04:40:10 pm »
That's exactly what you need to do.
(create the LiveUSB, boot to it, then choose to install Linux)

Most Linux distributions will offer you two options during the install

a) Wipe the drive and install Linux

b) Resize the Windows partition and install Linux 'alongside' Windows.

Just choose option (a)



If you need help creating or booting to the LiveUSB, just ask :)

11
Hardware Compatibility / Re: Very Slow Boot
« on: September 10, 2019, 04:36:05 pm »
Basically you're going to need a LiveUSB to boot from .. have you got access to one ?

Preferably a Mint one ?

12
Hardware Compatibility / Re: Very Slow Boot
« on: September 09, 2019, 09:15:03 pm »
Do you know how to run a file system check on sda2 ?

13
Hardware Compatibility / Re: Very Slow Boot
« on: September 09, 2019, 03:41:56 pm »
As you don't seem to be using BTRFS, and there's a 31 second delay in dmesg between the btrfs driver being loaded and sda2 being mounted (probably where the drive is being scanned for non-existent btrfs file systems):-

Quote
[    4.187586] Btrfs loaded, crc32c=crc32c-intel
[   35.357394] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)

try uninstalling the unnecessary btrfs support:
Code: [Select]
sudo apt-get remove --purge btrfs-tools btrfs-progs
then rebuild the initramfs:
Code: [Select]
sudo update-initramfs -uk all
Then REBOOT to test.

If that still doesn't help. please post your dmesg output again.



Quote
1) Why is there only one linux-swap when I have 2 Linux operating systems? Does Kali use it, or just Mint?

They'll be happy sharing a swap partition, but there's nothing stopping you having separate swap partitions (or indeed a swap FILE for Mint) if you'd like.

Quote
2) What happens if I want to add to my ext4 partition for Mint? I don't see how I will be able to resize it since it's locked in between Bootloader and Windows.

Certainly it will be more difficult than if you'd manually positioned it at the end of the drive .. though not impossible, it'll just mean juggling/moving/resizing partitions around on the drive.

I do have to wonder though, what do you plan on doing where 240GB is not going to be enough for Mint ?

14
Hardware Compatibility / Re: Very Slow Boot
« on: September 09, 2019, 02:04:04 am »
Okay looks like your /etc/fstab entry for the swap partition's UUID is wrong .. the UUID probably changed during the drive exchange.

We'll then also need to fix the entry in your /etc/initramfs-tools/conf.d/resume file to match.

Run:
Code: [Select]
sudo xed /etc/fstab
and make it read
Code: [Select]
# <file system> <mount point> <type> <options> <dump> <pass>

UUID=34e5f0cb-4239-472a-bec3-98646ca9e3ef / ext4 errors=remount-ro 0 1
# UUID=77A3-530E /boot/efi vfat umask=0077 0 1
# UUID=65ad16d9-0930-431b-86d9-bf7d123e7082 none swap sw 0 0
UUID=77A3-530E /boot/efi vfat defaults 0 1
UUID=66ed2cb6-18e8-411b-8186-e9d28fe8a377 none swap sw 0 0
SAVE the file, and exit the text editor.

Back in the terminal run:
Code: [Select]
sudo xed /etc/initramfs-tools/conf.d/resume
and make it read
Code: [Select]
RESUME=UUID=66ed2cb6-18e8-411b-8186-e9d28fe8a377
SAVE the file, and exit the text editor.

Now REBOOT to test.

Now post the output from:
Code: [Select]
swapon -s
and
Code: [Select]
free -m
so we can see if swap got mounted properly.

15
Hardware Compatibility / Re: Very Slow Boot
« on: September 08, 2019, 03:43:11 pm »
In Mint, can you post the output from:
Code: [Select]
sudo fdisk -l
and
Code: [Select]
blkid
and
Code: [Select]
swapon -s
and
Code: [Select]
cat /etc/initramfs-tools/conf.d/resume
and the contents of
Code: [Select]
xed /etc/fstab

Pages: [1] 2 3 ... 1211

SimplePortal 2.3.3 © 2008-2010, SimplePortal