You are Here:
Linux Lite 4.8 Final is now available for download and installation



[ SOLVED ] Install to USB out of space

Author (Read 3230 times)

0 Members and 1 Guest are viewing this topic.

Install to USB out of space
« on: May 29, 2019, 11:11:01 PM »
 

rondi

  • New to Forums
  • *
  • 29
    Posts
  • Country: us
  • Reputation: 2
  • Linux Lite Member

  • Linux Lite: 4.4 64bit

  • CPU: i7-3770

  • MEMORY: 32Gb

  • VIDEO CARD: Intel 4000
Is there any way I can get a smaller UPGRADE,. or somehow increase the size of a file to keep it from running out of space when doing the UPGRADE? I can download 4.4 and install it on a SanDisk 16 or 32gb stick--it is the UPGRADE that causes me me problems. I have tried for 2 weeks to UPGRADE 4.4 and it gets part way thru the get sequence---- and gets an error "out of space or disk full error. I just formatted and reinstalled using rufus on a fat32 32gb USB stick, per the instructions and GParted shows the partition size of 29.81gb and 1.33gb used!---I tried a Menu/Install Upgrades and it failed--I got a number of "File has unexpected size" and then of course Hash errors--I've never seen those before--so I then used sudo apt autoremove and it reported "0 upgraded, 0 newly installed, 0 to remove and 687 no upgraded",. I then did sudo apt upgrade, and it reported " the following packages were automatically installed and are no longer required: libcomer2:i386 libjavascriptcoegtk-1.0-0 + 4 other ones, Use sudo apt autoremove to remove them--- It continued with the upgrade until at line 756 when it got an error--unable to make backup link ----No space left on device and following that it says--dpkg-deb:error:paste subprocess was killed by signal (Broken Pipe).

Maybe the problem is my W7 laptop--but I doubt it because I use the same usb port for other things and it has no problem---same with the SanDisk usb sticks.

If I could install smaller upgrades and have them just do portions of the whole upgrade perhaps I could get an install. Is there a way I delete portions of the Install AFTER the files it expects to download are loaded, but before the download (ie get) starts to execute. Then I could delete stuff I don't want or need---if it obvious of course.

It also appears autoremove does not delete enough space. Which directories contain the downloaded, uninstalled files that I can delete and restore some free space, on what appears to be a very small limited filespace?

Thanks for any help, Ron

edited to clarify--it is the UPGRADE that fails, not the initial install onto a USB stick.
Last Edit: June 04, 2019, 05:32:13 PM by rondi
 


Re: Install to USB out of space
« Reply #1 on: May 31, 2019, 09:29:14 AM »
 

TheDead

  • Gold Level Poster
  • *******
  • 692
    Posts
  • Country: ca
  • Reputation: 61
  • Linux Lite Worshipper
    • My OpenDesktop Projects

  • Linux Lite: 4.2 64bit

  • CPU: HAL9000

  • MEMORY: 2Gb

  • VIDEO CARD: Retinax Pro v.2

  • Kernel: 4.x
Hi,

If your compter had Windows before, could it be it's trying to install Linux Lite in a "recovery" or "system" partition of your hard disk?
-Or- are you trying to Upgrade on the live USB key? This will not work, you would have to boot on the Live USB key and install to a second USB key, which is a special procedure if I remember correctly... I've never done this myself.
- TheDead (TheUxNo0b)

If my blabbering was helpful, please click my [Thank] link.
 

Re: Install to USB out of space
« Reply #2 on: May 31, 2019, 11:53:58 AM »
 

rondi

  • New to Forums
  • *
  • 29
    Posts
  • Country: us
  • Reputation: 2
  • Linux Lite Member

  • Linux Lite: 4.4 64bit

  • CPU: i7-3770

  • MEMORY: 32Gb

  • VIDEO CARD: Intel 4000
"TheDead--If your computer had Windows before, could it be it's trying to install Linux Lite in a "recovery" or "system" partition of your hard disk?
-Or- are you trying to Upgrade on the live USB key? This will not work, you would have to boot on the Live USB key and install to a second USB key, which is a special procedure if I remember correctly... I've never done this myself."

I just corrected my about post--My problem is NOT installing a Live LiLi 4.4 to a USB stick using my W7 laptop. It is getting the UPGRADE to complete without errors.
 

Re: Install to USB out of space
« Reply #3 on: June 01, 2019, 02:25:38 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 7435
    Posts
  • Country: nz
  • Reputation: 699
  • Linux Lite Member
    • Linux Lite OS

  • Linux Lite: 3.8 64bit

  • CPU: Intel Xeon Dual CPU's E5645 2.4GHz 12 Cores

  • MEMORY: 16Gb

  • VIDEO CARD: nVidia GeForce GTX 960

  • Kernel: 4.x
@rondi autoremove does not perform the action of clearing space, it simply removes dependent files that are no longer required on the system. You have stated that you have installed LL from a USB onto a USB. We need to know how much free space (or lack thereof) that LL has on the installed USB. Open a terminal on the installed LL that you are trying to upgrade and do:

Code: [Select]
df -h
and report the results here.

That is the first step.
 

Re: Install to USB out of space
« Reply #4 on: June 01, 2019, 04:47:41 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 7435
    Posts
  • Country: nz
  • Reputation: 699
  • Linux Lite Member
    • Linux Lite OS

  • Linux Lite: 3.8 64bit

  • CPU: Intel Xeon Dual CPU's E5645 2.4GHz 12 Cores

  • MEMORY: 16Gb

  • VIDEO CARD: nVidia GeForce GTX 960

  • Kernel: 4.x
Topic split off to correct Support section.
 

Re: Install to USB out of space
« Reply #5 on: June 01, 2019, 11:07:42 AM »
 

rondi

  • New to Forums
  • *
  • 29
    Posts
  • Country: us
  • Reputation: 2
  • Linux Lite Member

  • Linux Lite: 4.4 64bit

  • CPU: i7-3770

  • MEMORY: 32Gb

  • VIDEO CARD: Intel 4000
Thanks for the reply Jerry,
I'm not an experienced Linux user--but I'm not a noob either.
2 mistakes I made in previous post---I referred to upgrades and I really meant UPDATES, AND I did not mean to imply 4.4 was installed from a USB. I installed the 4.4 iso (hash matched) from a W7 using Rufus 3.5 onto a 16gb fat32 formatted SanDisk memory stick. Rufus also reformatted fat32 and cleared the MBR.  It was from this USB stick I could not complete numerous updates. I had used your directions--Menu/Install Updates. Below is another post I made:     LiLi 4.4 installs ok, but updates do not

A lot of this is my misunderstanding of what folders/files need to be deleted to clear disk space and the fact that Autoremove does not remove (my interpretation was--- delete) any files.

Attached are screenshots of df -h and GParted after a new install prior to the shots.  I will await further instructions.

 

Re: Install to USB out of space
« Reply #6 on: June 01, 2019, 11:24:37 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 7435
    Posts
  • Country: nz
  • Reputation: 699
  • Linux Lite Member
    • Linux Lite OS

  • Linux Lite: 3.8 64bit

  • CPU: Intel Xeon Dual CPU's E5645 2.4GHz 12 Cores

  • MEMORY: 16Gb

  • VIDEO CARD: nVidia GeForce GTX 960

  • Kernel: 4.x
Please see the original Welcome email you got from us. This will have the links to how to post images in your posts. We don't accept zip files for images sorry. It fills up our Web server unnecessarily.

Sent from my Mobile phone using Tapatalk

 

Re: Install to USB out of space
« Reply #7 on: June 01, 2019, 12:06:39 PM »
 

rondi

  • New to Forums
  • *
  • 29
    Posts
  • Country: us
  • Reputation: 2
  • Linux Lite Member

  • Linux Lite: 4.4 64bit

  • CPU: i7-3770

  • MEMORY: 32Gb

  • VIDEO CARD: Intel 4000
 

Re: Install to USB out of space
« Reply #8 on: June 01, 2019, 12:12:58 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 7435
    Posts
  • Country: nz
  • Reputation: 699
  • Linux Lite Member
    • Linux Lite OS

  • Linux Lite: 3.8 64bit

  • CPU: Intel Xeon Dual CPU's E5645 2.4GHz 12 Cores

  • MEMORY: 16Gb

  • VIDEO CARD: nVidia GeForce GTX 960

  • Kernel: 4.x
The Rules relate to etiquette. See Forum Posting Guidelines under the Introductions section. If anyone asks for Terminal information, it is better to use just text rather than screenshot the window itself. Thanks.

Sent from my Mobile phone using Tapatalk

 

Re: Install to USB out of space
« Reply #9 on: June 01, 2019, 01:30:20 PM »
 

rondi

  • New to Forums
  • *
  • 29
    Posts
  • Country: us
  • Reputation: 2
  • Linux Lite Member

  • Linux Lite: 4.4 64bit

  • CPU: i7-3770

  • MEMORY: 32Gb

  • VIDEO CARD: Intel 4000
Got it--thanks.
df -h after ninitial but b4 any updates.
Welcome to Linux Lite 4.4 linux
 
Saturday 01 June 2019, 12:21:27
Memory Usage: 392/3871MB (10.13%)
Disk Usage: 77/1GB (4%)
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        15G  1.4G   14G  10% /cdrom
/dev/loop0      1.3G  1.3G     0 100% /rofs
/cow            1.9G   77M  1.9G   4% /
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
 linux  ~  
 

Re: Install to USB out of space
« Reply #10 on: June 01, 2019, 01:42:32 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 7435
    Posts
  • Country: nz
  • Reputation: 699
  • Linux Lite Member
    • Linux Lite OS

  • Linux Lite: 3.8 64bit

  • CPU: Intel Xeon Dual CPU's E5645 2.4GHz 12 Cores

  • MEMORY: 16Gb

  • VIDEO CARD: nVidia GeForce GTX 960

  • Kernel: 4.x
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
« Reply #11 on: June 01, 2019, 01:55:38 PM »
 

DeepThought

  • Forum Regular
  • ***
  • 219
    Posts
  • Country: wales
  • Reputation: 39
  • Linux Lite Member
    • WKDfm Radio | WKDfm Chat

  • Linux Lite: 4.8 64bit

  • CPU: AMD Turion(tm) 64 x 2 Mobile Technology TL-60

  • MEMORY: 4Gb

  • VIDEO CARD: ATI RS480

  • Kernel: 4.x
@rondi you might find this tool useful:

https://help.ubuntu.com/community/mkusb
Owner and DJ at WKDfm Radio ( www.wkdfm.co.uk )
 

Re: Install to USB out of space
« Reply #12 on: June 01, 2019, 09:39:11 PM »
 

rondi

  • New to Forums
  • *
  • 29
    Posts
  • Country: us
  • Reputation: 2
  • Linux Lite Member

  • Linux Lite: 4.4 64bit

  • CPU: i7-3770

  • MEMORY: 32Gb

  • VIDEO CARD: Intel 4000
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
« Reply #13 on: June 02, 2019, 10:41:11 AM »
 

TheDead

  • Gold Level Poster
  • *******
  • 692
    Posts
  • Country: ca
  • Reputation: 61
  • Linux Lite Worshipper
    • My OpenDesktop Projects

  • Linux Lite: 4.2 64bit

  • CPU: HAL9000

  • MEMORY: 2Gb

  • VIDEO CARD: Retinax Pro v.2

  • Kernel: 4.x
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
- TheDead (TheUxNo0b)

If my blabbering was helpful, please click my [Thank] link.
 

Re: Install to USB out of space
« Reply #14 on: June 02, 2019, 12:07:35 PM »
 

rondi

  • New to Forums
  • *
  • 29
    Posts
  • Country: us
  • Reputation: 2
  • Linux Lite Member

  • Linux Lite: 4.4 64bit

  • CPU: i7-3770

  • MEMORY: 32Gb

  • VIDEO CARD: Intel 4000
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.
Last Edit: June 03, 2019, 10:41:28 AM by rondi
 


Tags:
 


Linux Lite 4.8 Final is now available for download and installation