<div dir="ltr"><div><div>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 ...<br><br></div>Regards<br></div>Angus<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 20 February 2017 at 19:14, Eduardo Bragatto <span dir="ltr"><<a href="mailto:eduardo@bragatto.com" target="_blank">eduardo@bragatto.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
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.<br>
<br>
My goal is to install CentOS 6 and 7 on an entire disk, with no partitioning scheme (e.g. in /dev/xvda).<br>
<br>
My first attempt was to use “part …. onpart=xvda”, like this:<br>
<br>
zerombr<br>
clearpart --drives=xvda --all --initlabel<br>
part / --fstype ext3 --fsoptions=noatime --onpart=xvda<br>
<br>
The installer actually formats /dev/xvda correctly:<br>
<br>
             │ Creating ext3 filesystem on /dev/xvda              │<br>
<br>
<br>
However, it fails right after that because it tries to read the first item from an empty list:<br>
<br>
Entering debugger...<br>
> /usr/lib/anaconda/platform.py(<wbr>640)bootloaderChoices()<br>
-> ret["mbr"] = (bl.drivelist[0], N_("Master Boot Record (MBR)"))<br>
(Pdb) bl.drivelist<br>
[]<br>
(Pdb) ret<br>
{'boot': ('xvda', 'First sector of boot partition')}<br>
<br>
<br>
What’s the correct way to avoid partitioning entirely, and have the system installed into a whole device?<br>
<br>
<br>
Kind regards<br>
Eduardo Bragatto<br>
<br>
<br>
______________________________<wbr>_________________<br>
Kickstart-list mailing list<br>
<a href="mailto:Kickstart-list@redhat.com">Kickstart-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/kickstart-list" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/kickstart-<wbr>list</a></blockquote></div><br></div>