Tuesday, January 3, 2017

boot - Persistent USB with more than 4Gig guides not working?

Ok i know this has been asked on the forum more than ones and i have read and tried the two guides i've found plus one on Pen-Drive. I would also rather have commented on the posts i found but i can't comment till i have 50 Rep points but i can edit the original post i'm trying to comment on, makes no sense but cool that is how the forum is run.



The three guides i've found is:



How to make a persistent live Ubuntu USB with more than 4GB




Trouble With Persistence After Making a USB Live Thumb Drive Using Pendrivelinux



Create a Larger than 4GB Casper Partition



The problem i'm having is non of these seem to work, i've tried them with Ubuntu and Kubuntu 16, 12 and 11 since the one comment on the 1st link also said he can't get it working on anything over 14.



Problem i have is i either end up with the Illegal OpCode Red screen of death, the install not detecting persistence at all and asking to try or install linux each time it boots, i've had the can't mount /dev/sda2 on /cow, or i get a black screen saying initramfs.



I have tried almost all the fixes i could find the comment of topics based on the errors.




I have tried Universal-USB-Installer, live-usb-installer, linuxlive usb creator, a month or so back a program called rufus or something.



All the guides and apps work until it gets to the part where i delete the casper-rw file



I even came across this post: Unable to boot Ubuntu Live USB Flash Drive with casper-rw persistent partition tried all the steps the user gave in the comments (araghuteja) and after i delete the casper-rw file i get the back screen initramfs again.



I'm currently trying the comment by Yu Jia Cheong but i'm stuck on step 3 and on of her comment:





3) Boot up with the new USB. Open
/usr/share/initramfs-tools/scripts/casper with root to edit (sudo).
Change the function setup_unionfs() to the following :
https://launchpadlibrarian.net/258626969/casper%20function.txt



4) sudo update-initramfs -u (Had to uninstall cryptsetup to do this)



5) Copy the generated initrd.img file from /boot to another location.



6) From another OS, delete the casper-rw file in the USB. Copy the

initrd.img back to the live partition and change menu item to use the
newly built initrd.img.



The next time you boot up from USB, it should now bootup from the
casper-rw partition.



This worked for me for 16.04 after a long frustrating time searching
for the solution!





I don't know if i'm just too tired of reading at this point and my eyes are reading what i want to read and not what is written but the file mentioned looks the same to me as the one the link point to.



And if i run step 4 after i close the file i get a error message...



Does anybody have any idea where I'm messing this up?



Thanks for the Time...

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...