[opensuse] Increasing size of Live USB root partition?
I am playing with Live USB before killing perfectly working Ubuntu preinstalled on my new notebook :) Live CD/USB image is ~900MB. I wrote it to 2MB USB stick, but after installing couple of packages and playing with it for half an hour I got "no space left on device" for root. Is it possible to increase size of root partition (before booting it for the first time or after - does not matter). TIA -andrei -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 El 2015-09-18 a las 15:37 +0300, Andrei Borzenkov escribió:
I am playing with Live USB before killing perfectly working Ubuntu preinstalled on my new notebook :)
Live CD/USB image is ~900MB. I wrote it to 2MB USB stick, but after installing couple of packages and playing with it for half an hour I got "no space left on device" for root. Is it possible to increase size of root partition (before booting it for the first time or after - does not matter).
Well, I'm amazed that you did not get an error earlier, with only 2 MB, LOL X'-) Sorry, couldn't resist, I know it is a typo. It must be 2 GB. Yes, I think you can expand it, I think it is an EXT3 partition. minas-tirith:~ # lsblk --output NAME,KNAME,SIZE,TYPE,FSTYPE,MOUNTPOINT,LABEL,UUID,PARTLABEL,PARTUUID,SIZE /dev/sdb NAME KNAME SIZE TYPE FSTYPE MOUNTPOINT LABEL UUID PARTLABEL PARTUUID SIZE sdb sdb 3.8G disk udf openSUSE 13.1 Live 2013-11-06-15-44-50-00 3.8G ├─sdb1 sdb1 4M part vfat BOOT 3E3C-87DC 4M ├─sdb2 sdb2 596M part udf openSUSE 13.1 Live 2013-11-06-15-44-37-00 596M └─sdb3 sdb3 3.2G part ext3 hybrid 86135af3-9bba-4383-850d-bc1ac842617e 3.2G minas-tirith:~ # It should use the rest of the stick automatically. Your's doesn't? - -- Cheers Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlX8B+UACgkQja8UbcUWM1z4MgD+Mid1ftDmT8rqT5GsSnCiu7WM 5EzJAXerNqp8XTR7jN0A/Rkj7vgw7f7m/jzLZ2OEKUJbIv7wl2KgaFXDmjewlBcV =gXtv -----END PGP SIGNATURE-----
On 09/18/2015 03:47 PM, Carlos E. R. wrote:
It should use the rest of the stick automatically. Your's doesn't?
- could ' gparted ' manage expansion ? .............. regards -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Fri, Sep 18, 2015 at 3:47 PM, Carlos E. R. <robin.listas@telefonica.net> wrote:
minas-tirith:~ # lsblk --output NAME,KNAME,SIZE,TYPE,FSTYPE,MOUNTPOINT,LABEL,UUID,PARTLABEL,PARTUUID,SIZE /dev/sdb NAME KNAME SIZE TYPE FSTYPE MOUNTPOINT LABEL UUID PARTLABEL PARTUUID SIZE sdb sdb 3.8G disk udf openSUSE 13.1 Live 2013-11-06-15-44-50-00 3.8G ├─sdb1 sdb1 4M part vfat BOOT 3E3C-87DC 4M ├─sdb2 sdb2 596M part udf openSUSE 13.1 Live 2013-11-06-15-44-37-00 596M └─sdb3 sdb3 3.2G part ext3 hybrid 86135af3-9bba-4383-850d-bc1ac842617e 3.2G minas-tirith:~ #
It should use the rest of the stick automatically. Your's doesn't?
You mean "after it had been booted"? Because it obviously cannot do it after plain dd. I.e. will it auto-expand partition to cover the whole available space? Yes, I suppose it did actually because root size was ~1.1GB which matches free space (2GB - ~900GB). In which case I wonder what it was filled with. Need to try once again from scratch and check. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Content-ID: <alpine.LSU.2.11.1509181632480.24753@minas-tirith.valinor> El 2015-09-18 a las 15:52 +0300, Andrei Borzenkov escribió:
On Fri, Sep 18, 2015 at 3:47 PM, Carlos E. R. <> wrote:
It should use the rest of the stick automatically. Your's doesn't?
You mean "after it had been booted"? Because it obviously cannot do it after plain dd. I.e. will it auto-expand partition to cover the whole available space?
Yes, after. Look at a copy on disk of another image I have available: cer@minas-tirith:~/Download> fdisk -l openSUSE-13.2-Rescue-CD-x86_64.iso Disk openSUSE-13.2-Rescue-CD-x86_64.iso: 620 MB, 620134400 bytes, 1211200 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk label type: dos Disk identifier: 0x79fa1960 Device Boot Start End Blocks Id System openSUSE-13.2-Rescue-CD-x86_64.iso1 4224 12415 4096 ef EFI (FAT-12/16/32) openSUSE-13.2-Rescue-CD-x86_64.iso2 * 12416 1212415 600000 83 Linux cer@minas-tirith:~/Download> The writeable partition does not exist yet. It is created after first boot, when it knows it can create it (it is not a CD).
Yes, I suppose it did actually because root size was ~1.1GB which matches free space (2GB - ~900GB). In which case I wonder what it was filled with. Need to try once again from scratch and check.
Right :-) - -- Cheers Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlX8IJ8ACgkQja8UbcUWM1x6xAD/SAvjDWVYm+bgfpTilNdYJi/w LaeoXcT+fEy7zxMIIoUBAJI8OYECCXJ3DNMfrIa5qEDdKgsaONYdA6w0skO9Rl0D =wJ0i -----END PGP SIGNATURE-----
participants (4)
-
Andrei Borzenkov
-
Carlos E. R.
-
ellanios82
-
James Knott