Re: Easiest way to move from BTRFS to EXT4 without losing data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Wed, Jun 16, 2021 at 12:22 AM Chris Murphy <lists@xxxxxxxxxxxxxxxxx> wrote:
On Tue, Jun 15, 2021 at 8:54 AM Sreyan Chakravarty <sreyan32@xxxxxxxxx> wrote:
>
>
>
> On Tue, Jun 15, 2021 at 2:42 AM Sreyan Chakravarty <sreyan32@xxxxxxxxx> wrote:
>>
>>
>>
>> On Tue, 15 Jun 2021, 1:27 am Garry T. Williams, <gtwilliams@xxxxxxxxx> wrote:
>>>
>>> On Monday, June 14, 2021 3:50:57 PM EDT Joe Zeff wrote:
>>> > On 6/14/21 1:12 PM, Sreyan Chakravarty wrote:
>>> > > I mean if I backup from BTRFS can I restore it into ext4 ?
>>> >
>>> > Your backup software neither knows nor cares how your filesystem is
>>> > formatted, so of course you can.  Unless, of course, you're cloning the
>>> > partition, in which case a restore will overwrite the partition with the
>>> > original formatting.
>>>
>>> I'm pretty sure Chris was correct.  You system is set up to boot from
>>> the btrfs file system -- not ext4.  Changing the file system will
>>> result in needed changes in boot loader, fstab, etc.
>>>
>>> Restoring to an ext4 file system will not result in a bootable system.
>>
>>
>> How does this sound?
>>
>> I make a complete tar backup of my system.
>>
>> Reinstall F33 to ext4.
>>
>> Restore that tar, of course fstab and crypttab needs to be corrected.
>>
>>
>> Will this work? Does it make any sense?
>
>
>
> So will this work ? Any feedback ?

Probably not  because it'll step on valid bootloader things with stale
copies. If you avoid stepping on anything in:

/boot
/etc/grub* 
It might work... but you'll still have kernels that rpm database says
are installed that aren't installed; you'll have stale boot entries
for kernels that aren't installed and thus won't work. None of it will
get cleaned up on its own.

 
I will be reinstalling the bootloader also. Even then is it doubtful ?

--
Regards,
Sreyan Chakravarty
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux