Re: Copy filesystem.squashfs (only) to ram

2024-02-21 Thread Stefan Baur
Am 19.02.24 um 19:23 schrieb Alex King: Yes, I have already build my own image, including only the packages I want.  That works well. My interim solution is to create an lvm lv of 1G in size and download filesystem.squashfs to that, with the copy-to-ram option.  This works well for most servers

Re: Copy filesystem.squashfs (only) to ram

2024-02-19 Thread Alex King
here this is not the case and we'll need to do some manual disk re-organising prior (or use the PXE method). I am happy to contribute such a "copy filesystem.squashfs only to RAM" option to the code if wanted.  I had a quick look and did not find where I would add that.  Would

Re: Copy filesystem.squashfs (only) to ram

2024-02-18 Thread Narcis Garcia
El 18/2/24 a les 13:38, Roland Clobus ha escrit: Hello Vladimir, On 18/02/2024 11:49, Vladimir Smelhaus wrote: Dne 18. 02. 24 v 11:04 Roland Clobus napsal(a): Why do you need to have filesystem.squashfs in RAM? If you boot from a USB or DVD/CD-ROM medium, the filesystem.squashfs resides ther

Re: Copy filesystem.squashfs (only) to ram

2024-02-18 Thread Vladimir Smelhaus
Hello Roland, Dne 18. 02. 24 v 16:35 Roland Clobus napsal(a): I get it. But it eludes me how you do so. I guess that I don't understand why you need 'toram'. A regular live iso image is typically transferred to some other medium (USB pen, DVD/CDROM). In such case, there is no need to wipe the

Re: Copy filesystem.squashfs (only) to ram

2024-02-18 Thread Roland Clobus
Hello Vladimir, On 18/02/2024 14:44, Vladimir Smelhaus wrote: Dne 18. 02. 24 v 13:38 Roland Clobus napsal(a): If I understand you correctly, you perform a live boot from the disk that you want to erase. And then (without 'toram') you can't format it, because you need access to the filesystem.s

Re: Copy filesystem.squashfs (only) to ram

2024-02-18 Thread Vladimir Smelhaus
Dne 18. 02. 24 v 13:38 Roland Clobus napsal(a): If I understand you correctly, you perform a live boot from the disk that you want to erase. And then (without 'toram') you can't format it, because you need access to the filesystem.squashfs file (which is then being removed) Yes. With toram yo

Re: Copy filesystem.squashfs (only) to ram

2024-02-18 Thread Roland Clobus
Hello Vladimir, On 18/02/2024 11:49, Vladimir Smelhaus wrote: Dne 18. 02. 24 v 11:04 Roland Clobus napsal(a): Why do you need to have filesystem.squashfs in RAM? If you boot from a USB or DVD/CD-ROM medium, the filesystem.squashfs resides there, and there is no need to have a copy in RAM. Af

Re: Copy filesystem.squashfs (only) to ram

2024-02-18 Thread Vladimir Smelhaus
Dne 18. 02. 24 v 11:04 Roland Clobus napsal(a): Why do you need to have filesystem.squashfs in RAM? If you boot from a USB or DVD/CD-ROM medium, the filesystem.squashfs resides there, and there is no need to have a copy in RAM. After the live system has been booted, you can wipe all disks as y

Re: Copy filesystem.squashfs (only) to ram

2024-02-18 Thread Roland Clobus
Hello Vladimir, On 18/02/2024 09:31, Vladimír Šmelhaus wrote: Dne 18. 02. 24 v 9:16 Narcis Garcia napsal(a): [here the referred patch] Yes, this is it. Your patch is not forgotten. The live system has so many options, it is hard to keep up with all of them. Testing/Verifying the proposed

Re: Copy filesystem.squashfs (only) to ram

2024-02-18 Thread Roland Clobus
Hello Alex, On 17/02/2024 04:33, Alex King wrote: I'm wanting to use a debian-live image to wipe the disks on some systems being decommissioned.  To do that, I believe I need to copy filesystem.squashfs into ram so it isn't sitting on a disk to be wiped. Why do you need to have filesystem.squ

Re: Copy filesystem.squashfs (only) to ram

2024-02-18 Thread Vladimír Šmelhaus
Dne 18. 02. 24 v 9:16 Narcis Garcia napsal(a): [here the referred patch] El 18/11/23 a les 20:00, Vladimir Smelhaus ha escrit: > Hi. > > I have been using Debian Live for many years. Most of the time I load Yes, this is it. But maybe I wasn't entirely accurate when I wrote that it's not po

Re: Copy filesystem.squashfs (only) to ram

2024-02-18 Thread Narcis Garcia
[here the referred patch] El 18/11/23 a les 20:00, Vladimir Smelhaus ha escrit: > Hi. > > I have been using Debian Live for many years. Most of the time I load > the image with the live system into the memory of computer using the > "toram" option. Here I am posting a patch file > /lib/live/boot/

Re: Copy filesystem.squashfs (only) to ram

2024-02-17 Thread Vladimir Smelhaus
Dne 17. 02. 24 v 4:33 Alex King napsal(a): I tried live-boot(7)"toram" paramater.  This actually worked on my test machine, but to my surprise it copied the whole 4G root filesystem to ram instead of just filesystem.squashfs.  While it worked on this system (albeit wasting a lot of time and RAM

Copy filesystem.squashfs (only) to ram

2024-02-16 Thread Alex King
I'm wanting to use a debian-live image to wipe the disks on some systems being decommissioned.  To do that, I believe I need to copy filesystem.squashfs into ram so it isn't sitting on a disk to be wiped. For various reasons (e.g. problems with the dhcp server) netbooting isn't possible. I'm