Re: [CentOS] fresh C7.7 install

2019-10-25 Thread Thomas Stephen Lee
Hi,

gpt  is newer partition
table format.

fdisk started supporting gpt recently, while parted has better support for
gpt.


thanks

---
Thomas Stephen Lee

On Fri, Oct 25, 2019 at 5:22 PM Jerry Geis  wrote:

> Results for parted:
>
> parted /dev/sda print
> Model: ATA KINGSTON SUV5001 (scsi)
> Disk /dev/sda: 120GB
> Sector size (logical/physical): 512B/4096B
> Partition Table: gpt
> Disk Flags:
>
> Number  Start   End SizeFile system Name  Flags
>  1  1049kB  1050MB  1049MB  fat32   EFI System Partition  boot
>  2  1050MB  53.5GB  52.4GB  ext4
>  3  53.5GB  57.7GB  4194MB  linux-swap(v1)
>  4  57.7GB  120GB   62.4GB  ext4
>
>
>
> So this shows what I'm expecting. What is the issue with fdisk ???
>
> Jerry
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] fresh C7.7 install

2019-10-25 Thread Jerry Geis
Results for parted:

parted /dev/sda print
Model: ATA KINGSTON SUV5001 (scsi)
Disk /dev/sda: 120GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number  Start   End SizeFile system Name  Flags
 1  1049kB  1050MB  1049MB  fat32   EFI System Partition  boot
 2  1050MB  53.5GB  52.4GB  ext4
 3  53.5GB  57.7GB  4194MB  linux-swap(v1)
 4  57.7GB  120GB   62.4GB  ext4



So this shows what I'm expecting. What is the issue with fdisk ???

Jerry
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] fresh C7.7 install

2019-10-24 Thread Thomas Stephen Lee
Hi,

try

parted /dev/sda print

thanks

---
Thomas Stephen Lee

On Thu, Oct 24, 2019 at 5:41 PM Jerry Geis  wrote:

> HI all,
>
> I just did a fresh C7 install using kickstart.
>
> fdisk -l /dev/sda shows:
> # Start  EndSize  TypeName
>  1 2048  2050047   1000M  EFI System  EFI System Partition
>  2  2050048104450047   48.8G  Microsoft basic
>  31044500481126420473.9G  Linux swap
>  4112642048234440703   58.1G  Microsoft basic
>
> What extra do I need to specify in my kickstart so that the "type" above is
> not Microsoft basic?
>
> For example, currently a line in my kickstart would be:
> part /home --ondisk=/dev/sda --fstype ext4 --size=58G --asprimary
>
>
> What is missing so the type is set correctly to linux root or linux home?
>
> Thanks,
>
> Jerry
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos