You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Install to USB out of space

Author (Read 7828 times)

0 Members and 1 Guest are viewing this topic.

Re: Install to USB out of space
« Reply #23 on: June 04, 2019, 01:45:02 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8775
    Posts
  • Reputation: 801
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Now that everything is ok, it's important to keep your system clean on a regular basis because you are using a USB with limited space. Run Lite Tweaks and clean everything out at the very least once a week, including older unused kernels.

Sent from my Mobile phone using Tapatalk
 

Re: Install to USB out of space
« Reply #22 on: June 04, 2019, 01:39:32 PM »
 

rondi

  • New to Forums
  • *
  • 29
    Posts
  • Reputation: 2
  • Linux Lite Member
    • View Profile

  • CPU: i7-3770

  • MEMORY: 32Gb

  • VIDEO CARD: Intel 4000
Jerry & minesheep. thanks for your help--minesheep--I WILL try your way soon, but Jerry's link worked fine.

I'm marking this solved. The link Jerry provided worked perfectly--I followed it and it installed, had persistence, AND most importantly it installed updates with NO problems.
The only hiccup was in a line at the start:  sudo apt install --install-recommends mkusb mkusb-nox usb-pack-efi   I removed the " --install-recommends" and it all worked then.
The updates had 413 gets from numerous locations. When I installed mksub it also had some quite a few gets and I 1 point it told me to use autoremove to remove some. after that is was all downhill :)

After the updates my df -h is:
Welcome to Linux Lite 4.4 linux
 
Tuesday 04 June 2019, 10:00:14
Memory Usage: 456/3871MB (11.78%)
Disk Usage: 3/14GB (30%)
Support - https://www.linuxliteos.com/forums/ (Right click, Open Link)
 
 linux  ~  sudo apt autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  libjavascriptcoregtk-1.0-0 libwebkitgtk-1.0-0 mypaint-brushes
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
After this operation, 46.3 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 289536 files and directories currently installed.)
Removing libwebkitgtk-1.0-0:amd64 (2.4.11-3ubuntu3) ...
Removing libjavascriptcoregtk-1.0-0:amd64 (2.4.11-3ubuntu3) ...
Removing mypaint-brushes (1.3.0-1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
 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/sdb4       1.4G  1.4G     0 100% /cdrom
/dev/loop0      1.3G  1.3G     0 100% /rofs
/cow             14G  3.8G  8.9G  30% /
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   12K  388M   1% /run/user/999
/dev/sda5        54G   37G   18G  69% /media/linux/Data
 linux  ~  

Thanks again for the great help,
Ron
 

Re: Install to USB out of space
« Reply #21 on: June 04, 2019, 07:19:08 AM »
 

minesheep

  • Forum Regular
  • ***
  • 140
    Posts
  • Reputation: 11
  • Linux Lite Member
    • View Profile

  • MEMORY: 4Gb

  • Kernel: 5.x
Or

Install to any drive including external usb flash drive

https://www.linuxliteos.com/forums/tutorials/how-to-install-linux-lite-to-usb-stick-not-ready-yet!/

Now its ready
 

Re: Install to USB out of space
« Reply #20 on: June 04, 2019, 01:20:00 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8775
    Posts
  • Reputation: 801
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
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.
 

Re: Install to USB out of space
« Reply #19 on: June 03, 2019, 08:16:53 PM »
 

rondi

  • New to Forums
  • *
  • 29
    Posts
  • Reputation: 2
  • Linux Lite Member
    • View Profile

  • CPU: i7-3770

  • MEMORY: 32Gb

  • VIDEO CARD: Intel 4000
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 :)  If not--PLEASE tell me which file/directory I should delete.

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
« Reply #18 on: June 03, 2019, 05:26:30 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8775
    Posts
  • Reputation: 801
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
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
« Reply #17 on: June 03, 2019, 03:06:04 PM »
 

minesheep

  • Forum Regular
  • ***
  • 140
    Posts
  • Reputation: 11
  • Linux Lite Member
    • View Profile

  • MEMORY: 4Gb

  • Kernel: 5.x
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
« Last Edit: June 03, 2019, 03:12:18 PM by minesheep »
 

Re: Install to USB out of space
« Reply #16 on: June 03, 2019, 02:55:51 PM »
 

minesheep

  • Forum Regular
  • ***
  • 140
    Posts
  • Reputation: 11
  • Linux Lite Member
    • View Profile

  • MEMORY: 4Gb

  • Kernel: 5.x
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
« Reply #15 on: June 02, 2019, 12:07:35 PM »
 

rondi

  • New to Forums
  • *
  • 29
    Posts
  • Reputation: 2
  • Linux Lite Member
    • View Profile

  • 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 »
 

Re: Install to USB out of space
« Reply #14 on: June 02, 2019, 10:41:11 AM »
 

TheDead

  • Gold Level Poster
  • *******
  • 936
    Posts
  • Reputation: 92
  • Linux Lite Worshipper
    • View Profile
    • My OpenDesktop Projects

  • CPU: HAL9000

  • MEMORY: 2Gb

  • VIDEO CARD: Quantum State VR v.3

  • 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 #13 on: June 01, 2019, 09:39:11 PM »
 

rondi

  • New to Forums
  • *
  • 29
    Posts
  • Reputation: 2
  • Linux Lite Member
    • View Profile

  • 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 #12 on: June 01, 2019, 01:55:38 PM »
 

DeepThought

  • Forum Regular
  • ***
  • 237
    Posts
  • Reputation: 40
  • Linux Lite Member
    • View Profile
    • WKDfm Radio | WKDfm Chat

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

  • MEMORY: 4Gb

  • VIDEO CARD: ATI RS480

  • Kernel: 5.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 #11 on: June 01, 2019, 01:42:32 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8775
    Posts
  • Reputation: 801
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.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 #10 on: June 01, 2019, 01:30:20 PM »
 

rondi

  • New to Forums
  • *
  • 29
    Posts
  • Reputation: 2
  • Linux Lite Member
    • View Profile

  • 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 #9 on: June 01, 2019, 12:12:58 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8775
    Posts
  • Reputation: 801
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.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

 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section