You are not logged in.

#1 2023-02-16 04:13:33

faeve
Member
Registered: 2022-06-10
Posts: 12

Reorganize Partitions for new Arch install [SOLVED]

Hello,

I'm wanting to install Arch on my laptop, I already have 4 primary partitions, windows boot - sda1 / windows - sda2 / efi boot (grub) - sda3 / root (ubuntu) sda4

Cfdisk doesn’t want to change the free space to another partition because I already have 4 primary partitions

I want to know If I can remove the windows boot partition (sda1) since I'm using the efi partition (sda3) and grub to launch everything.

I would like to install Arch in the Free Space between sda2 and sda3 and then use grub on the efi partition (sda3) to boot Arch and also share the Swap (sda6)

Its been a while since I set this up so I really don't remember whats actually on sda1 and sda3

  Device      Boot     Start       End   Sectors   Size Id Type
>>  /dev/sda1             2048    718847    716800   350M  7 HPFS/NTFS/exFAT    
    /dev/sda2           718848 371423955 370705108 176.8G  7 HPFS/NTFS/exFAT
    Free space       371425280 412385279  40960000  19.5G
    /dev/sda3   *    412385280 413433855   1048576   512M ef EFI (FAT-12/16/32)
    /dev/sda4        413435902 625141759 211705858 100.9G  5 Extended
    ├─/dev/sda5      413435904 621055999 207620096    99G 83 Linux
    └─/dev/sda6      621056000 625141759   4085760   1.9G 82 Linux swap / Solari

Thank you for your time

Last edited by faeve (2023-02-16 21:30:49)

Offline

#2 2023-02-16 08:20:12

d.ALT
Member
Registered: 2019-05-10
Posts: 959

Re: Reorganize Partitions for new Arch install [SOLVED]

faeve wrote:

Cfdisk doesn’t want to change the free space to another partition because I already have 4 primary partitions

You'd probably want GPT instead of MBR. See conversion.
Anyway, please post here full output of:

# gdisk -l /dev/sda

<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#3 2023-02-16 16:37:43

faeve
Member
Registered: 2022-06-10
Posts: 12

Re: Reorganize Partitions for new Arch install [SOLVED]

GPT fdisk (gdisk) version 1.0.8

Partition table scan:
  MBR: MBR only
  BSD: not present
  APM: not present
  GPT: not present


***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory. 
***************************************************************

Disk /dev/sda: 625142448 sectors, 298.1 GiB
Model: WDC WD3200BEKT-7
Sector size (logical/physical): 512/512 bytes
Disk identifier (GUID): 38ED3283-F63C-4106-9138-EE01E80C10D2
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 625142414
Partitions will be aligned on 2048-sector boundaries
Total free space is 40966041 sectors (19.5 GiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048          718847   350.0 MiB   0700  Microsoft basic data
   2          718848       371423955   176.8 GiB   0700  Microsoft basic data
   3       412385280       413433855   512.0 MiB   EF00  EFI system partition
   5       413435904       621055999   99.0 GiB    8300  Linux filesystem
   6       621056000       625141759   1.9 GiB     8200  Linux swap

EDIT:Fixed. Removed efi partition, set new arch partition on sda3, installed ubuntu on sda4, used arch install usb to arch-chroot and re-instal and configure grub.

Last edited by faeve (2023-02-16 21:30:25)

Offline

Board footer

Powered by FluxBB