Hi,<br><br>I have a peculiar partition problem that should be dealt with. My partitions are as follows:<br><br>Primary partitions<br><br><div style="margin-left: 40px;">/dev/sda1 Windows TYPE="ntfs"<br>/dev/sda2 Linux boot partition TYPE="ext2"<br>
/dev/sda3 Windows TYPE="ntfs"<br></div><br>Extended partition <br><br><div style="margin-left: 40px;">/dev/sda4<br></div><br>Logical partitions<br><br><div style="margin-left: 40px;">/dev/sda5 ntfs<br>/dev/sda6 linux swap<br>
/dev/sda7 lvm2pv over dm_crypt<br></div><br>The encrypted partition /dev/sda7 is aliased as physical volume /dev/mapper/vgroup . The volume groups is partitioned as follows. <br><br><div style="margin-left: 40px;">/dev/mapper/vgroup: TYPE="lvm2pv"<br>
<br>/dev/mapper/vgroup-root: TYPE="ext3"<br>/dev/mapper/vgroup-swap: TYPE="swap" <br>/dev/mapper/vgroup-usr: TYPE="jfs"<br>/dev/mapper/vgroup-var: TYPE="reiserfs"<br>/dev/mapper/vgroup-opt: TYPE="xfs"<br>
/dev/mapper/vgroup-tmp: TYPE="xfs"<br>/dev/mapper/vgroup-home: TYPE="ext4"<br></div><br>when mounting the partitions, swap is mounted from the lvm, /dev/mapper/vgroup-swap. I accidentally had kept a separate swap partition outside the logical volume which is of no use now. It comes around 1.7 GB, ie, 15% more than my RAM. I wanted to merge it with /dev/sda5, the ntfs logical partition inside the extended partition. But normally, if i do so, the encrypted partition /dev/sda7 will be automatically renamed as /dev/sda6. As /dev/sda7 is currently a linux logical volume, this may create a problem with booting my distro: Arch linux that I had build from base (using kdemod4 as DE). So is there a way out to successfully delete /dev/sda6 and merge it with /dev/sda5 without causing trouble to my GNU system? If I specify partitions with its UUID is fstab, can I succeed in doing so? Otherwise, it would take 2-3 days downloading installing and tweaking the system for my use. <br>
<br>regards,<br>Sebin <br><br><br><br><br><br clear="all"><br>-- <br>Understanding is a three-edged sword: your side, their side, and the truth<br>