all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Repairs to USB drive prevents booting
@ 2020-01-24 23:04 Platoxia via
  0 siblings, 0 replies; only message in thread
From: Platoxia via @ 2020-01-24 23:04 UTC (permalink / raw)
  To: help-guix@gnu.org

I've had intermittent problems with a USB drive that finally resulted in my
having to boot up Trisquel to repair a bad superblock (magic number problem),
which resulted in a lot of blocks being moved around on that drive.

I don't know enough about how all the low level drive stuff works to properly
explain what is wrong but I assume Guix is looking for the bad superblock that
was moved/rebuilt during the repair...or something related.

The error I get when trying to boot up Guix:

e2fsck: no such file or directory while trying to open /dev/sdi1

file system check on /dev/sdi1 failed

By the way, the drive is connected and works fine with my Trisquel install after
the repair but will be scrapped in favor more internal drives (can't be trusted).

This drive happens to be included in my guix configuration file's file system
declaration, which means it is automatically added to fstab and which can't be
manually edited since it is maintained by guix.

I have the data from the failing drive backed up and need to remove the failing
drive from my guix configuration file then reconfigure the system in order to
boot it up.

I've tried mounting the disk from my Trisquel install and manually changing
fstab...which is of course overwritten once the config files are loaded by
guix during boot.

I've tried mounting and chrooting to my guix install from a 1.0.1 installation USB
to try to reconfigure the system with the drive removed from the configuration
file but I can't get it to work. I'm thinking it isn't possible but I don't know
enough to know for sure.

I've backed up the data from the failing drive and can wipe it if that will help
boot up guix but if it is looking for the superblock based on its previous location
on the drive it won't ever find it. All indication is that all the backup superblocks
have changed location as well. I'm not sure exactly what e2fsck is looking for
and not finding at this point, TBH.

At any rate, I have backed up all data from my Guix install and have some new
hard drives on order and am planning on reinstalling the entire system into a
4+ drive raid 10 either with mdadm or btrfs, or maybe btrfs on top of an
md raid (still looking into it).

This is all on my home system and I'm just a tech hobbyist at best so any
advice on either how to get my current Guix installation to boot or on how
to best use (or not) raid 10 for a new install will be well received.

Best Regards,
Platoxia

Sent with [ProtonMail](https://protonmail.com) Secure Email.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-01-24 23:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-24 23:04 Repairs to USB drive prevents booting Platoxia via

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.