Persistent Linux USB won't boot... getting weird error screens, maybe related to UEFI

thedonquixotic

Distinguished
Jun 13, 2008
214
0
18,690
Okay, so I'm an artist/designer. I work with digital media, and know a little code, and build my own computers, but I am by no means a terminal savvy code wiz. I wanted to try out using some recent neural network projects from Github for some art projects, but they've only been built for Unix, so I decided to make a persistent USB drive.

I made one, but the max storage you can give it, with casper-rw, is 4 gigs. The neural network takes up about 6 gigs of space, so I needed to make a larger size. I tried expanding the size using gpart, but ran into some problems. So I decided to just start over, format es4 and just do a full install on the usb drive. I tried this, and it I got some weird error messages. I did research online and it seems to have something to do with UEFI or something like that? I'm supposed to disable it? But that isn't working. If I disable UEFI I just get a blank black screen with a blinking underscore. If I don't then I get this: http://i.imgur.com/OWvunLO.jpg Please ignore the dorky reflection. I did not know any other way to take a screenshot of my tablet monitor while in a boot mode like that.

My specs are in my signature.

I was able to get the live cd usb persistent thing working fine, it's this full install on the usb drive that isn't working. I thought about also doing an install on an external usb ssd drive I have, but I'd really prefer if I could get this 32gig flash drive working with a persistent Linux since I have some other things I'd like a portable persistent desktop drive for. Any thoughts?
 
I suppose the 4gb restriction comes from the fact that Casper persistent storage is a file system within an ordinary file in FAT32 file system (the file system your USB key is formatted at). I don't think UEFI, or BIOS has anything to do with it - it's a 4GB file on a FAT32 file system.

I would try booting live Linux off NTFS or EXT2/3/4 -formatted USB key. I cannot give precise instruction how to do it, but it's probably worth a try.
 

thedonquixotic

Distinguished
Jun 13, 2008
214
0
18,690
I couldn't find a way to disable secure boot.

The casper thing is supposed to be fixed by created a seperate ext4 partition that it reads to. It seems that the instructions I was reading were for Ubuntu 13, and I'm using 14. I don't know if 13 will work with the neural network but I'm going to try and see if that works.
 


http://www.manualslib.com/manual/680368/Msi-Z87-G41-Pc-Mate.html?page=71

the option should be placed similarly in the BIOS.

https://www.youtube.com/watch?v=FuPDcbPWIG4
 

thedonquixotic

Distinguished
Jun 13, 2008
214
0
18,690
So I got to make a bootable drive with an extended ext4 partion but for some reason when installing stuff it won't show, and I'm no longer getting the messages that were related to the secure boot stuff. It looks like secure boot is turned off when Windows 8 stuff is turned off, which it is, so I don't think secure boot is on anyway.