Ubuntu LiveUSB will create a new partition on the freespace automatically during booting, it is used to store personal informationand data. how can I disable this feature if LiveUSB is public?
I don't know what "Ubuntu LiveUSB" is. Can you clarify what software that is? A standard 'live' usb will be read only. Some software can be used to create persistence, is that what you are referring to? I'm unaware of any software that creates a new partition on freespace during boot.
Originally Posted by yancek I don't know what "Ubuntu LiveUSB" is. Can you clarify what software that is? A standard 'live' usb will be read only. Some software can be used to create persistence, is that what you are referring to? I'm unaware of any software that creates a new partition on freespace during boot. Ubuntu LiveUSB is a bootable USB stick created by Ubuntu ISO. Select try Ubuntu, then It did create new partition for writing data, may not write data to the system partition.
Select try Ubuntu, then It did create new partition for writing data, may not write data to the system partition. I do not agree with you. It is only the Ubuntu installer that creates partitions. And only then if we select Install alongside or Erase disk and install Ubuntu. When running the Try/Live Ubuntu session we have to open GParted to create partitions. When using the Try/Live session we can use all the applications available, We can even download applications and create documents. Everything is stored into system memory (RAM) and when we close the session everything is lost as RAM is freed up for other uses. This is why we do not understand what you want to do. Regards
Last edited by grahammechanical; November 22nd, 2024 at 12:07 PM.
It is a machine. It is more stupid than we are. It will not stop us from doing stupid things. Ubuntu user #33,200. Linux user #530,530
Ubuntu LiveUSB is a bootable USB stick created by Ubuntu ISO The Ubuntu iso or any other iso does not create anything. The iso is used by different software programs to create a bootable USB. Some of this software will create a 'persistent' data partition on which a user can place data (files/directories) which will remain on reboot. Also, different software may be installed and remain on reboot but system setting will not change.
As grahammechanical and yancek have said simply running the live system from a USB memory stick does not write anything to your current hardware or partitions, nor create any new partitions unless you ask it to install the new OS or, using the live OS itself, you open up something such as gparted, included in all the live systems, and ask it to create or edit partitions. You can however read files on the hardware of the computer and also write to those files, though you would have to do that using root permissions, and are not able to write anything as the live user. If you create a persistent live OS any new files or data you save while running the live system will be on the USB not on one of the disks sitting inside the computer. If you just run the live system and then shut it down, no changes will be written to disk and everything that was on the computer should be exactly the same.
Code-tags --- Boot-Repair --- Grub2 wiki & Grub2 Basics --- RootSudo --- Wireless-Info --- SolvedThreads --- System-Info-Script
Originally Posted by grahammechanical I do not agree with you. It is only the Ubuntu installer that creates partitions. And only then if we select Install alongside or Erase disk and install Ubuntu. When running the Try/Live Ubuntu session we have to open GParted to create partitions. When using the Try/Live session we can use all the applications available, We can even download applications and create documents. Everything is stored into system memory (RAM) and when we close the session everything is lost as RAM is freed up for other uses. This is why we do not understand what you want to do. Regards I created live usb with 'dd if=ubuntu.iso of=/dev/sdX'. What command at GRUB menu to avoid creating persistent partition?
I created live usb with 'dd if=ubuntu.iso of=/dev/sdX That command would write the iso to the disk and it would be read only, using the entire device so show what you have. Run the command below either from the 'live' usb or from another LInux system and indicate which is the drive in reference. Code: sudo parted -l No Linux system I have used creates a partition on boot so please explain in detail what you are referring to.
sudo parted -l
Originally Posted by ajgreeny If you create a persistent live OS any new files or data you save while running the live system will be on the USB not on one of the disks sitting inside the computer. If you just run the live system and then shut it down, no changes will be written to disk and everything that was on the computer should be exactly the same. I'v never said it created a partition on hard disk, but on the usb thumb. By the way, what the new partition name the persistent live OS created?
Last edited by hmomcm; November 25th, 2024 at 05:40 PM.
If it is Xubunbu or Lubuntu, does 'dd if=ubuntu.iso of=/dev/sdX' create a 'persistent' USB?
Ubuntu Forums Code of Conduct