Windows 10 | delete recovery partition
Call diskmgmt.msc and check it for disk/partition infos. Call diskpart. If disk id is 0 run and If your partition id is 3, run
Call diskmgmt.msc and check it for disk/partition infos. Call diskpart. If disk id is 0 run and If your partition id is 3, run
# da0 has failed # da1 is running # zroot is the pool # da0p3 is the name of the mirror member you got via zfs status zroot # clear the errors zpool clear zroot # REPLACE THE DISK da0 with a new one # NOW: # da0 is the virgin # da1 is already […]
Fill you enpty space witn zeros. dd if=/dev/zero of=/zero.txt rm -f /zero.txt Then dd your device: dd if=/dev/sdX of=mydisk.img conv=spars bs=512
In some recent qemu versions there is a problem while creating sparse disks using the virt-manager. Normally the qcow2 format always allocates space dynamically (sparse), but some qemu versions fail at this, they create disks with full expected size. Solution: The easy way: Backup your old qcow2 image. Then do apt-get install libguestfs-tools virt-sparsify kvm_backup/debian_mssql.qcow2 […]
e2label /dev/xxx LABEL
ATTENTION! Your default kernel always uses the root device per default from which he origins. This is hardcoded. You can change this at boot time using the boot -a (man boot) command at the boot prompt. It is NOT possible to script this (even using the /etc/boot.conf). This is not really a problem, if your […]
#!/bin/sh DISKLABEL=$(which disklabel) FDISK=$(which fdisk) DUMP=$(which dump) RESTORE=$(which restore) NEWFS=$(which newfs) MOUNT=$(which mount) UMOUNT=$(which umount) DUMP=$(which dump) RESTORE=$(which restore) MNT=”/mnt” LABEL=”/tmp/label” if [ $# -lt 2 ]; then echo “usage: do_clone.sh FROM TO” echo “example: do_clone.sh wd0 wd1” exit fi SRC=$1 $DISKLABEL $SRC > /dev/null || exit TAR=$2 $DISKLABEL $TAR > /dev/null || exit #echo […]
ATTENTION! Your default kernel always uses the root device per default from which he origins. This is hardcoded. You can change this at boot time using the boot -a (man boot) command at the boot prompt. It is NOT possible to script this (even using the /etc/boot.conf). This is not really a problem, cs if […]