Live USB Issues

4 respuestas [Último envío]
Time4Tea
Desconectado/a
se unió: 07/16/2017

I'm trying to create a live USB on Trisquel 7, following the methods given on this wiki page and I seem to be having some issues.

If I use the Startup Disk Creator tool, the USB doesn't seem to boot properly through Libreboot. The same thing seems to happen, regardless of whether or not I enable the persistent storage.

If I use the 'dd' method to just copy the ISO file, the USB does boot. However, I was hoping to make it persistent and I'm not sure how to do that using this method. If I go into gparted (to try to resize the partition), it doesn't seem to recognize any partitions on the USB (presumably the 'dd' command over-wrote the partition table?).

Has anyone else experienced this, or know how I can make a persistent USB in Trisquel?

SuperTramp83

I am a translator!

Desconectado/a
se unió: 10/31/2014

brief search turned out this linky, the procedure should work

https://www.linux.com/blog/creating-debian-live-usb-flash-drive-persistence-non-techies

Time4Tea
Desconectado/a
se unió: 07/16/2017

Thanks for the link, SuperTramp83. However the link to the Debian img file in that article doesn't work - it seems they have removed the /current-live/i386/usb-hdd folder. I tried that same procedure before though, using a Trisquel Mini ISO, and the result was bootable on my machine; however, I wasn't able to resize the partition in gparted. Gparted wasn't able to find the partition at all, which led me to believe that the partition table had been overwritten during the dd process.

Interestingly, I made an EFI-bootable Trisquel Mini USB, using Universal USB Installer on Windows, and that seemed to boot up ok through Libreboot. It didn't have any persistence though.

Time4Tea
Desconectado/a
se unió: 07/16/2017

As a general question: can Libreboot boot up using EFI-mode, as well as legacy BIOS mode? E.g. if I connect a USB or external HDD that is configured to boot with EFI, can Libreboot boot it?

akito
Desconectado/a
se unió: 05/10/2017

I create my own Debian Live USB-HDD Images. I haven't tried creating a custom trisquel image because I do not have any storage devices. To create persistent volume I just partition it using gparted or parted and set the name to persistence the filesystem to ext3 or ext2 (flash friendly) and create a file in the root directory of that partition a persistence.conf that contains the line: / union
If you want to add a encryption to that partition then you need the cryptsetup package for LUKS, formatting the partition to a LUKS container: $ sudo cryptsetup luksFormat /dev/sdXZ then opening it $ sudo cryptsetup luksOpen /dev/sdXZ encrypted after that making the filesystem: $ sudo mkfs.ext3 -L persistence /dev/mapper/encrypted and adding the persistence.conf file with the content / union. I use syslinux so I install it to the flash drive's primary partition: $ sudo syslinux -i /dev/sdXY also dd'ing the MBR of syslinux to the drive $ sudo dd conv=notrunc bs=440 count=1 if=/usr/lib/syslinux/mbr/mbr.bin of=/dev/sdX

this tutorial works in debian but I do no know if it will work perfectly with trisquel but since trisquel is based on ubuntu which is based on debian I think it will work. You can download the tutorial in the attachment

AdjuntoTamaño
Live_TUT.pdf 85.68 KB