Closed Lem closed 9 years ago
Please ignore the fact that I did not format the luks-container on sda2, same problem would appear even if it would be formated.
A partition cannot be mounted if it does not contain a filesystem. I will add a check for mounting an unformatted partition.
You cannot run ls
on an unmounted device (even if it had a filesystem).
setup-disk
correctly detects the boot device is not mounted & exits.
I know that I can't list the content of a device with ls $DEV
. My intention was to show that the new created partition sda1 is not accessible via /dev.
Even if it does not contain a file-system the partition should be shown as a device.
Expected: sda1 + sda2 in /dev
Problem: Only sda2 is available. sda1 listed by most tools (lsblk, cat /proc/paritions, ...) but not found in /dev
Background: Using a fresh harddrive-image via virtualbox
Some more output: