Questions tagged as ['partitioning']

Disk partitioning is the act of dividing a hard disk drive into multiple logical storage units referred to as 'partitions'
Score: 0
alfC avatar
Decide how to utilize a slow and fast hard drive to install Ubuntu
vn flag

Suppose I have to hard drives in my laptop, one is a (Disk A) classical spinning hard drive (or an old generation SSD) (<1GB/s) and the other one (Disk B) is a super fast NVMem SSD (3GB/s).

I. Suppose that they are not too big to hold everything. What of these options is better for Ubuntu?

  1. Install / (system files) in (Disk A) and /home (i.e. userfiles) in (Disk B)?
  2. Install / (system files) in ...
Score: 0
Alex Dignard avatar
Reading or writing data to partition freeze when accessing large files or a lot of files at once
cn flag

We have a Ubuntu server with several HDD partitions that are then served to Windows machines using Samba. We just added a new drive and we have a big problem with it.

On day 1, I was able to write ~2TB of data without any problem. Now, when requesting files, the transfer starts normally then freeze, seemingly at random, after ~5sec. Stopping the transfer and restarting it makes it able to star ...

Score: 1
How do I tell the Ubuntu bootloader to boot from a different drive?
cn flag

This should be a simple question. My system is set to dual boot Ubuntu 20.04 and Windows 10. I previously had only a small SSD (256 GB), so I had only the EFI partition and the Windows system partition on the SSD and the Ubuntu partition on an internal HDD. The HDD is only 5400 RPM and the slow low load time was a constant source of aggravation.

I just purchased a new 2TB SSD and would like to ha ...

Score: 0
Rentib avatar
Accidentally deleted Ubuntu bootloader
cn flag

I've been running dualboot of windows 10 and ubuntu 20.04 on my computer and recently decided to get rid of windows (i stopped playing LOL) and I accidentally deleted disk partition that was responsible for ubuntu bootloader (alongside partition for windows).
For now i recovered or rather reinstalled windows just to be able to launch computer.

I've also been looking for ways to recover ubuntu bootload ...

Score: 0
Filippo avatar
dev/sda2 full and ubuntu not booting
id flag

I am a Windows user with virtually no experience on Linux/ubuntu. However, I need to use a pc that runs on linux.

I just installed wine on the pc and when trying to restart the computer I begun to encounter problems in booting:

  1. I see the logo of the computer ('Dell') appearing,
  2. I get to the screen where I can choose the system I want to use (e.g. Ubuntu, advance, Windows)
  3. when I select ubuntu (o ...
Score: 0
Alessandra Boiti avatar
I ran fsck /dev/sda8 now Ubuntu doesn't work
cn flag

I have a laptop which has both linux Ubuntu and windows 10 partitions. I am not the one who installed it and I don't know the specifics. I consistently use both systems and never had a problem. The other day I turned on ubuntu and there was a similar message as here fsck error on boot: /dev/sda6: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY so after reading some comments I ran fsck /dev/sda8

It ran ok, t ...

Score: 2
ep0ch4lypse avatar
Why can I boot only Windows and not Ubuntu?
ca flag

Recently built a computer but I am unable to boot into Ubuntu. Hardware that might be relevant...

  • Asus ROG Strix B550F (Wifi)
  • G Skill 3600 c16
  • RTX 3070ti xc3
  • Samsung 980 1TB nvme m.2

I have tried the following

  1. Formatting the drive with GPT and MBR with an EFI System Partition, a space for the root (/) directory, and the rest for /home.
  2. Boot with CSM on and off.
  3. Boot with Fast Boot on and off.
  4.  ...
Score: 0
linofex avatar
Use grub config of second Ubuntu partition
ar flag

I have two Ubuntu partitions, Ubuntu 16.04 and 18.04. I use for the 99% of time the partition with U18.04, but I see that the grub config are taken from the partition with 16.04.Now, I have a problem with a kernel version with U18.04 and I am not able to boot with the older version because the grub manager in U16.04 does not recognize U18.04 kernels (while if a I do sudo update-grub from 18.04 everyt ...

Score: 0
Önder TARIM avatar
How can I change Trim timer for my secondary NVMe drive? (also -noatime and -discard options)
kr flag

I'm just a two-week linux user and started with Ubuntu 20.04 LTS. On my system, I have two NVMe drives, first one is a small 256gb XPG drive is being used as the OS drive. Nothing is special or important for this drive. Second one is a 2TB Samsung 980 Pro and I do tons of writing on it. Literally, it writes more than 50 TB per day! So, I want to keep this drive as healthy as possible. The thermals are O ...

Score: 0
Tms91 avatar
Ubuntu: Error resizing partition while resizing partition of a Virtualbox VM running Ubuntu (Host is Windows10)
in flag

I am trying to resize (from 20 to 270 GB) the hard disk of a Ubuntu OS running inside a VM (Virtualbox) that runs on Windows 10.

By following the instructions in this thread , I have with powered off my VM and run on my Windows 10 Powershell:

C:\Users\Bob> C:\"Program Files"\Oracle\VirtualBox\VBoxManage.exe modifyhd C:\Users\Bob\"VirtualBox VMs"\Tommaso_Ubuntu01\Tommaso_Ubuntu01.vdi --resize 270000 ...
Score: 3
Install Ubuntu in different SSD
cn flag

I have a HP Omen laptop with 512 GB SSD but I am planning to get a new SSD of 512 GB to insert in other empty slot . I want to keep windows in existing SSD and install Ubuntu in the new one. Please let know if it is possible to do that and if yes, how should I do that. I am new to this and don't know much.

Score: 0
theastronomist avatar
Cannot Write to Secondary Hard Drive
ru flag

I have a secondary storage drive on my computer mounted at /media/user_name/Data. I get this error when trying to create a new directory:

user_name@cpu:/media/user_name/Data mkdir test

mkdir: cannot create directory ‘test’: Read-only file system

df -h shows it mount at:

/dev/sdc2       466G   77G  390G  17% /media/user_name/Data

I follow instructions from here to remount it as read/write ...

Score: 1
fk98 avatar
Questions about Installing Ubuntu by Replacing a Drive where Win10 is installed
za flag

I have some experience with Linux systems. Now I want to install Ubuntu to my notebook. Since I just can't loose any data or crash my Notebook I have a few questions regarding the installation, for which I couldn't find any answers.

Currently I have Windows 10 running on my Notebook. In my notebook is no space for a second hard drive, therefore I want to replace my disk and install Ubuntu on the  ...

Score: 1
Maxime Luce avatar
Recover my data from an encrypted luks disk, error while analyse
ve flag

I tried to encrypt my external hard disk with LUKS but the disk header is buggy. So I followed the method described here

And I get this when I analyse the .dd :

e2fsck 1.45.5 (07-Jan-2020)
ext2fs_open2: Bad magic number in super-block
e2fsck: Superblock invalid, trying backup blocks...
e2fsck: Ba ...
Score: 0
Kingshuk Chakravorty avatar
Can't write files in a partition
vn flag

I've just installed Ubuntu latest one today (21.04). I don't have any other OS on my laptop, only Ubuntu. I want to edit a text file stored in Part4, which is in NTFS filesystem. But when I edited it I saw that I can't save that as it's showing that the file is in read only. Also I can't delete files from the partition as they return the same issue. What should I do?

Note that I am completely new ...

Score: 0
Jean avatar
Partially encrypted installation
in flag

Noob alert: slowly ditching windows. Speak slowly.

With that out of the way, I want to install Kubuntu 20.04 on a single dedicated SSD with an encrypted root&swap but I want to keep some free space so that I can add a new partition without encryption to store some VM images (which have already their own encryption).

  • The installer (with the encrypted LVM option) can only use the whole disk with no ...
Score: 0
LaSu avatar
How to increase/expand the size of a root partition on ubuntu server?
ph flag

*Application *Ubuntu Server running low on space *VMWare ESXi

An error occurred that went unnoticed by the technicians. We used a ubuntu server with LAMP stack with a platform with 15G of space which we believed to be 50G and it is now in production. Me and the other technicians only noticed because ZABBIX pointed to use above 80% of disk space. I cleaned and managed to lower it however disaster  ...

Score: 0
Harmonytalk avatar
Not all disks showing up after reinstallation of RAID10 system
bv flag

I have 6 drives in total 2 SSD (/dev/sda & /dev/sdb) and 4 NVMe drives. I installed the OS on those 4 NVMe drives as RAID 10 installation but later changed my mind to install the OS on the two SSDs. Now only 2 of the NVMe drives are showing up with fdisk -l

which I have deleted their file systems

Disk /dev/nvme0n1: 1.8 TiB, 1920383410176 bytes, 3750748848 sectors
Disk model: SAMSUNG MZQLB1T9HAJ ...
Score: 1
DarkBrave_ avatar
How to fix broken /boot/efi Partition?
jp flag

My computer originally came with Windows 10 installed on it, but then I dualbooted Kubuntu, and then removed Windows 10 from my computer entirely. When I installed different distros, I noticed that they failed to install GRUB2 a lot, but the Boot Repair app fixed those problems, but I know something is wrong with the /boot/efi partition and I'm not sure how to fix it. Maybe I could try and remake it, but ...

Score: 0
John avatar
Mounted hard disk is missing
mx flag

I have been using my Ubuntu 18.04 and I moved to 20.04 some months ago. I used 2 hard disks: one ssd for operating system and one for storage. The storage one was mounted in mnt and it was set to be attached on system load. I have been using without any problem for 2 years. Suddenly today after I switched off my pc, when I start pc again, I see my storage drive is missing. I tried

sudo fdisk -l
[su ...
Score: 0
Sandeep Thakur avatar
-bash: /etc/profile: Input/output error
in flag

When I was trying to connect ssh to my remote machine after ssh and enter password it give -bash: /etc/profile: Input/output error some time but after hard reboot I'm able to ssh my remote machine is there any hardware issue or else and how to permanent resolve this issue

Score: 0
Nuddel69 avatar
Installing ubuntu alongside windows on a separate disk AND partition
ru flag

I have two disks. One of them, 128 gb C: and almost completely full with windows installed. The other, 1Tb D:, is used for general purpose storage. I've created a partition of about 250 GB on the latter disk and wish to dual-boot ubuntu with windows (not replace). I've read both of these threads on manual partitioning and separate drive installation but neither of them seem to be answering my specific q ...

Score: 0
hasan ramp avatar
How to assign unallocated space to ubuntu partition
bd flag

I wanted to give the ubuntu partition some more space from the windows partition, so I removed some space from the windows partition. I want to ask how do I allocate the free space to the ubuntu partition. I read a lot of similar questions asked but I didn't understand and some didn't work for me.

So here is the problem. There is 58 GB of free space and when I try to resize the ubuntu partition t ...

Score: 0
Vineet K avatar
I am installing ubuntu on virtual box and getting warning that computer has not detected any OS and will erase all files, is it safe
us flag

I have not created any partition for ubuntu in my windows 7 machine. is it safe to proceed without backup

AFTER going to next step, I am getting

below commands

the partition tables of following devices are changed SCSI3 0,0,0 sda

the following partiotions are ging to be formatted partition 1 of SCSI3 0,0,0 , sda as ext4

Score: 0
Yasha Karant avatar
exfat partitioning, resizing support for 20.04 LTS
cn flag

I have found Why is exfat greyed out in gparted? in which it is stated:

For GParted version v1.2.0 and above (Ubuntu 21.10 and above)

exFAT support was added in version 1.2.0 of GParted.

Is there any backported support to LTS for the ability to resize and add partitions to an exfat device (in this case, a CFExpress card accessible through USB -- the gparted in 20.04 can "see" the card, but not manipul ...

Score: 0
jibjab3344 avatar
How do I resize/re-partition my hard disk after deleting Oracle Virtual box?
us flag

I downloaded Virtual box, installed Windows 10 pro on the virtual machine I had allocated 100GBs of disk space to. When going to disks > highlighting the UBUNTU partition (1TB) clicking on the cogs and selecting 'resize', it shows the 100GB portion of the disk reserved for the VM highlighted in black and won't let me resize the partition to include it.

Will it do so automatically after I delet ...

Score: 1
manos avatar
I have two grub.cfg files
cn flag

I'm trying to dual-boot Windows 10 and Kubuntu but since I tried setting grub as my boot manager with bcdedit /set "{bootmgr}" path \EFI\ubuntu\grubx64.efi in Windows' BCDEdit, my screen is Black until I log in to Windows (no BIOS POST or Grub menu). I just found out that I have to grub.cfg files. One in /boot/grub/grub.cfg on my / Partition and one on an unnamed FAT32 boot partition under \EFI\ubuntu\ ...

Score: 0
bardana avatar
Move unused space to root or home - installation went wrong
pk flag

I made screenshots of Gparted

Image 1 Can I get that unused space in to the root partition? Can I delete the EFI system partition to get the space?

Image 2 Can I delete the EFI system partition Can I delete the Microsoft Reserved partition

I would like to delete unnecessary partitions and get the space too the root.

This part is solved. I linked my f ...

Score: 1
DarK_FirefoX avatar
Grub not recognizing Windows after fresh Ubuntu install on new drive
pe flag

I know this is a very common question but none of the answers I read worked for me so far. I have two M.2 NVMe SSD. I have installed Windows 10 in one, and wanted to install Ubuntu 20.04 on the other one. I figured the safer way for me to do it was to unplug the Windows drive and do a fresh install. Then, plug it in and run sudo update-grub for it to recognize the Windows install in the other drive.

Score: 0
HenriqueCouto avatar
Disk Storage - I believe my HDD still has Windows' remnants (I want them out)
id flag

So, I have been messing with a spare HDD I have lately. I realized that, for some reason, I have a /dev/sda1/ .fat32 partition, which is flagged as boot, on my HDD. I previously worked with Windows. I thought I had removed everything as I started my enterprise on changing distros. I searched quite a lot, and perhaps I have used the wrong keywords, or searched for the wrong questions, to no avail. I hope ...