You are not logged in.
Pages: 1
Is it possible to install slitaz on a partition with btrfs?
Two packages are installed: btrfs-mkfs, btrfs-prog.
When I try to install slitaz get an error message:
20 Preparing target disk...
Preparing target partition...
/dev/sda2: The partition will be cleaned...
Creating mount point: /mnt/target
mount: wrong fs type, bad option, bad superblock on /dev/sda2,
missing codepage or helper program, or other error
I want to get the system restore points. Is it possible to slitaz?
Offline
Maybe install util-linux-mount beforehand?
Offline
Thank you, but the package util-linux-mount is already installed.
Offline
Can you try to format the partition by hand, then mount it with explicit [c]-t btrfs[/c] option?
Offline
root@slitaz:/home/tux# mount -t btrfs /dev/sda2 /mnt/target
mount: wrong fs type, bad option, bad superblock on /dev/sda2,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
Offline
What is the result of:
# blkid /dev/sda2
And/or
# tazpkg get-install btrfs-progs
# btrfs check /dev/sda2
Offline
Sorry.
At first:
root@slitaz:/home/tux# mkfs.btrfs -f /dev/sda2
btrfs-progs v4.1
See http://btrfs.wiki.kernel.org for more information.
Label: (null)
UUID: 84d3d083-1920-4052-832e-87afc2402553
Node size: 16384
Sector size: 4096
Filesystem size: 7.50GiB
Block group profiles:
Data: single 8.00MiB
Metadata: DUP 391.94MiB
System: DUP 12.00MiB
SSD detected: no
Incompat features: extref, skinny-metadata
Number of devices: 1
Devices:
ID SIZE PATH
1 7.50GiB /dev/sda2
root@slitaz:/home/tux# mount -t btrfs /dev/sda2 /mnt/target
mount: wrong fs type, bad option, bad superblock on /dev/sda2,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
And then:
root@slitaz:/home/tux# blkid /dev/sda2
/dev/sda2: UUID="84d3d083-1920-4052-832e-87afc2402553" UUID_SUB="8b41d0da-d489-46a1-810d-c7214dcb9c2e" TYPE="btrfs" PARTUUID="acf64f07-02"
root@slitaz:/home/tux# btrfs check /dev/sda2
Checking filesystem on /dev/sda2
UUID: 84d3d083-1920-4052-832e-87afc2402553
checking extents
checking free space cache
checking fs roots
checking csums
checking root refs
found 114688 bytes used err is 0
total csum bytes: 0
total tree bytes: 114688
total fs tree bytes: 32768
total extent tree bytes: 16384
btree space waste bytes: 109017
file data blocks allocated: 0
referenced 0
btrfs-progs v4.1
Offline
And with
$ grep btrfs /proc/filesystems
Offline
root@slitaz:/home/tux# grep btrfs /proc/filesystems
btrfs
Offline
Pages: 1
[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]