[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RAID b/w GPT and NON GPT partition.



Muhammad Yousuf Khan a écrit :
> 
> Pascal thanks for the tip about extending one of the partition and using
> the free space i will do so but for now my primary problem is to create a
> boot partition so that i can boot and replace the old 1.5 TB with 2TB
> drive. as you said boot partition in GPT can be created anywhere not
> necessarily at start.

Caution : anywhere within the 2 TiB boundary addressable by BIOS. You
don't have to worry about it with a 2 TB disk (2 TB < 2 TiB).

> Number  Start (sector)    End (sector)  Size       Code  Name
>    1            2048         7813119   3.7 GiB     FD00  Linux RAID
>    3        27344896      1980469247   931.3 GiB   FD00  Linux RAID
>    4      1980469248      2930276351   452.9 GiB   FD00  Linux RAID
>    5         7815168        27344895   9.3 GiB     FD00  Linux RAID
> 
> As you can see partition 2 is missing.

Yes, partition 2 was probably the previous extended partition containing
the previously logical partition 5.

> when i am creating the new partition
> it is starting from the "2930276352" (+1 ending sector of partition 4)

This is just the default start position proposed by gdisk. Gdisk also
displays the possible start range. I suggest to select the unallocated
sector range 7813120-7815168 (1 MiB) between partitions 1 and 5 for the
new BIOS boot partition.

> should i create partition 2 of a size of 1 GB.

1 GB is much too big. As previously said, 1 MiB is just plenty.

> and make it as a boot
> partition and install grup on that partition.

Actually you don't explicitly install grub on that partition. You tell
grub-install to install the bootloader on the disk, and it will
implicitly find and use the partition.


Reply to: