Hot answers tagged

4

Linux pretty much ignores partition types, it cares more about the content on those partitions. So you don't need a swap partition type to use swap in Linux, and thus there is no issue with LVM not having partition types either. But you have to use the correct partition type to stop Windows from attempting to format your Linux data/swap partitions... it's ...


2

The root filesystem is passed to the kernel upon boot using the root argument. So you should be able to: cat /proc/cmdline and then look for root=/some/path, or perhaps root=UUID=longstring. For instance, I get: BOOT_IMAGE=/boot/kernel-genkernel-x86_64-4.4.0-sabayon root=UUID=18f3b5a1-3994-43ef-ad6d-cb4c86ff5f95 ro quiet splash If it's a path, it ...


2

As your md2 is not empty, the easiest way is to rsync the data from /var to the new partition and then make a soft link: rsync -xav /var /home/VAR mv /var /var.org ln -s /home/VAR /var This would be best done when booted from a live distro (with mounted md1 and md2 and adapted paths), if that is not possible, you might want to rsync another time in ...


2

If you have LVM on it, the easy way out is to make a new partition of the free space, set it up as physical volume in LVM and add that physical volume to your volume group. You're probably right that gparted won't touch the partition as it is in use.


1

You are not booted in EFI-mode. Can you disable Secure Boot -- it could be falling back to "Legacy" mode in the absence of a correctly signed kernel image and bootloader. And if you have already disabled Secure Boot, this means that you motherboard do not allow UEFI. The reason why this step is vital is that Legacy boot use MBR and UEFI mostly use ESP. So, ...


1

The specification in ยง5, starting on PDF page 165, gives the layout of an MBR partition table. It does not mention the extended partition, so UEFI does not support it. Thus, according to the standard, would appear to be "no". (I confess to not having read all 2700 pages).


1

UUIDs solved my problem, which was the same as your problem. The following excerpt from the Arch Wiki is very helpful: If your machine has more than one SATA, SCSI or IDE disk controller, the order in which their corresponding device nodes are added is arbitrary. This may result in device names like /dev/sda and /dev/sdb switching around on each boot, ...


1

This is not a definitive answer, but looking at the latest sources for partman, which seems to be one of the underlying tools that you are going to be running, it seems only powers of 1000 suffixes are used and understood, so "1GB" means 1000,000,000 bytes. You can browse the sources here, in particular the file base.sh which has the function longint2human ...


1

Debian installer will show 5 GB as power of 1000 (SI prefix base-10), which means user can immediately know 5 GB is 5*1000*1000*1000 bytes. Before installation Just yesterday, I had Debian 8.2 Xfce desktop release installed on my old test machine. The machine has a 60 GB hard disk, which I had setup manually to create 2.0 GB swap and 10.0 GB ext4 primary ...


1

I'm assuming your goals are to: make as much space available for the users as possible not run out of disk space anywhere else and have to take the server down to resize them at a critical time If that's true, I'd recommend swapping the drives in sda and sdb and using the now-500GB sdb purely for /home. Then you can divide up the 300GB sda however you ...



Only top voted, non community-wiki answers of a minimum length are eligible