Re:

2015-12-04 Diskussionsfäden Kerim Gueney

Hi Steven,

you could technically chroot into your nfsroot for Ubuntu and install 
live-boot/remove dracut manually.


Best regards

Am 04.12.2015 um 09:48 schrieb steven.w...@t-online.de:


Hi fai-guys,

I just updated our FAI-Server from 4.x to 5.0 ( thanks a lot and a lot 
of respect for the done job!). I updated our Debian 8 NFS-Root and 
everything works fine.


We also have an installation for Ubuntu 14.04 LTS depending on this 
tutorial 
(http://wiki.fai-project.org/wiki/Installing_Ubuntu_Linux_with_FAI) 
. Inside 
the tutorial the problems using dracut are apointed and how to use 
live-boot instead of dracut.


After the update to Fai-Server 5.0 the flag -l (live-boot) has been 
removed inside fai-make-nfsroot (we called fai-make-nfsroot -l -v -f 
-C /etc/fai/ubuntu1404server/).


Does anyone has any tips handling this?

Thanks and regards,

Steven



Profitieren Sie von der sicheren E-Mail-Übertragung Ihrer Daten mit 
einer kostenlosen E-Mail-Adresse der Telekom.

www.t-online.de/email-kostenlos




[no subject]

2015-12-04 Diskussionsfäden steven.w...@t-online.de
Hi fai-guys,

 

I just updated our FAI-Server from 4.x to 5.0 ( thanks a lot and a lot of 
respect for the done job!). I updated our Debian 8 NFS-Root and everything 
works fine.

 

We also have an installation for Ubuntu 14.04 LTS depending on this 
tutorial (
http://wiki.fai-project.org/wiki/Installing_Ubuntu_Linux_with_FAI)
 . 
Inside the tutorial the problems using dracut are apointed and how to use 
live-boot instead of dracut.

 

After the update to Fai-Server 5.0 the flag -l (live-boot) has been removed 
inside fai-make-nfsroot (we called fai-make-nfsroot -l -v -f -C 
/etc/fai/ubuntu1404server/).

 

Does anyone has any tips handling this?

 

Thanks and regards,

 

Steven



 
Profitieren Sie von der sicheren E-Mail-Übertragung Ihrer Daten mit einer 
kostenlosen E-Mail-Adresse der Telekom.
www.t-online.de/email-kostenlos


Re:

2015-12-04 Diskussionsfäden Thomas Lange
> On Fri, 4 Dec 2015 09:48:46 +0100 (MET), "steven.w...@t-online.de" 
>  said:

> We also have an installation for Ubuntu 14.04 LTS depending on this 
tutorial (http://wiki.fai-project.org/wiki/Installing_Ubuntu_Linux_with_FAI). 
Inside the tutorial the problems using dracut
> are apointed and how to use live-boot instead of dracut.
I suggest to use a Debian nfsroot when installing Ubuntu. This works
fine and does not have the problems, to make dracut work on Ubuntu.

But morty does a great job on maintaining a PPA for Ubuntu, which
includes FAI 5 and he is also working on dracut for Ubuntu.

https://github.com/cmorty/dracut
https://launchpad.net/~fai/+archive/ubuntu/ppa

-- 
regards Thomas


Re: Re:

2015-12-04 Diskussionsfäden Thomas Lange
> On Fri, 4 Dec 2015 09:53:50 +0100, Kerim Gueney  
> said:

> you could technically chroot into your nfsroot for Ubuntu and install 
live-boot/remove dracut manually.
That will not help, because replacing dracut with live-boot is only
one part. There are additional steps needed to make live-boot work (like a
different directory layout, live.conf,...) which do not work with FAI
5 any more.

live-boot supoprt was completely removed from FAI in 5.0.
-- 
regards Thomas


Re: Problem with GPT Bios Partition

2015-12-04 Diskussionsfäden Denny Bortfeldt
Hello everyone,

just a follow-up. With the help from Kerim I could managed my setup.
The disk-label "gpt-bios" will create this special 2MB Bios-Partition at
the end of the part-layout. It's not neccessary to define it in the
disk_config-File.

So to create my layout as I mention in the first mail my disk_config looks
like this now:


#

disk_config disk1 disklabel:gpt-bios bootable:3 fstabkey:uuid

primary swap 8192 swap rw
primary /boot 512 ext4 rw,noatime,errors=remount-ro
primary / 15360 ext4 rw,noatime,errors=remount-ro




Thanks everyone for helping me out!


Best regards,
Denny


2015-11-26 18:39 GMT+01:00 Kerim Gueney :

> Hey Denny,
>
> Type 4 is 16-bit FAT (up to 32M), I see there's some Microsoft partitions.
> Is the first partition perhaps an MBR that was installed along some
> previous Windows installation? I only ever see it when I installed Windows
> on my machine prior to Linux. Maybe you could do the following:
>
> disk_config disk1 disklabel:gpt-bios bootable:1 fstabkey:uuid
> primary - 2048 msdos rw # (msdos is fat16)
> primary swap 8192 swap rw
> primary /boot 512 ext4 rw,noatime,errors=remount-ro
> primary / 15360 ext4 rw,noatime,errors=remount-ro
> logical - 1- - -
>
>
> Best regards
> Kerim
>
>
>
> On 26.11.2015 18:14, Denny Bortfeldt wrote:
>
> Hey Kerim,
>
> no not really - my disk_config could be/is wrong.
> The following schema need to be created by FAI disk_config:
>
> GPT /dev/sda1 2048 6143 2M BIOS boot partition /dev/sda2 6144 16783359 8G
> Linux swap /dev/sda3 16783360 17831935 512M Microsoft basic data /boot
> /dev/sda4 17831936 49289215 15G Microsoft basic data / /dev/sda5 49289216
> 7812456414 3.6T Linux LVM
>
> But here's the problem: I don't know how.
> The /dev/sda1 partition don't have got a mount point and is a type "4" in
> fdisk/gdisk - so I don't know what I need to write in my disk_config so
> that FAI will use "type 4" in partition layout.
> /dev/sda2, /dev/sda3 and /dev/sda4 is clear - everything is "primary" and
> swap or ext4.
>
>
> So what do I need to enter in my disk_config that the result will look
> like:
>
> /dev/sda1 2048 6143 2M BIOS boot partition
>
> Thanks in advance :)
>
> Best regards,
> Denny
>
> 2015-11-26 17:48 GMT+01:00 Kerim Güney :
>
>> Hi Denny,
>>
>> there seems to be a mismatch of sorts between your desired schema and
>> what you're actually describing. I am going to assume you want an EFI
>> partition that you're going to boot off of.
>>
>> To do so, this should work:
>>
>> disk_config disk1 disklabel:gpt-bios bootable:1 fstabkey:uuid
>>
>> primary /boot/efi 2048 vfat rw
>> primary swap 8192 swap rw
>> primary /boot 512 ext4 rw,noatime,errors=remount-ro
>> primary / 15360 ext4 rw,noatime,errors=remount-ro
>> logical - 1- - -
>>
>>
>> Best regards
>> Kerim
>>
>>
>> On 26/11/15 16:19, Denny Bortfeldt wrote:
>>
>> Hello everyone,
>>
>> I'm using FAI 5.0 and need a special partition layout for our centos kvm
>> installation.
>>
>> The partition schema need to be like this:
>>
>> GPT /dev/sda1 2048 6143 2M BIOS boot partition /dev/sda2 6144 16783359 8G
>> Linux swap /dev/sda3 16783360 17831935 512M Microsoft basic data /boot
>> /dev/sda4 17831936 49289215 15G Microsoft basic data / /dev/sda5 49289216
>> 7812456414 3.6T Linux LVM
>> Unfortunately I'm unable to create /dev/sda1 and /dev/sda5 with the
>> disk_config.
>> I don't know what "fstype" I have to enter, that FAI will partitionate
>> /dev/sda1 to "BIOS boot partition" (fdisk type "4").
>> fstype "efi" and "bios" will run into an error:
>> https://data.bortfeldt.net/f/d9b3239df0/
>> My current config_disk-File looks like this:
>> #
>>
>> disk_config disk1 disklabel:gpt-bios bootable:3 fstabkey:uuid
>>
>> primary - 2 efi -
>> primary swap 8192 swap rw
>> primary /boot 512 ext4 rw,noatime,errors=remount-ro
>> primary / 15360 ext4 rw,noatime,errors=remount-ro
>> logical - 1- - -
>>
>>
>> So is anyone here who can help me out with my disk_configuration so that
>> FAI will partitionate like the schema above?
>>
>> Thanks in advance.
>>
>> Best regards,
>> Denny
>>
>>
>> --
>>  Kerim Güney
>>
>>  Institut für InformatikJunior Sysadmin
>>  Universität zu KölnLehrstuhl Prof. Dr. M. Jünger
>> Weyertal 121
>>   50931 Köln
>>
>>
>
>