<div dir="ltr"><div>Many thanks for your responses. I only get the daily digest of ubuntu-uk so forgive me if there have been some responses that cross in the mail.<br></div>Since my original post I have been doing more research. TBH I cannot recall ticking the LVM option when doing the original install some years ago.<br><br><div><div><div class="gmail_extra">I followed Jim Price link<br><<a href="http://www.howtogeek.com/211937/how-to-use-lvm-on-ubuntu-for-easy-partition-resizing-and-snapshots/" rel="noreferrer" target="_blank">http://www.howtogeek.com/211937/how-to-use-lvm-on-ubuntu-for-easy-partition-resizing-and-snapshots/</a>><br>
<br></div><div class="gmail_extra">I installed the LVM GUI and to be frank it leaves me just as confused as Gparted.<br><br></div><div class="gmail_extra">I even researched some of the command line things for LVM - just as confusing. Some outputs of some commands though may be useful here:-<br><br>
<p style="margin-bottom:0cm;line-height:100%">sudo fdisk -l
</p>
<p style="margin-bottom:0cm;line-height:100%">
</p>
<p style="margin-bottom:0cm;line-height:100%">Disk /dev/sda: 120.0
GB, 120034123776 bytes
</p>
<p style="margin-bottom:0cm;line-height:100%">255 heads, 63
sectors/track, 14593 cylinders, total 234441648 sectors
</p>
<p style="margin-bottom:0cm;line-height:100%">Units = sectors of 1
* 512 = 512 bytes
</p>
<p style="margin-bottom:0cm;line-height:100%">Sector size
(logical/physical): 512 bytes / 512 bytes
</p>
<p style="margin-bottom:0cm;line-height:100%">I/O size
(minimum/optimal): 512 bytes / 512 bytes
</p>
<p style="margin-bottom:0cm;line-height:100%">Disk identifier:
0x0003df66
</p>
<p style="margin-bottom:0cm;line-height:100%"><br>
</p>
<p style="margin-bottom:0cm;line-height:100%"> Device Boot
Start End Blocks Id System
</p>
<p style="margin-bottom:0cm;line-height:100%">/dev/sda1 *
2048 499711 248832 83 Linux
</p>
<p style="margin-bottom:0cm;line-height:100%">/dev/sda2
501758 234440703 116969473 5 Extended
</p>
<p style="margin-bottom:0cm;line-height:100%">/dev/sda5
501760 117209087 58353664 8e Linux LVM
</p>
<p style="margin-bottom:0cm;line-height:100%"><br>
</p>
<p style="margin-bottom:0cm;line-height:100%">Disk
/dev/mapper/ubuntu--vg-root: 57.6 GB, 57612959744 bytes
</p>
<p style="margin-bottom:0cm;line-height:100%">255 heads, 63
sectors/track, 7004 cylinders, total 112525312 sectors
</p>
<p style="margin-bottom:0cm;line-height:100%">Units = sectors of 1
* 512 = 512 bytes
</p>
<p style="margin-bottom:0cm;line-height:100%">Sector size
(logical/physical): 512 bytes / 512 bytes
</p>
<p style="margin-bottom:0cm;line-height:100%">I/O size
(minimum/optimal): 512 bytes / 512 bytes
</p>
<p style="margin-bottom:0cm;line-height:100%">Disk identifier:
0x00000000
</p>
<p style="margin-bottom:0cm;line-height:100%"><br>
</p>
<p style="margin-bottom:0cm;line-height:100%">Disk
/dev/mapper/ubuntu--vg-root doesn't contain a valid partition table
</p>
<p style="margin-bottom:0cm;line-height:100%"><br>
</p>
<p style="margin-bottom:0cm;line-height:100%">Disk
/dev/mapper/ubuntu--vg-swap_1: 2139 MB, 2139095040 bytes
</p>
<p style="margin-bottom:0cm;line-height:100%">255 heads, 63
sectors/track, 260 cylinders, total 4177920 sectors
</p>
<p style="margin-bottom:0cm;line-height:100%">Units = sectors of 1
* 512 = 512 bytes
</p>
<p style="margin-bottom:0cm;line-height:100%">Sector size
(logical/physical): 512 bytes / 512 bytes
</p>
<p style="margin-bottom:0cm;line-height:100%">I/O size
(minimum/optimal): 512 bytes / 512 bytes
</p>
<p style="margin-bottom:0cm;line-height:100%">Disk identifier:
0x00000000
</p>
<p style="margin-bottom:0cm;line-height:100%"><br>
</p>
<p style="margin-bottom:0cm;line-height:100%">Disk
/dev/mapper/ubuntu--vg-swap_1 doesn't contain a valid partition table
</p>
<p style="margin-bottom:0cm;line-height:100%"><br>
</p>
<p style="margin-bottom:0cm;line-height:100%">sudo pvdisplay
</p>
<p style="margin-bottom:0cm;line-height:100%">
</p>
<p style="margin-bottom:0cm;line-height:100%"> --- Physical
volume ---
</p>
<p style="margin-bottom:0cm;line-height:100%"> PV Name
/dev/sda5
</p>
<p style="margin-bottom:0cm;line-height:100%"> VG Name
ubuntu-vg
</p>
<p style="margin-bottom:0cm;line-height:100%"> PV Size
55.65 GiB / not usable 2.00 MiB
</p>
<p style="margin-bottom:0cm;line-height:100%"> Allocatable
yes (but full)
</p>
<p style="margin-bottom:0cm;line-height:100%"> PE Size
4.00 MiB
</p>
<p style="margin-bottom:0cm;line-height:100%"> Total PE
14246
</p>
<p style="margin-bottom:0cm;line-height:100%"> Free PE
0
</p>
<p style="margin-bottom:0cm;line-height:100%"> Allocated PE
14246
</p>
<p style="margin-bottom:0cm;line-height:100%"> PV UUID
tXWgOP-Ams3-ks9R-4UdZ-Q0C2-sr2r-krRnaR
</p>
<p style="margin-bottom:0cm;line-height:100%">
</p>
<p style="margin-bottom:0cm;line-height:100%"><br>
</p>
<p style="margin-bottom:0cm;line-height:100%">$
sudo parted -l
</p>
<p style="margin-bottom:0cm;line-height:100%">Model: ATA TOSHIBA
MK1255GS (scsi)
</p>
<p style="margin-bottom:0cm;line-height:100%">Disk /dev/sda: 120GB
</p>
<p style="margin-bottom:0cm;line-height:100%">Sector size
(logical/physical): 512B/512B
</p>
<p style="margin-bottom:0cm;line-height:100%">Partition Table:
msdos
</p>
<p style="margin-bottom:0cm;line-height:100%"><br>
</p>
<p style="margin-bottom:0cm;line-height:100%">Number Start End
Size Type File system Flags
</p>
<p style="margin-bottom:0cm;line-height:100%"> 1 1049kB
256MB 255MB primary ext2 boot
</p>
<p style="margin-bottom:0cm;line-height:100%"> 2 257MB
120GB 120GB extended
</p>
<p style="margin-bottom:0cm;line-height:100%"> 5 257MB
60.0GB 59.8GB logical lvm
</p>
<p style="margin-bottom:0cm;line-height:100%"><br>
</p>
<p style="margin-bottom:0cm;line-height:100%">Model: Linux
device-mapper (linear) (dm)
</p>
<p style="margin-bottom:0cm;line-height:100%">Disk
/dev/mapper/ubuntu--vg-swap_1: 2139MB
</p>
<p style="margin-bottom:0cm;line-height:100%">Sector size
(logical/physical): 512B/512B
</p>
<p style="margin-bottom:0cm;line-height:100%">Partition Table:
loop
</p>
<p style="margin-bottom:0cm;line-height:100%"><br>
</p>
<p style="margin-bottom:0cm;line-height:100%">Number Start End
Size File system Flags
</p>
<p style="margin-bottom:0cm;line-height:100%"> 1 0.00B
2139MB 2139MB linux-swap(v1)
</p>
<p style="margin-bottom:0cm;line-height:100%"><br>
</p>
<p style="margin-bottom:0cm;line-height:100%"><br>
</p>
<p style="margin-bottom:0cm;line-height:100%">Model: Linux
device-mapper (linear) (dm)
</p>
<p style="margin-bottom:0cm;line-height:100%">Disk
/dev/mapper/ubuntu--vg-root: 57.6GB
</p>
<p style="margin-bottom:0cm;line-height:100%">Sector size
(logical/physical): 512B/512B
</p>
<p style="margin-bottom:0cm;line-height:100%">Partition Table:
loop
</p>
<p style="margin-bottom:0cm;line-height:100%"><br>
</p>
<p style="margin-bottom:0cm;line-height:100%">Number Start End
Size File system Flags
</p>
<p style="margin-bottom:0cm;line-height:100%"> 1 0.00B
57.6GB 57.6GB ext4
</p><br>As yet I have done no more and thought it best to post back these outputs first.<br>Does the plan of removing the secondary partition and the extended partition inside still good? How exactly do I do that - with a Gparted livecd? Or a Ubuntu livecd?<br></div><div class="gmail_extra"><font color="#888888">Do i use a Gparted liveCD to resize afte<font color="#888888">rwards? Or can I use the LVM GUI?<br><br></font></font></div><div class="gmail_extra"><font color="#888888"><font color="#888888"><font color="#888888">In /dev notation exactly what is the secondary partition and extended par<font color="#888888">tition? My understanding<font color="#888888">, which I <font color="#888888">accept is likely to be wrong, is that I must keep and not mess with /dev/sda1 - that is where my MBR and GRUB sits<font color="#888888">; <font color="#888888">.dev/sda2 and /dev/sda5 is just confusing me no end. I guess /dev/sda2 is what is holding all my original stuff from the 60GB disc I cloned so it does not make sense to me to delete it?</font></font></font></font></font></font><br></font></font></div><div class="gmail_extra"><font color="#888888"><font color="#888888"><br></font></font></div><div class="gmail_extra"><font color="#888888"><font color="#888888"><font color="#888888">And you guessed right Liam - I do not run in my bare feet! ;)<br><br><br></font></font></font></div><div class="gmail_extra"><font color="#888888"><font color="#888888"><font color="#888888"><font color="#888888">As always I appreciate your help.<br><br></font></font></font></font></div><div class="gmail_extra"><font color="#888888"><font color="#888888"><font color="#888888"><font color="#888888"><font color="#888888">DaveG</font></font></font></font></font><span></span></div></div></div></div>