Hello,
I have a disk that I would like to modify the partition table. Right now it has 18 partitions. I would like to keep the partitions 1 to 6, 8, 9 and 14 to 18 unchanged and I would like to reorganize the other ones partitions: 7, 10 to 13, for example the 10 to 13 would become only 2. Can I keep the numbering of the partitions that I wish to keep the same?
Thank for your help.
=========================================================================== Patrick DUPRÉ | | email: pdupre@gmx.com Laboratoire de Physico-Chimie de l'Atmosphère | | Université du Littoral-Côte d'Opale | | Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 189A, avenue Maurice Schumann | | 59140 Dunkerque, France ===========================================================================
On 07/19/2015 05:56 AM, Patrick Dupre wrote:
Hello,
I have a disk that I would like to modify the partition table. Right now it has 18 partitions. I would like to keep the partitions 1 to 6, 8, 9 and 14 to 18 unchanged and I would like to reorganize the other ones partitions: 7, 10 to 13, for example the 10 to 13 would become only 2. Can I keep the numbering of the partitions that I wish to keep the same?
Thank for your help.
if you use gparted, it is a nice graphical interface & shows you the existing partitions, and what you can do.. until you hit "APPLY" nothing is changed, so you can play around with it... you might need to install gparted..
Thank.
Are the partition numbers will stay the same?
=========================================================================== Patrick DUPRÉ | | email: pdupre@gmx.com Laboratoire de Physico-Chimie de l'Atmosphère | | Université du Littoral-Côte d'Opale | | Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 189A, avenue Maurice Schumann | | 59140 Dunkerque, France ===========================================================================
Sent: Sunday, July 19, 2015 at 2:06 PM From: "Paul Cartwright" pbcartwright@gmail.com To: users@lists.fedoraproject.org Subject: Re: Disk partition
On 07/19/2015 05:56 AM, Patrick Dupre wrote:
Hello,
I have a disk that I would like to modify the partition table. Right now it has 18 partitions. I would like to keep the partitions 1 to 6, 8, 9 and 14 to 18 unchanged and I would like to reorganize the other ones partitions: 7, 10 to 13, for example the 10 to 13 would become only 2. Can I keep the numbering of the partitions that I wish to keep the same?
Thank for your help.
if you use gparted, it is a nice graphical interface & shows you the existing partitions, and what you can do.. until you hit "APPLY" nothing is changed, so you can play around with it... you might need to install gparted..
-- Paul Cartwright Registered Linux User #367800 and new counter #561587
-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
On 07/19/15 09:47, Patrick Dupre wrote:
Are the partition numbers will stay the same?
i do believe they remain.
at least that is what i had happen with a primary partition.
iirc, extended partitions will also maintain partition assignment.
if such is critically related to /etc/fstab, partition magic has a live cd you can boot to restructure partitions and the open fstab to edit changes.
hth.
On 07/19/2015 11:06 AM, g wrote:
if such is critically related to /etc/fstab, partition magic has a live cd you can boot to restructure partitions and the open fstab to edit changes.
Even better, edit /etc/fstab to refer to partitions by UUID instead of device name if it doesn't already. The various drives don't always respond to probing in the same order (No, I don't know why.) meaning that the numbering might change from one boot to the next, but the UUID remains stable.
I can manage /etc/fstab However, I am wondering about the /etc/boot/grub.cfg
How can I change the msdos16 (/boot)? Actually e245f2fc-ef1e-4811-88a2-e64be3a010cb would be OK (UUID)
set root='hd0,msdos16' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos16 --hint-efi=hd0,msdos16 --hint-baremetal=ahci0,msdos16 --hint='hd0,msdos16' e245f2fc-ef1e-4811-88a2-e64be3a010cb else search --no-floppy --fs-uuid --set=root e245f2fc-ef1e-4811-88a2-e64be3a010cb fi
=========================================================================== Patrick DUPRÉ | | email: pdupre@gmx.com Laboratoire de Physico-Chimie de l'Atmosphère | | Université du Littoral-Côte d'Opale | | Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 189A, avenue Maurice Schumann | | 59140 Dunkerque, France ===========================================================================
Sent: Sunday, July 19, 2015 at 8:15 PM From: "Joe Zeff" joe@zeff.us To: "Community support for Fedora users" users@lists.fedoraproject.org Subject: Re: Disk partition
On 07/19/2015 11:06 AM, g wrote:
if such is critically related to /etc/fstab, partition magic has a live cd you can boot to restructure partitions and the open fstab to edit changes.
Even better, edit /etc/fstab to refer to partitions by UUID instead of device name if it doesn't already. The various drives don't always respond to probing in the same order (No, I don't know why.) meaning that the numbering might change from one boot to the next, but the UUID remains stable. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
On 2015-07-19 12:15, Joe Zeff wrote:
On 07/19/2015 11:06 AM, g wrote:
if such is critically related to /etc/fstab, partition magic has a live cd you can boot to restructure partitions and the open fstab to edit changes.
Even better, edit /etc/fstab to refer to partitions by UUID instead of device name if it doesn't already. The various drives don't always respond to probing in the same order (No, I don't know why.) meaning that the numbering might change from one boot to the next, but the UUID remains stable.
I will second this comment. Ran into the problem in the past.
Since I started using UUID, then I have not had any issues.
You can find out the partition UUID by ls -l /dev/disk/by-uuid/
As an example in /etc/fstab change
/dev/sdb3 /opt/Steam ext4 defaults 1 2
to
UUID=bb998e5b-a9ad-4539-825f-41b6e1c665b0 /opt/Steam ext4 defaults 1 2
Once you do this, you can add or remove partitions and drives as you wish and the correct partition will be found each time. No need to worry about the order they show up in.
I would also use gparted as explained in another post.
You can move and resize partitions around as needed. DO BACKUP if you are going to resize partitions just in case. I have resized and moved partitions with gparted on both Linux and Windows 8.1 machines with no issues yet.
On Sun, 19 Jul 2015 13:25:46 -0600 Robin Laing MeSat@TelusPlanet.net wrote:
You can find out the partition UUID by ls -l /dev/disk/by-uuid/
blkid
I am not sure, given that you want to remove some in the middle. BUT, you can TWEAK partitions with gparted, maybe add a small filler partition somewhere, to get your numbers where they need to be..
Thank.
Are the partition numbers will stay the same?
=========================================================================== Patrick DUPRÉ | | email: pdupre@gmx.com Laboratoire de Physico-Chimie de l'Atmosphère | | Université du Littoral-Côte d'Opale | | Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 189A, avenue Maurice Schumann | | 59140 Dunkerque, France ===========================================================================
Sent: Sunday, July 19, 2015 at 2:06 PM From: "Paul Cartwright" pbcartwright@gmail.com To: users@lists.fedoraproject.org Subject: Re: Disk partition
On 07/19/2015 05:56 AM, Patrick Dupre wrote:
Hello,
I have a disk that I would like to modify the partition table. Right now it has 18 partitions. I would like to keep the partitions 1 to 6, 8, 9 and 14 to 18 unchanged and I would like to reorganize the other ones partitions: 7, 10 to 13, for example the 10 to 13 would become only 2. Can I keep the numbering of the partitions that I wish to keep the same?
Thank for your help.
if you use gparted, it is a nice graphical interface & shows you the existing partitions, and what you can do.. until you hit "APPLY" nothing is changed, so you can play around with it... you might need to install gparted..
-- Paul Cartwright Registered Linux User #367800 and new counter #561587
-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
On 07/19/2015 04:56 AM, Patrick Dupre wrote:
I have a disk that I would like to modify the partition table. Right now it has 18 partitions. I would like to keep the partitions 1 to 6, 8, 9 and 14 to 18 unchanged and I would like to reorganize the other ones partitions: 7, 10 to 13, for example the 10 to 13 would become only 2. Can I keep the numbering of the partitions that I wish to keep the same?
Logical partitions within the extended partition will always be numbered consecutively starting with 5. If you delete or merge some logical partitions, all of the higher partition numbers will shift down.
On 07/19/15 13:15, Robert Nichols wrote:
On 07/19/2015 04:56 AM, Patrick Dupre wrote:
I have a disk that I would like to modify the partition table. Right now it has 18 partitions. I would like to keep the partitions 1 to 6, 8, 9 and 14 to 18 unchanged and I would like to reorganize the other ones partitions: 7, 10 to 13, for example the 10 to 13 would become only 2. Can I keep the numbering of the partitions that I wish to keep the same?
Logical partitions within the extended partition will always be numbered consecutively starting with 5. If you delete or merge some logical partitions, all of the higher partition numbers will shift down.
if you can post a mutual site that i can upload a jpg, i would be more than happy to upload a shot of 'disk utility' showing;
sdb1 sdb2 sdb3 sdb6 sdb5 12 GB NTFS 2.1 GB Swap 11 GB ext4 32 GB ext4 23 GB ext4
originally partition was;
sdb1 sdb2 sdb5 sdb6 sdb7
On 07/19/2015 11:36 AM, g wrote:
Logical partitions within the extended partition will always be
numbered consecutively starting with 5. If you delete or merge some logical partitions, all of the higher partition numbers will shift down.
if you can post a mutual site that i can upload a jpg, i would be more than happy to upload a shot of 'disk utility' showing;
sdb1 sdb2 sdb3 sdb6 sdb5 12 GB NTFS 2.1 GB Swap 11 GB ext4 32 GB ext4 23 GB ext4
In your case, "sdb5" appears to be listed in the logical partition table before "sdb6", but describe an area that appears further into the disk.
That doesn't contradict what Robert wrote.
On 07/19/2015 02:44 PM, Gordon Messmer wrote:
On 07/19/2015 11:36 AM, g wrote:
Logical partitions within the extended partition will always be
numbered consecutively starting with 5. If you delete or merge some logical partitions, all of the higher partition numbers will shift down.
if you can post a mutual site that i can upload a jpg, i would be more than happy to upload a shot of 'disk utility' showing;
sdb1 sdb2 sdb3 sdb6 sdb5 12 GB NTFS 2.1 GB Swap 11 GB ext4 32 GB ext4 23 GB ext4In your case, "sdb5" appears to be listed in the logical partition table before "sdb6", but describe an area that appears further into the disk.
That doesn't contradict what Robert wrote.
Indeed. Partitions 5 and 6 are _numbered_ consecutively, they just aren't _arranged_ consecutively on the disk. Some tools will list them in disk order, some in numerical order. A GUI tool that shows a graphical map of the disk will, of course, be showing them in disk order.
On 07/19/15 16:55, Robert Nichols wrote:
On 07/19/2015 02:44 PM, Gordon Messmer wrote:
On 07/19/2015 11:36 AM, g wrote:
Logical partitions within the extended partition will always be
numbered consecutively starting with 5. If you delete or merge some logical partitions, all of the higher partition numbers will shift down.
if you can post a mutual site that i can upload a jpg, i would be more than happy to upload a shot of 'disk utility' showing;
sdb1 sdb2 sdb3 sdb6 sdb5 12 GB NTFS 2.1 GB Swap 11 GB ext4 32 GB ext4 23 GB ext4In your case, "sdb5" appears to be listed in the logical partition table before "sdb6", but describe an area that appears further into the disk.
That doesn't contradict what Robert wrote.
Indeed. Partitions 5 and 6 are _numbered_ consecutively, they just aren't _arranged_ consecutively on the disk. Some tools will list them in disk order, some in numerical order. A GUI tool that shows a graphical map of the disk will, of course, be showing them in disk order.
robert & gorden, you both are correct.
after reading your replies, i decided to look at partitions to see what i may have been doing to have such partitions.
iirc, sdb5 was actually a part of sdb3 before i decided to cut down size of sdb3.
while looking at what was on partitions, i decide to move files to a better place and get rid of the no longer need ntfs.
new config is;
sdb1 sdb5 sdb6 sdb7 2 GB /boot 2.1 GB swap 11 GB / 65 GB /home
with further cutting up of sdb1 for a fedora install, after i finish reading up on 'efi' and going back thru all the post about 'efi' partitioning.