Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Mounting NetBSD partition on voidlinux
Also, linux doesn't have fsck_ffs and debian had support for ufs in ufsutils a long time ago.
I highly recommend that for such cases you have a small standalone source which can be built for correcting such errors which can perhaps have disklabel, fsck_ffs, etc. A user can use it locally!
Thanking you
Sagar Acharya
https://humaaraartha.in
21 Jun 2023, 17:47 by sagaracharya%tutanota.com@localhost:
> I have no clue on the wedges thing.
>
> dmesg shows these errors while mounting.
>
> ufs: ufs_fill_super(): fragment size 0 is not a power of 2
> ufs: ufs_fill_super(): fragment size 8192 is too large
>
> Thanking you
> Sagar Acharya
> https://humaaraartha.in
>
>
>
> 21 Jun 2023, 16:58 by mp%petermann-it.de@localhost:
>
>> Hi,
>>
>> On 21.06.23 12:16, Martin Husemann wrote:
>>
>>> On Wed, Jun 21, 2023 at 12:12:35PM +0200, Sagar Acharya wrote:
>>>
>>>> My NetBSD system has gotten corrupted. How do I mount my NetBSD partition on voidlinux?
>>>>
>>>
>>> The typical recovery doesn't involve any other OS. If your kernel
>>> works and finds the / partition you can "boot -sa" and select
>>> /rescue/init as init replacement, then fix things from there.
>>>
>>> If that doesn't work, just boot a USB installer and escape to shell,
>>> then fix whatever needs fixing.
>>>
>>
>> I fully agree to what Martin said. Just for the case you still want to access to FFSv2 from Linux, this is from my notes as I once had a similiar case*):
>>
>> ```
>> $ sudo mount -t ufs -o ro,ufstype=ufs2 /dev/sdf1 /mnt
>> ```
>>
>>
>> Kind regards
>> Matthias
>>
>>
>> *) try to find a low-barrier, sustainable emergency access method to my FFSv2-formatted external USB backups for my family. Found out that giving them a live Linux System to boot from USB media was the easiest way. Another option I considered was ufs2tools for Windows (https://ufs2tools.sourceforge.net/) but this seems unmaintained.
>>
>
>
Home |
Main Index |
Thread Index |
Old Index