From eduardo at bragatto.com Mon Feb 20 18:14:35 2017 From: eduardo at bragatto.com (Eduardo Bragatto) Date: Mon, 20 Feb 2017 15:14:35 -0300 Subject: Install on an entire disk without partitioning Message-ID: Hello, First of all, my apologies if this questions has already been answered, but I couldn?t find a clear answer in the documentation or searching the list archives. My goal is to install CentOS 6 and 7 on an entire disk, with no partitioning scheme (e.g. in /dev/xvda). My first attempt was to use ?part ?. onpart=xvda?, like this: zerombr clearpart --drives=xvda --all --initlabel part / --fstype ext3 --fsoptions=noatime --onpart=xvda The installer actually formats /dev/xvda correctly: ? Creating ext3 filesystem on /dev/xvda ? However, it fails right after that because it tries to read the first item from an empty list: Entering debugger... > /usr/lib/anaconda/platform.py(640)bootloaderChoices() -> ret["mbr"] = (bl.drivelist[0], N_("Master Boot Record (MBR)")) (Pdb) bl.drivelist [] (Pdb) ret {'boot': ('xvda', 'First sector of boot partition')} What?s the correct way to avoid partitioning entirely, and have the system installed into a whole device? Kind regards Eduardo Bragatto From angus.clarke at gmail.com Tue Feb 21 12:38:24 2017 From: angus.clarke at gmail.com (Angus Clarke) Date: Tue, 21 Feb 2017 13:38:24 +0100 Subject: Install on an entire disk without partitioning In-Reply-To: References: Message-ID: As far as I know, LVM is the only way to use disks without partitioning (and I still use partitions with LVM anyway - old habits die hard!) However I doubt a boot partition will work under LVM. I'm a bit out of touch with modern disk/boot architectures however ... Regards Angus On 20 February 2017 at 19:14, Eduardo Bragatto wrote: > Hello, > > First of all, my apologies if this questions has already been answered, > but I couldn?t find a clear answer in the documentation or searching the > list archives. > > My goal is to install CentOS 6 and 7 on an entire disk, with no > partitioning scheme (e.g. in /dev/xvda). > > My first attempt was to use ?part ?. onpart=xvda?, like this: > > zerombr > clearpart --drives=xvda --all --initlabel > part / --fstype ext3 --fsoptions=noatime --onpart=xvda > > The installer actually formats /dev/xvda correctly: > > ? Creating ext3 filesystem on /dev/xvda ? > > > However, it fails right after that because it tries to read the first item > from an empty list: > > Entering debugger... > > /usr/lib/anaconda/platform.py(640)bootloaderChoices() > -> ret["mbr"] = (bl.drivelist[0], N_("Master Boot Record (MBR)")) > (Pdb) bl.drivelist > [] > (Pdb) ret > {'boot': ('xvda', 'First sector of boot partition')} > > > What?s the correct way to avoid partitioning entirely, and have the system > installed into a whole device? > > > Kind regards > Eduardo Bragatto > > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael at mayer.cx Tue Feb 21 13:01:15 2017 From: michael at mayer.cx (Michael Mayer) Date: Tue, 21 Feb 2017 13:01:15 +0000 (GMT) Subject: Install on an entire disk without partitioning In-Reply-To: References: Message-ID: <1781622782.107311.1487682075337@email.1and1.co.uk> An HTML attachment was scrubbed... URL: From lists at jacobdevans.com Tue Feb 21 13:19:31 2017 From: lists at jacobdevans.com (Jacob Evans) Date: Tue, 21 Feb 2017 08:19:31 -0500 (EST) Subject: Install on an entire disk without partitioning In-Reply-To: <1781622782.107311.1487682075337@email.1and1.co.uk> References: <1781622782.107311.1487682075337@email.1and1.co.uk> Message-ID: <845885029.3440.1487683171536@lux.jacobdevans.com> I used this layout for lvm, you'll need a dedicated boot partition. https://gist.github.com/JakeDEvans/908d9a75aa5fc24c9eee24f4912af9aa Hope it helps. -Jake From: "Michael Mayer" To: "Angus Clarke" , "kickstart-list" Sent: Tuesday, February 21, 2017 8:01:15 AM Subject: Re: Install on an entire disk without partitioning Not sure if this helpful (I have not tested that myself) - wondering if you could specify bootloader --location=partition to make it work ? see https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Installation_Guide/sect-kickstart-syntax.html On 21 February 2017 at 12:38 Angus Clarke wrote: As far as I know, LVM is the only way to use disks without partitioning (and I still use partitions with LVM anyway - old habits die hard!) However I doubt a boot partition will work under LVM. I'm a bit out of touch with modern disk/boot architectures however ... Regards Angus On 20 February 2017 at 19:14, Eduardo Bragatto < [ mailto:eduardo at bragatto.com | eduardo at bragatto.com ] > wrote: BQ_BEGIN Hello, First of all, my apologies if this questions has already been answered, but I couldn?t find a clear answer in the documentation or searching the list archives. My goal is to install CentOS 6 and 7 on an entire disk, with no partitioning scheme (e.g. in /dev/xvda). My first attempt was to use ?part ?. onpart=xvda?, like this: zerombr clearpart --drives=xvda --all --initlabel part / --fstype ext3 --fsoptions=noatime --onpart=xvda The installer actually formats /dev/xvda correctly: ? Creating ext3 filesystem on /dev/xvda ? However, it fails right after that because it tries to read the first item from an empty list: Entering debugger... > /usr/lib/anaconda/platform.py(640)bootloaderChoices() -> ret["mbr"] = (bl.drivelist[0], N_("Master Boot Record (MBR)")) (Pdb) bl.drivelist [] (Pdb) ret {'boot': ('xvda', 'First sector of boot partition')} What?s the correct way to avoid partitioning entirely, and have the system installed into a whole device? Kind regards Eduardo Bragatto _______________________________________________ Kickstart-list mailing list [ mailto:Kickstart-list at redhat.com | Kickstart-list at redhat.com ] [ https://www.redhat.com/mailman/listinfo/kickstart-list | https://www.redhat.com/mailman/listinfo/kickstart-list ] _______________________________________________ Kickstart-list mailing list Kickstart-list at redhat.com https://www.redhat.com/mailman/listinfo/kickstart-list BQ_END _______________________________________________ Kickstart-list mailing list Kickstart-list at redhat.com https://www.redhat.com/mailman/listinfo/kickstart-list -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Evans, Jacob.vcf Type: text/directory Size: 454 bytes Desc: not available URL: From simpsonar77 at gmail.com Thu Feb 23 21:08:08 2017 From: simpsonar77 at gmail.com (Andrew Simpson) Date: Thu, 23 Feb 2017 16:08:08 -0500 Subject: lspci missing from %pre during kickstart on RHEL 7 In-Reply-To: References: Message-ID: just an FYI, lspci is now available during kickstart in 7.3 Andrew Simpson On Wed, May 25, 2016 at 2:51 PM, Andrew Simpson wrote: > Doing a new kickstart setup under RHEL 7.2. The %pre section used lspci > to determine what video devices are available at that time. In RHEL 6 was > not a problem. However, in RHEL 7/CentOS 7, lspci is missing. Is this a > bug, or by design? is there an alternate method to determine what video > devices are available? > > thanks! > Andrew Simpson > -------------- next part -------------- An HTML attachment was scrubbed... URL: From simpsonar77 at gmail.com Thu Feb 23 21:13:13 2017 From: simpsonar77 at gmail.com (Andrew Simpson) Date: Thu, 23 Feb 2017 16:13:13 -0500 Subject: nvidia-detect during kickstart + issue with xorg-x11-glamor el7 Message-ID: Is it possible to use nvidia-detect in the %pre section of a kickstart? I would like to be able to support different systems with various nvidia cards and need to be able to determine which nvidia drivers to install. I was hoping to do this in the %pre section, but nvidia-detect is provided as a binary application via rpm. pretty certain I can't do this in %pre and will have to punt to %post. Also, per many suggestions, I am removing xorg-x11-glamor as it conflicts with the nvidia elrepo drivers. It seems to be also removing the nvidia drivers. Not sure why, and only started seeing this on recent installs of RHEL 7 Andrew Simpson -------------- next part -------------- An HTML attachment was scrubbed... URL: