Follow

Question for the Linux hackers... 

Is there a live USB that fully copies itself to ram on boot, allowing the USB drive to be removed once it's loaded?

Double points if it also has linux firmware included so WiFi, etc, are working.

Question for the Linux hackers... 

@RussSharek
@claudiom

Puppy Linux?

What about CD or DVD?

And why do you want to removed the USB drive?

Question for the Linux hackers... 

@randynose @RussSharek I honestly wouldn't know if this is even possible, but I boosted it for more exposure for someone who would know to answer. 👍

Question for the Linux hackers... 

@claudiom @RussSharek

Could a PXE boot? OR some kind of network boot make that happen?

Question for the Linux hackers... 

@randynose That could be a possibility. That's how most thin clients work anyway. 👍 @RussSharek

Question for the Linux hackers... 

@randynose @claudiom

Possibly, but not what I need for this project.

Question for the Linux hackers... 

@claudiom @randynose @RussSharek

Definitely possible, just don’t try to run Chrome.

My reflashes Chromebook actually had a bootable (non-GUI) Linux image in the firmware.

Question for the Linux hackers... 

@randynose @claudiom

I started this avalanche of a question by trying to scratch a stupid itch. Was messing around with ventoy, and realized I couldn't mount the iso partition from the live disc. I remembered it used to be possible, and here I am trying to figure out how to do it now.

Mostly, exfat and openbsd play poorly together, so I was looking for an easier way to load isos on the drive.

@RussSharek

Both 'Slax' and 'Antix' have a 'boot to ram' option

Back when I was part of the PCLinuxOS dev team (over 11 years ago now) nearly all the remasters I was involved with all took advantage of "mklivecd's" load to RAM features, to give remasters the ability to load into and run from RAM

I'm not sure if that project still exists, or if the feature is currently active in PCLinuxOS spins

There will probably be a similar project active to turn an existing Linux install into a 'run from ram' project



@ChrisWere
@RussSharek @ChrisWere

Ok any Debian Live image cab be used with the 'to ram' boot code, here is debian KDE plasma running in RAM

Question for the Linux hackers... 

@RussSharek puppy linux lives completely in RAM but I am afraid it's dead now.

re: Question for the Linux hackers... 

@ckeen @RussSharek
The last release of puppy linux is based on ubuntu 20.04 LTS. How is it dead?

re: Question for the Linux hackers... 

@chmod777

Ok, the project is not dead but the required feature seems to be not in the focus of the project anymore.

@RussSharek

re: Question for the Linux hackers... 

@ckeen @chmod777

Bummer. I remember this used to be a pretty normal thing for live discs.

Question for the Linux hackers... 

@ckeen @RussSharek

Huh. The website is up the github repo shows an update from yesterday, so it looks like the puppy is still with us.

Question for the Linux hackers... 

@RussSharek
I believe Puppy Linux can be set to do that. And it's super lightweight as a bonus

Question for the Linux hackers... 

@RussSharek
You need to build an initrd linux, you can do it with OpenWRT and then stick the bzImage file into a syslinux/isolinux so it can be booted.
I have some code to do the second part if you want it.

Question for the Linux hackers... 

@cjd

I didn't have to duck for that to fly overly head. :)

@RussSharek The only one I know is Parted Magic. There's a free version included with Hirens Boot CD 15.

hirensbootcd.org/hbcd-v152/

(just make sure to select parted magic on boot instead of mini Windows XP)

@Linux_in_a_Bit Great find!

I might be worth highlighting that according to that Wikipedia page some Linux live distributions can be told to completely load into RAM and boot from there by adding the `toram` kernel boot paramater.

Debian seems to support that feature for a while.

lists.debian.org/debian-live/2

@RussSharek

Question for the Linux hackers... 

@RussSharek iirc parrot security os

Question for the Linux hackers... 

@RussSharek Try Slax. I believe the option you are looking for, in general, is sometimes dubbed as 'copy2ram'.

Question for the Linux hackers... 

@h3artbl33d

Looks lime toram does it as a kernel option at boot if it is supported.

Question for the Linux hackers... 

@RussSharek I have been using Bunsen lately after my hdd died and waiting for my new one, and I feel like I've seen an option like that during boot, but never tried it myself.

That, or it was the Debian usb, but I don't think so.

Question for the Linux hackers... 

@arcans @RussSharek I recall old Slackware could do this in case you needed extra install media bit only had one drive. But it's been a while.

Question for the Linux hackers... 

@arcans @RussSharek It was kinda normal at one point, because livecd installers came with several disks of stuff? So they had to just ramdisk the running os. Also isn't ramdisk how tails works?

Question for the Linux hackers... 

@arcans @RussSharek actually yeah just try Tails

Question for the Linux hackers... 

@feonixrift @RussSharek actually, I did make a trails usb yesterday, you might be right, but you can also configure some persistence on it that might need the device to stay plugged. To be verified though as this was not an aspecy I gave much attention.

Question for the Linux hackers... 

@feonixrift @arcans

I wasn't sure of tails did this from their documentation. Thanks!

Question for the Linux hackers... 

@feonixrift @arcans

I remembered doing this often back in the day with damnsmalllinux. Simpler times.

Question for the Linux hackers... 

@arcans

I used bunsenlabs for a bit. Was really well put together. Had no idea it was still around.

Question for the Linux hackers... 

@RussSharek

Alpine Linux in "diskless mode" is pretty straight forward and probably does what you want
wiki.alpinelinux.org/wiki/Inst

It has "lbu" to make modifications to your executed image which is pretty neat.

Question for the Linux hackers... 

@hanser

I clearly need to read up on alpine, as it's been repeatedly recommended to me. :)

Question for the Linux hackers... 

@RussSharek
You can do it with mkusb : help.ubuntu.com/community/mkus

You make your usb stick and when it boot you are asked if you want to work only on ram
Tested with latest Ubuntu it work well

Question for the Linux hackers... 

@Ju_

That's a handy tool. Thanks!

Question for the Linux hackers... 

@RussSharek
Try #Slackware live (by AlienBob) which fits all.

Question for the Linux hackers... 

@mdrights

Thanks!

Question for the Linux hackers... 

@RussSharek grml can do that

The archlinux installer can do so as well
And its comperatively easy to customize

Question for the Linux hackers... 

@RussSharek porteus.org

Question for the Linux hackers... 

@RussSharek I'd have to double check but maybe slax?

Question for the Linux hackers... 

@kelbot

Looks like it claims to do so. Thanks!

Question for the Linux hackers... 

@kelbot

Works as intended. Thanks!

Question for the Linux hackers... 

@RussSharek Puppy Linux has the boot option to copy itself to RAM

Question for the Linux hackers... 

@csolisr

Thanks, I'll give it a shot.

Question for the Linux hackers... 

@minnix

Thank you!

Question, this reads as though I need to do an install in order to make the diskless mode work. I'd it possible to use the installer iso this way?

Instructions are somewhat unclear.

Question for the Linux hackers... 

@RussSharek I guess you could say it is an install in a way, in that you install to USB, but the USB is only used to boot from (and if you need to store persistent data like modified configs or applications), but once the OS loads to ram the USB is no longer needed and you can eject it. Alpine's diskless mode wiki.alpinelinux.org/wiki/Inst
BTW, I run this on a 8GB RPI and only need TF card to boot or save my configs with lbu tool. I can remove card once booted.

Question for the Linux hackers... 

@RussSharek if you are looking for a full featured OS instead of the minimal Linux dists, Knoppix used to be amazing though I have to admit I have not used it for a while.

Question for the Linux hackers... 

@yesbait

I'm pretty sure knoppix was one of the first Linux live CDs I tried back in the day. I had no idea they were still around.

Question for the Linux hackers... 

@RussSharek systemrescuecd do that.

Question for the Linux hackers... 

@RussSharek Puppy, Knoppix, Porteus, Slax, Nano, Tails, Alpine, Tiny.

Maybe Mint and Kali

re: Question for the Linux hackers... 

@RussSharek most live system support it, it's trivial to implement with recent kernels (last 15 years)
Sign in to participate in the conversation
Mastodon.ART

Mastodon.ART — Your friendly creative home on the Fediverse! Interact with friends and discover new ones, all on a platform that is community-owned and ad-free. Admin: @Curator. Moderators: @EmergencyBattle, @ScribbleAddict, @TapiocaPearl, @Otherbuttons, @katwylder