Re: Mount btrfs from initramfs as /

Paul Schyska
2008-08-22T17:04:03Z

Jeff Schroeder <jeffschroed <at> gmail.com> writes:

> You can find out the UUID with either of these commands
> # blkid /dev/sda3
> # vol_id -u /dev/sda3
>

Thank you for this info.
blkid shows:
/dev/sda3: UUID="59d5f4f0-b746-4147-900c-a1ca0af47c85" TYPE="xfs"
while df -T shows:
/dev/sda3 btrfs 40001848 20046168 19955680 51% /mnt/sda3

how is that possible?
Also, I just had a very odd situation where i accidentally changed fstab on
/dev/sda4 to mount /dev/sda3 as /.
The initramfs with root=/dev/sda4 then booted me to /dev/sda3 as /. However,

initramfs with root=/dev/sda4 did not boot and showed the error described above.
I think I can nail down that problem to the initramfs now ...