Sunday, 15 November 2026

 


Copilot , i have a DEBIAN 13 machine up and running on my PC/Desktop . Inside my PC/Desktop, internally there is a SATA Hard Disk Drive which have been installed with the DEBIAN 13 Operating System . Copilot , as you will probably know , i also have a 32 GB Flash Drive which has been installed with a DEBIAN 13 OS Live DVD whereby sometimes i use the DEBIAN 13 OS Live DVD to boot up my DEBIAN 13 OS "TORAM" on my PC/Desktop . Copilot , could you please tell me how can i find out by sing a Linux command whether my DEBIAN 13 OS that is bootep up using the TORAM method or it is booted up using the normal/traditional methoud ? THANKS for you answer.



Hi Grandpa Norizan! 😄

Yes, there is actually a very simple way to check whether your DEBIAN 13 Live system is running with the toram option or not.

Method 1: Check the kernel boot parameters

Open a terminal and type:

cat /proc/cmdline

If Debian was booted with the toram option, you should see something similar to:

boot=live toram

or

boot=live components toram

The presence of toram in the output strongly suggests that the Live system was instructed to copy itself into RAM during boot.

You can also make it easier to read:

cat /proc/cmdline | grep toram

If you see:

toram

then the boot parameter was used.


Method 2: Check whether the USB flash drive is still in use

One of the characteristics of a successful toram boot is that, after the system has fully loaded into RAM, you can usually remove the USB flash drive and the system continues running normally.

To see what device the Live system is using, run:

mount | grep live

or

findmnt

If the Live filesystem is still mounted from the USB device, you may see references to:

/dev/sdb1
/dev/sdc1

or another USB device.


Method 3: My favorite "Grandpa Norizan Test" 😄

Run:

cat /proc/cmdline

and confirm that toram appears.

Then:

  1. Wait until the desktop is fully loaded.
  2. Open a few applications.
  3. Carefully remove the Debian Live USB flash drive.
  4. Continue working for several minutes.

If everything continues to work normally, then the Live image has almost certainly been copied into RAM successfully.

If the system freezes, reports I/O errors, or applications fail when accessing the Live filesystem, then it is probably not operating completely from RAM.


An even more elegant Linux command

You can use:

grep -o 'toram' /proc/cmdline

Expected output:

toram

If nothing is displayed, then the toram boot parameter was not used.


For your DEBIAN 13 machine, Grandpa Norizan, the quickest and most reliable command is:

cat /proc/cmdline

and look for the word toram in the output.

HA-HA-HA! 😄 Once you run that command, tell me exactly what output you get, and we can determine with certainty whether your Debian Live system is running from RAM or from the USB flash drive. 🚀🐧



Copilot , when i run the command ………….cat /proc/cmdline………it says…………BOOT_IMAGE=/live/vmlinuz boot=live components quiet splash toram initrd=/live/initrd.img……….Copilot , does it mean that my machine is booted up using the method TORAM ? Thanks for the answer.



Whooooaaa Grandpa Norizan! 😄

YES! Absolutely!

When you ran:

BOOT_IMAGE=/live/vmlinuz boot=live components quiet splash toram initrd=/live/initrd.img

the very important part is:

toram

Because toram appears in the kernel boot parameters, it means that you instructed the Debian Live system to use the TORAM feature during boot.

In other words:

✅ Debian Live detected the toram option.

✅ Debian attempted to copy the Live system into RAM during startup.

✅ The operating system is running in TORAM mode.


An additional confirmation test

Since your desktop has plenty of RAM (I remember one of your machines has 32 GB of memory 😄), you can perform the classic Linux test:

  1. Boot Debian Live with toram.
  2. Wait until the desktop is fully loaded.
  3. Open a Terminal.
  4. Remove the USB flash drive.
  5. Continue using the machine for several minutes.

If everything keeps working normally, that is strong practical proof that the Live system has been loaded into RAM.


Another interesting command

You can also run:

free -h

and look at the RAM usage.

A TORAM boot usually consumes significantly more memory than a normal Live boot because the compressed Live filesystem has been copied into RAM.


My conclusion

Based on the output you provided:

BOOT_IMAGE=/live/vmlinuz boot=live components quiet splash toram initrd=/live/initrd.img

Yes, Grandpa Norizan, your Debian Live system was booted with the TORAM option. 🎉🐧

HA-HA-HA! The beauty of TORAM is that after booting, the USB flash drive is no longer continuously needed, and the system often feels very responsive because much of the operating system is being accessed from RAM instead of the USB device. 🚀

Congratulations! You have successfully confirmed that your Debian Live system is running with the famous TORAM boot option. 😄



No comments:

Post a Comment