how to install Trisquel 8 on an USB stick or micro SD?

10 risposte [Ultimo contenuto]
Masaru Suzuqi
Offline
Iscritto: 06/06/2018

Hi. I would like to do that, but failed 3 times. My SSD was somehow broken. I tried it on the X60s with a bootable USB stick (try Trisquel without installing). I lost almost all of the raw images of my works (paintings). Each time installing seems to be done normally. The iso image seems to be on it. But it does not boot or load unlike the bootable USB stick. Is that possible? or do I need something else? Thank you for always helping such me.

nadebula.1984
Offline
Iscritto: 05/01/2018

If I'd like to install Trisquel (or any other distribution) on a USB storage device, I'd first prepare two USB storage devices. Create an installation media using one of them and then use said installation media to perform the installation to the other (destination).

The process of installation is essentially the same as normal installation (to internal hard disk/SSD). Just keep in mind that you need to install boot loader to the correct device.

Non-journaling file system such as ext2 is recommended when you install the operating system to a USB storage device.

Finally, I'd like to save most of my important data on a (magnetic) HDD rather than SSD. When the SSD fails, it's much harder to recover the data.

Magic Banana

I am a member!

Offline
Iscritto: 07/24/2010

The problem with USB sticks or SD cards is that they have much shorter lifespans when you write a lot onto them. Non-journaling filesystems (as nadebula.1984 suggests) help... but bring their own risks of losing data, for instance in case of power cut during a write. If your hard disk is failing, the best is to acquire another one. They are rather cheap nowadays: ~50€ for a 1-TB HDD.

Masaru Suzuqi
Offline
Iscritto: 06/06/2018

It failed another few times. I have tried to re-install Trisquel on the SSD but it did not boot neither. So I think even if I bought the new HDD, installing on it will fail.
I do not understand why only the bootable USB device works. Are not they using the same grub or grub loader or something I don't know well? Or the bootable USB devoce uses its own bootloader or grub bootloader or somethting independently from libreboot and grub?

Magic Banana

I am a member!

Offline
Iscritto: 07/24/2010

It failed another few times. I have tried to re-install Trisquel on the SSD but it did not boot neither. So I think even if I bought the new HDD, installing on it will fail.

Not if the problem comes from the SSD itself: test the hardware. For instance with GNOME Disks. The package, named "gnome-disk_utility" in Trisquel's repository, can be installed from a live system. Select the disk in left-hand pane, "Smart Data & Self-Tests..." in the burger menu (the three stacked segments), click on the "Start Self-test" button and choose "Extended".

nadebula.1984
Offline
Iscritto: 05/01/2018

You'd better first solve your boot firmware problem.

Again, coreboot is strongly recommended, because libreboot hasn't been maintained for a long time.

Masaru Suzuqi
Offline
Iscritto: 06/06/2018

> For instance with GNOME Disks.

Please see the attached photo. Should this configuration work? It is written "Filesystem Partition 5 3.0 GB Ext2" in the lower center partition.

> You'd better first solve your boot firmware problem.

But how?? And I think it is almost impossible for me to install coreboot.

B874B5C9-EFBA-4BC7-AAA0-1E319B49C251.jpeg
nadebula.1984
Offline
Iscritto: 05/01/2018

Maybe your hard disk or SSD was intact but it failed to boot due to certain misconfiguration of the boot firmware. (You said that you've made certain modification to the boot firmware and it no longer boot from internal hard disk/SSD.)

Because libreboot hasn't been updated or maintained for a long time, and since the libreboot project leader has bankrupted and therefore is unable to provide much help (documentation), the best option is to re-flash coreboot, which is under active development and well supported.

Since you already have libreboot, the write protection (an anti-feature imposed by the OEM in order to prevent users from modifying firmware) is gone. You can try to flash coreboot under Live environment to revive your computer. I have just asked one of the contributors of coreboot, so I'm sure that it is possible for you to flash coreboot without disassembling your computer and using an external computer.

See documents on coreboot.org for more details.

Masaru Suzuqi
Offline
Iscritto: 06/06/2018

> You said that you've made certain modification to the boot firmware and it no longer boot from internal hard disk/SSD.

I'm not sure about it.

> the libreboot project leader has bankrupted

I didn't know that. What a mess. Maybe we should buy something from Minifree to help the leader? Maybe what only I can afford to buy is only a sticker or the USB device or else, though.

> the best option is to re-flash coreboot,

I'm not sure about it neither. I almost just wanted to avoid establishing network connection... also even sticking the USB device. But I cannot help that. OK.

> I have just asked one of the contributors of coreboot,

Thank you. I assume I can handle it without troubles. I will give it a try.

nadebula.1984
Offline
Iscritto: 05/01/2018

Minifree is already history. You no longer have the opportunity to buy anything from there.

As for the boot firmware, I could ask whether any contributor could build an image for you.

Ignacio Agulló
Offline
Iscritto: 07/30/2019

On 01/04/20 05:28, wrote:
> the libreboot project leader has bankrupted a

Oh no! Terrible news for Free People.

--
Ignacio Agulló · name at domain