Re: Disk config with GRUB/EFI, RAID + LVM

2023-12-05 Diskussionsfäden Rémy Dernat
BTW, I am wondering what would be the corresponding BTRFS config. Does something like this work as expected or not (mixing / and /tmp this time) : ``` disk_config disk1 disklabel:gpt bootable:1 fstabkey:uuid primary - 2G -- primary - 70% -- primary - 0- -- d

Re: Disk config with GRUB/EFI, RAID + LVM

2023-12-05 Diskussionsfäden Rémy Dernat
Hi, After digging some time around this issue, I am finally able to boot the RAID1 partition with EFI boot enabled on it (using this example: https://fai-project.org/download/misc/disk_config/lvm-on-luks-on-raid). Here is my final disk_config file: ```# example of new config file for setup-stora

Re: Disk config with GRUB/EFI, RAID + LVM

2023-12-01 Diskussionsfäden Rémy Dernat
Hi Andrew, Thanks for suggestions. Now, my file "disk_config/GRUB_EFI_RAID1" is [*]: ``` # example of new config file for setup-storage # # disk_config disk1 disklabel:gpt fstabkey:uuid bootable:1 primary - 2G - - primary /boot/efi 1G vfat rw createopts="-F32" primary - 2G - - primary -

Re: Disk config with GRUB/EFI, RAID + LVM

2023-11-30 Diskussionsfäden Andrew Ruthven
Nice, good work. A couple of suggestions... I'd put swap on RAID1, if you have a disk go offline while the system is running, you've lost anything that had been swapped out to the swap on the failed disk. I like to put a 100MB partition at the end of disks in a RAID pair to allow for slightly di

Re: Disk config with GRUB/EFI, RAID + LVM

2023-11-30 Diskussionsfäden Rémy Dernat
Ok, FYI, I think I have a working configuration with : ``` # example of new config file for setup-storage # # disk_config disk1 disklabel:gpt fstabkey:uuid bootable:1 primary - 2G - - primary /boot/efi 1G vfat rw createopts="-F32" primary swap 2G swap sw,pri=1 primary - 0- - - #disk_conf

Re: Disk config with GRUB/EFI, RAID + LVM

2023-11-30 Diskussionsfäden Rémy Dernat
What is strange here, is that md1 is found, as well as md0, but contrary to md0, md1 have an UUID ... However, UUID seems to be retrieve by blkid from /dev/disk/by-id, where both md array have their own mdadm UUID, but only md1 have an UUID from LVM (with pvdisplay / pvs ) ... Le jeu. 30 nov. 20

Re: Disk config with GRUB/EFI, RAID + LVM

2023-11-30 Diskussionsfäden Rémy Dernat
Hi Andrew, Indeed, this removed the syntax issue. However, I have a new error now: ``` /sbin/blkid -c /dev/null -s UUID -o value /dev/md0 had exit code 2 Command had non-zero exit code ``` Indeed, blkid is not able to found md0 UUID. I tried to modify the disk_config file to avoid this error, bu

Re: Disk config with GRUB/EFI, RAID + LVM

2023-11-30 Diskussionsfäden Andrew Ruthven
Hey, On Thu, 2023-11-30 at 11:14 +0100, Rémy Dernat wrote: > Hi awesome Fai guys, > > I have a weird syntax issue with the following disk_config: > [snip] > disk_config raid disklabel:gpt fstabkey:uuid bootable:1 This line is your problem, remove everything after the word raid. So it should jus

RE: Disk config

2011-06-16 Diskussionsfäden Ahmed Altaher
From: ahmta...@hotmail.com To: cour...@cena.fr Subject: RE: Disk config Date: Thu, 16 Jun 2011 13:40:38 +0200 >Date: Thu, 16 Jun 2011 12:37:42 +0200 >From: cour...@cena.fr >To: linux-fai@uni-koeln.de >Subject: Re: Disk config > Le 16/06/2011 12:14,

Re: Disk config

2011-06-16 Diskussionsfäden Nicolas Courtel
Le 16/06/2011 12:14, Ahmed Altaher a écrit : Dearest all, I succeded installing Ubuntu 10.10 from Debian squeeze based FAI. But my problem is; how could I preserve the 1st partition that includes Windows 7. my disk config is disk_config sda preserve_always:1,2 bootable:3 primary - 0 - -

Re: Disk config

2011-06-16 Diskussionsfäden Michael Tautschnig
Hi, [...] > But my problem is; how could I preserve the 1st partition that includes > Windows 7. > > my disk config is > > disk_config sda preserve_always:1,2 bootable:3 > primary - 0 - - > primary - 0 - - > primary /boot 512ext3rw > logical - 22000---