Le 21/03/2017 00:42, Ed Greshko a écrit :
On 03/20/17 19:17, François Patte wrote:
> After many attempts to install f25, I can now log in and see how
> anaconda makes the partitionning:
>
> What I wanted is a RAID1 system with this partitionning:
>
> / 2Gib
> /boot / 1Gib
> swap 4Gib
> /var 15 Gib
> /usr 40 Gib
> /home 600Gib
FWIW, I created a Virtual Machine with 2 32GB disks. I then installed
an F25 KDE based system using the netinst ISO. I gave the VM 1.2GB of
RAM. For the disk configuration I requested RAID1 and
/ of 14GB
/boot of 1GB
/var of 11GB
swap of 2GB
/home whatever was left over.
After install....
[egreshko@2disk ~]$ df --exclude-type=tmpfs --exclude-type=devtmpfs
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/fedora-root 14290376 4892296 8649128 37% /
/dev/md127 944568 108676 770692 13% /boot
/dev/mapper/fedora-var 11407600 555420 10249660 6% /var
/dev/mapper/fedora-home 4029540 258672 3543132 7% /home
[egreshko@2disk ~]$ swapon
NAME TYPE SIZE USED PRIO
/dev/dm-1 partition 1.9G 2.9M -1
[root@2disk ~]# parted
GNU Parted 3.2
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: ATA VBOX HARDDISK (scsi)
Disk /dev/sda: 34.4GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 1001MB 1000MB primary boot, raid
2 1001MB 34.4GB 33.4GB primary raid
(parted) select /dev/sdb
Using /dev/sdb
(parted) print
Model: ATA VBOX HARDDISK (scsi)
Disk /dev/sdb: 34.4GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 1001MB 1000MB primary boot, raid
2 1001MB 34.4GB 33.4GB primary raid
So what?
I am sorry but I do not understand what you mean....
Up to now I did not find how to resize my swap partition and how to add
the remaining space to the extended partition.
I want to resize the swap from this awfull size given by anaconda
(128Gib) to 4Gib and to move the remaining space (124Gib) to the
extended partition.
Gparted is unable to do this because of the raid1 device where the swap is.
--
François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)1 8394 5849
http://www.math-info.univ-paris5.fr/~patte