All Questions
33
questions
0
votes
2
answers
326
views
How to test for ext4 Partition? Not ext4 Filesystem
using:
neofetch --stdout |grep 'OS:'
OS: Kubuntu 22.04.3 LTS x86_64
Start Update Question due to someone deleted information:
No interest in testing for ext4 Filesystem.
lsblk -n -o FSTYPE /dev/sdb1 ...
1
vote
1
answer
346
views
With raw disk, before Partition, before filesystem, how to map bad blocks?
using:
neofetch --stdout |grep 'OS:'
OS: Kubuntu 22.04.3 LTS x86_64
After zeroing disk with:
time sudo dd if=/dev/zero of=/dev/sd_ bs=1M status=progress #Zero_disk_delete_wipe
We have ...
1
vote
1
answer
568
views
How to automatically format an SD card or a USB flash drive with one FAT32 partition that uses the entire storage space?
I have some SD cards with some existing partitions that I want to format to one FAT32 partition and I want to do it as automatically as possible. Best just using one command.
When I connect them their ...
0
votes
1
answer
81
views
Extending Ubuntu system partition by space before it
Sorry, there was similar question before, but still can not find satisfactory answer.
Is there any ways to extend Ubuntu partition with the free space before it without deleting and recreating ...
0
votes
1
answer
361
views
Switch to a filesystem with more memory
I am relatively new to linux, but am working on a remote server.
Here's the output of df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 29G 1.9G 28G 7% /
devtmpfs ...
0
votes
0
answers
293
views
Repairing broken RaspberryPi partition
My RaspberryPi was acting up and I couldn't connect to it with SSH anymore, so I decided to restart it by cutting the power and plugging it back in.
When starting it showed a message with "Kernel ...
1
vote
1
answer
14k
views
Resizing Ubuntu partition with resize2fs
I have an AWS EC2 instance running on Ubuntu 16.04.
It has a 2TB ext4 partition which I am trying to resize to 6TB. I have updated the AWS volume to 6TB without difficulties.
On the instance I used ...
0
votes
2
answers
5k
views
How do I partition the 120GB SSD hard drive with Ubuntu 20.* as OS so that the root has enough space?
I never quite understood the ubuntu partitioning ever. As I see the root has 11GB of my 120GB hard drive even if the partition 1 on my hard drive is at least 70GB. How can I assign a partition space ...
0
votes
1
answer
814
views
Linux Kernel 5.6.2 - Can't Find Block Device to Mount Root Filesystem
I work in a very heavily regulated industry. I've been tasked with creating a secure boot chain. That is, from boot, it needs to boot into a minimal Linux Kernel who's initramfs has a Python init ...
0
votes
1
answer
538
views
Recover from creating wrong file system using 'mkfs.ext4' on external USB drive
I ran the following command $ sudo mkfs.ext4 /dev/sdb1 on a Transcend StoreJet 500GB external drive on Ubuntu 16.04 in an effort to try to use exFAT on Ubuntu. The was output was as follows:
mke2fs ...
0
votes
1
answer
2k
views
Adjusting Ubuntu filesystem to make use of enlarged partitions
I have increased the size of the extended and logical partitions in my Ubuntu VM as described here: Adding free unpartitioned space to the main Ubuntu partition
Now I want to add these new sectors to ...
3
votes
2
answers
13k
views
Attribute “partition” not found - error when formatting USB flash drive
I have a USB flash drive that's become unrecognisable in Windows 7, as detailed in my question on SuperUser here. I was advised to try using Ubuntu, and was able to see the flash drive using it, ...
0
votes
2
answers
86
views
Unusually USB filesystem behavior
To start off I'm using linux and I found something quite interesting on one of my USBs. Long ago, I made a new partition table in the USB, both FAT32, 8gb a piece (16gb in Total) - Installed a linux ...
1
vote
1
answer
2k
views
Partitions overlapping linux
I have problem with my partitions which are overlapping each other (fdisk -l)
/dev/sda1 * 2048 206847 204800 100M 7 HPFS/NTFS/exFAT
/dev/sda2 8155136 220203007 ...
2
votes
0
answers
702
views
Fat 32 partition recognized by Linux not by OS X why?
I used Gparted to create 3 partitions on an unencrypted external 2 GB hard drive:
A FAT32 system (0x0c).
A Ext4 system with Linux installed on (I did this after creating the partitions).
A HFS system ...