![]() |
Install to USB out of space - Printable Version +- Linux Lite Forums (https://www.linuxliteos.com/forums) +-- Forum: Software - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=5) +--- Forum: Installing Linux Lite (https://www.linuxliteos.com/forums/forumdisplay.php?fid=17) +--- Thread: Install to USB out of space (/showthread.php?tid=6218) |
Re: Install to USB out of space - Valtam - 06-01-2019 Much better, thanks. Yeah so what you need to do is find a tutorial that shows you how to do what is referred to as a persistence install. It's allows the USB to be partitioned correctly so that you don't run out of space so easily. Just Google 'Ubuntu persistent USB' There should be an abundance of tutorials to choose from. Sent from my Mobile phone using Tapatalk Re: Install to USB out of space - DeepThought - 06-01-2019 [member=7553]rondi[/member] you might find this tool useful: https://help.ubuntu.com/community/mkusb Re: Install to USB out of space - rondi - 06-02-2019 Thanks for the suggestion DeepThought--I'll wade thru that--with all it's versions if what I have done does not work. I just used Universal USB Installer with will add up to 4gb for persistence. I also split the 16gb in about half and added a exct4 partition labeled casper-rw. One of the sites said to delete the installed casper-rw, but when I did that--it would not boot. So I'm not sure if I will be able to use the ext4 partition. If not, I'll reformat it to fat32 for storage. My internet is soooo slow today--working on the towers I( guess. my current df -h results. Welcome to Linux Lite 4.4 linux Saturday 01 June 2019, 20:25:14 Memory Usage: 416/3871MB (10.75%) Disk Usage: 79/3GB (3%) Support - https://www.linuxliteos.com/forums/ (Right click, Open Link) linux ~ df -h Filesystem Size Used Avail Use% Mounted on udev 1.9G 0 1.9G 0% /dev tmpfs 388M 2.9M 385M 1% /run /dev/sdb1 8.2G 5.4G 2.9G 66% /cdrom /dev/loop1 1.3G 1.3G 0 100% /rofs /cow 3.9G 79M 3.6G 3% / tmpfs 1.9G 0 1.9G 0% /dev/shm tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup tmpfs 1.9G 32K 1.9G 1% /tmp tmpfs 388M 16K 388M 1% /run/user/999 /dev/loop0 3.9G 79M 3.6G 3% /media/linux/casper-rw /dev/sda2 158G 143G 16G 91% /media/linux/SSD System /dev/sdb2 6.3G 15M 5.9G 1% /media/linux/casper-rw1 Hopefully this will give me enough room to get the updates installed. Hopefully my inet will be fixed tomorrow. Re: Install to USB out of space - TheDead - 06-02-2019 Hi, I'm sure you have a reason to use a persistent USB key but you could also repartition your Windows 7 internal harddrive (shrink it down 16G or more), add a partition for Linux Lite in this new space and install there. Link to shrink partition:https://www.dummies.com/computers/pcs/how-to-shrink-a-hard-drive-volume-in-windows/ **NOTE : this will change your HDD boot sector, so I would suggest you backup an image of your whole HDD first to an external HDD, just in case. **NOTE2: I use a Clonezilla 2.60 "Stable" USB boot key currently for this kind of procedure (Beginner mode, savedisk). Link here :https://clonezilla.org/downloads/download.php?branch=stable Re: Install to USB out of space - rondi - 06-02-2019 TheDead--I will be using the stick on different computers. I do not want to loose settings, desktop, documents etc when switching. I just spent over 2 hours trying to install. My inet is ok today. I downloaded everything ok this time! It appears everything got unpacked, but the very end--line 2684 I got errors. I also included the last several lines of with no errors: : Setting up flashplugin-installer (32.0.0.192ubuntu0.18.04.1) ... Setting up cups-client (2.2.7-1ubuntu2.5) ... Setting up libraw16:amd64 (0.18.8-1ubuntu0.3) ... Setting up libopenconnect5:amd64 (7.08-3ubuntu0.18.04.1) ... Setting up linux-firmware (1.173.6) ... update-initramfs: Generating /boot/initrd.img-4.15.0-45-generic cryptsetup: WARNING: failed to detect canonical device of overlay cryptsetup: WARNING: could not determine root device from /etc/fstab cp: error writing '/var/tmp/mkinitramfs_r7cgxW//lib/x86_64-linux-gnu/libm-2.27.so': No space left on device cp: error writing '/var/tmp/mkinitramfs_r7cgxW/sbin/dmraid-activate': No space left on device cp: error writing '/var/tmp/mkinitramfs_r7cgxW/lib/udev/rules.d/97-dmraid.rules': No space left on device mkdir: cannot create directory ‘/var/tmp/mkinitramfs_r7cgxW//lib/modules/4.15.0-45-generic/kernel/drivers/char’: No space left on device cp: cannot create regular file '/var/tmp/mkinitramfs_r7cgxW//lib/modules/4.15.0-45-generic/kernel/drivers/char/agp/sis-agp.ko': No such file or directory mkdir: cannot create directory ‘/var/tmp/mkinitramfs_r7cgxW//lib/modules/4.15.0-45-generic/kernel/drivers/char’: No space left on device cp: cannot create regular file '/var/tmp/mkinitramfs_r7cgxW//lib/modules/4.15.0-45-generic/kernel/drivers/char/agp/sis-agp.ko': No such file or directory mkdir: cannot create directory ‘/var/tmp/mkinitramfs_r7cgxW//lib/modules/4.15.0-45-generic/kernel/drivers/video/fbdev’: No space left on device cp: cannot create regular file '/var/tmp/mkinitramfs_r7cgxW//lib/modules/4.15.0-45-generic/kernel/drivers/video/fbdev/core/sysimgblt.ko': No such file or directory mkdir: cannot create directory ‘/var/tmp/mkinitramfs_r7cgxW//lib/modules/4.15.0-45-generic/kernel/drivers/video/fbdev’: No space left on device cp: cannot create regular file '/var/tmp/mkinitramfs_r7cgxW//lib/modules/4.15.0-45-generic/kernel/drivers/video/fbdev/core/sysfillrect.ko': No such file or directory mkdir: cannot create directory ‘/var/tmp/mkinitramfs_r7cgxW//lib/modules/4.15.0-45-generic/kernel/drivers/video/fbdev’: No space left on device cp: cannot create regular file '/var/tmp/mkinitramfs_r7cgxW//lib/modules/4.15.0-45-generic/kernel/drivers/video/fbdev/core/syscopyarea.ko': No such file or directory mkdir: cannot create directory ‘/var/tmp/mkinitramfs_r7cgxW//lib/modules/4.15.0-45-generic/kernel/drivers/video/fbdev’: No space left on device cp: cannot create regular file '/var/tmp/mkinitramfs_r7cgxW//lib/modules/4.15.0-45-generic/kernel/drivers/video/fbdev/core/fb_sys_fops.ko': No such file or directory mkdir: cannot create directory ‘/var/tmp/mkinitramfs_r7cgxW//lib/modules/4.15.0-45-generic/kernel/drivers/gpu’: No space left on device cp: cannot create regular file '/var/tmp/mkinitramfs_r7cgxW//lib/modules/4.15.0-45-generic/kernel/drivers/gpu/drm/drm.ko': No such file or directory mkdir: cannot create directory ‘/var/tmp/mkinitramfs_r7cgxW//lib/modules/4.15.0-45-generic/kernel/drivers/gpu’: No space left on device cp: cannot create regular file '/var/tmp/mkinitramfs_r7cgxW//lib/modules/4.15.0-45-generic/kernel/drivers/gpu/drm/drm_kms_helper.ko': No such file or directory mkdir: cannot create directory ‘/var/tmp/mkinitramfs_r7cgxW//lib/modules/4.15.0-45-generic/ Results of df -h Welcome to Linux Lite 4.4 linux Sunday 02 June 2019, 10:42:49 Memory Usage: 428/3871MB (11.06%) Disk Usage: 3/3GB (100%) Support - https://www.linuxliteos.com/forums/ (Right click, Open Link) linux ~ df -h Filesystem Size Used Avail Use% Mounted on udev 1.9G 0 1.9G 0% /dev tmpfs 388M 3.0M 385M 1% /run /dev/sdb1 8.2G 5.4G 2.9G 66% /cdrom /dev/loop1 1.3G 1.3G 0 100% /rofs /cow 3.9G 3.8G 0 100% / tmpfs 1.9G 0 1.9G 0% /dev/shm tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup tmpfs 1.9G 64K 1.9G 1% /tmp tmpfs 388M 16K 388M 1% /run/user/999 I also had about 3 or 4 times when while installing the screen went blank--not sure why. A minute or so later the cursor appeared and then it asked for my login and password. Obviously this has never been set up, and more importantly I do not want to fiddle with logging in etc. I will look for how to disable it once the errors above are resolved. I have shut it down--- hoping it will boot correctly--enough for today.. Ron. Re: Install to USB out of space - minesheep - 06-03-2019 It is (still) possible to "install" linux lite to 16gb or bigger usb instead of using live version with persistence. Live version is simply not optimized to your purpose! install linux lite to other usb stick with your stick and if possible unplug your HDD/SSD before install to prevent any unwanted changes and be VERY careful. Re: Install to USB out of space - minesheep - 06-03-2019 Just unplug your HDD/SSD and connect one stick with live version and one stick with nothing important you want to save then install like you could install to HDD/SSD and after installing linux lite plug your HDD/SSD back. This will overwrite all data on the second stick! After installing linux lite to the second stick you can format the first one and use it to your needs Re: Install to USB out of space - Valtam - 06-03-2019 Looks like we need a clear tutorial for the Help Manual. I'll add one in before the next LL release. Re: Install to USB out of space - rondi - 06-04-2019 Jerry said "Looks like we need a clear tutorial for the Help Manual. I'll add one in before the next LL release." Thanks for the reply Jerry. I thought I had posted today's info--but I guess I closed the browser before I hit Post. I'll be happy to be the guinea pig/beta tester for your tutorial ![]() I booted without errors this morning. The first thing I did was run sudo apt autoremove. It listed 3 files to remove, which it did, and then proceeded to try and pick up from the install yesterday-- I guess,. It had lots of errors--almost all of which were No space left. I saved the .txt file of the result of autoremove, and of the df -h after the autoremove. I went to shut it down--and an error message popped up that the "Session Manager was not idle". I had no open apps--autoremove, screen shot, text editor were the only ones I used. I looked at processes and found nothing that resembled a Session Manager. So I had press the laptop power switch. It did boot up again for met to get the current df for you, since it was not a normal shutdown--the .txt file of the autoremove and df were not saved in Home/Documents. Here is the current df, which looks better. I was tempted to try another Install Updates---but I will wait for your instructions. Monday 03 June 2019, 18:33:32 Memory Usage: 386/3871MB (9.97%) Disk Usage: 3/3GB (86%) Support - https://www.linuxliteos.com/forums/ (Right click, Open Link) linux ~ df -h Filesystem Size Used Avail Use% Mounted on udev 1.9G 0 1.9G 0% /dev tmpfs 388M 2.9M 385M 1% /run /dev/sdb1 8.2G 5.4G 2.9G 66% /cdrom /dev/loop1 1.3G 1.3G 0 100% /rofs /cow 3.9G 3.2G 542M 86% / tmpfs 1.9G 0 1.9G 0% /dev/shm tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup tmpfs 1.9G 8.0K 1.9G 1% /tmp tmpfs 388M 12K 388M 1% /run/user/999 Also--since I have over 6gb left on the stick, formatted ext4 and the partition is labeled casper-rw--how do I get the casper-rw file to be located there? I followed the instruction on one the live persistence sites to delete the casper-rw file--but I could not boot after doing so. Another site have me edit grub.cfg to add the word "persistence" on a particular line and like the 3rd word in from the left. 4.4 does not have a grub.cfg in the grub folder. Almost all the sites I found were at least 2 years old--some 10yrs old. lots have changed since they were written! Could it be as simple as moving the file casper-rw to the directory casper-rw? Thanks again for your help Jerry, Ron Re: Install to USB out of space - Valtam - 06-04-2019 You can try this - https://www.linuxuprising.com/2019/03/create-persistent-storage-live-usb-with.html otherwise you can wait for a tested tutorial to appear in the Help Manual, I can't say when that is sorry. |