Trisquel just died on my Libreboot X60, I only get a busybox promt. fsck does not work this time. Please help me.

8 réponses [Dernière contribution]
northernarcher
Hors ligne
A rejoint: 12/24/2014

This has happened to me once before, but doing
fsck /dev/mapper/trisquel--vg-root
Fixed it back then. This time when I try it I get an error2 error, file not found. There's nothing in that folder now except a file called control that I can't do anything with.
I really need this laptop for school and work, I'm typing this on my phone now.
Please help me. I don't know what to do to repair this.

Pièce jointeTaille
20180930_121110.jpg1.63 Mo
Magic Banana

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/24/2010

Can't you access your data through a live system (and back them up!)?

northernarcher
Hors ligne
A rejoint: 12/24/2014

I might be able to. I can boot xbuntu successfully and access the drive from xbuntu, but not my home folder, so I'd really like to get this fixed.

northernarcher
Hors ligne
A rejoint: 12/24/2014

I'm trying different solutions but they are not working and producing weird results. I don't know what to do.
After 3 years of service my Trisquel install has stopped booting and instead gets stuck at a busybox prompt.

https://file0.s3kr.it/0fa85bdc6931.jpg

There is nothing special about the install other than that I am using LUKS, but Trisquel set that up for me. I put xbuntu on a thumbdrive and booted from that so I could try things from this guide:

https://www.cyberciti.biz/tips/surviving-a-linux-filesystem-failures.html

Using fsck on the drive and its partitions only made it return the version number of fsck.

https://file0.s3kr.it/e5370911d1f0.jpg

Using mke2fs on the drive and its partitions seeminly worked a couple partitions but one of them have a superblock error.

https://file0.s3kr.it/83cf6df65910.jpg

I used the backup superblocks it says it has, but it says those have "bad magic numbers" and I don't have any idea what that means anymore.

https://file0.s3kr.it/b4e6af339191.jpg

Please help me. I don't know what to do.

Magic Banana

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/24/2010

After 3 years of service my Trisquel install has stopped booting and instead gets stuck at a busybox prompt.

It looks like the disk is dying: that has little to do with Trisquel.

Using mke2fs on the drive and its partitions seeminly worked a couple partitions

Do you realize you are formatting your partitions? Do you have a recent backup of your data? Do you actually want to recover data (if so, using 'mke2fs' is not the way to go!)?

Until you buy a new disk you can use a live system (to work on the data you backed up... right?). If you want to recover data, try PhotoRec (that you can install in a live system).

northernarcher
Hors ligne
A rejoint: 12/24/2014

I specifically tried unmounting all the partitions, but it says nome of them are mounted. So I don't know how I can get an error saying it's in use. I'm stuck here.

northernarcher
Hors ligne
A rejoint: 12/24/2014

root@xubuntu:~# e2fsck -f /dev/sda5

e2fsck 1.42.13 (17-May-2015)

/dev/sda5 is in use.

e2fsck: Cannot continue, aborting.

Is there some other way the disk can be in use when it's not mounted?

northernarcher
Hors ligne
A rejoint: 12/24/2014

Anyone? Please?

bandicooty98
Hors ligne
A rejoint: 12/14/2017

The reason you can't check your file system according to the instructions uboot gave you is because there is a LUKS volume located at /dev/sda5. You need to unlock it first, by running "cryptsetup luksOpen /dev/sda5 whatever" (or the the mapper name you chose). It will then be mapped to "/dev/mapper/whatever (again, depends on which name you chose for the mapper). You can then run "fsck /dev/mapper/whatever" in order to fix file system issues.