Re: Install on an entire disk without partitioning

Michael Mayer <[email protected]> Tue, 21 Feb 2017 13:01:15 +0000 (GMT)
Newsgroups gmane.linux.redhat.kickstart.general
Message-ID <[email protected]>
--===============7845465916214812331==
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html>
<html><head>
    <meta charset=3D"UTF-8">
</head><body><p>Not sure if this helpful (I have not tested that myself) - =
wondering if you could specify</p><p>bootloader --location=3Dpartition&#160=
;</p><p>to make it work ?&#160;</p><p>see https://access.redhat.com/documen=
tation/en-US/Red_Hat_Enterprise_Linux/7/html/Installation_Guide/sect-kickst=
art-syntax.html</p><blockquote type=3D"cite">On 21 February 2017 at 12:38 A=
ngus Clarke &#60;[email protected]&#62; wrote:<br><br><div dir=3D"ltr"=
><div><div>As far as I know, LVM is the only way to use disks without parti=
tioning (and I still use partitions with LVM anyway - old habits die hard!)=
 However I doubt a boot partition will work under LVM. I&#39;m a bit out of=
 touch with modern disk/boot architectures however ...<br><br></div>Regards=
<br></div>Angus<br></div><div class=3D"ox-2faff21410-gmail_extra"><br><div =
class=3D"ox-2faff21410-gmail_quote">On 20 February 2017 at 19:14, Eduardo B=
ragatto &#60;<a href=3D"mailto:[email protected]" target=3D"_blank">edua=
[email protected]</a>&#62; wrote:<br><blockquote>Hello,<br> <br> First of al=
l, my apologies if this questions has already been answered, but I couldn&#=
8217;t find a clear answer in the documentation or searching the list archi=
ves.<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 t=
o use &#8220;part &#8230;. onpart=3Dxvda&#8221;, like this:<br> <br> zeromb=
r<br> clearpart --drives=3Dxvda --all --initlabel<br> part / --fstype ext3 =
--fsoptions=3Dnoatime --onpart=3Dxvda<br> <br> The installer actually forma=
ts /dev/xvda correctly:<br> <br> &#160; &#160; &#160; &#160; &#160; &#160; =
&#160;=E2=94=82 Creating ext3 filesystem on /dev/xvda&#160; &#160; &#160; &=
#160; &#160; &#160; &#160; =E2=94=82<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> &#62; /usr/lib/anaconda/platform.py(<wbr/>640=
)bootloaderChoices()<br> -&#62; ret[&#34;mbr&#34;] =3D (bl.drivelist[0], N_=
(&#34;Master Boot Record (MBR)&#34;))<br> (Pdb) bl.drivelist<br> []<br> (Pd=
b) ret<br> {&#39;boot&#39;: (&#39;xvda&#39;, &#39;First sector of boot part=
ition&#39;)}<br> <br> <br> What&#8217;s the correct way to avoid partitioni=
ng entirely, and have the system installed into a whole device?<br> <br> <b=
r> Kind regards<br> Eduardo Bragatto<br> <br> <br> ________________________=
______<wbr/>_________________<br> Kickstart-list mailing list<br> <a href=
=3D"mailto:[email protected]">[email protected]</a><br> <a =
href=3D"https://www.redhat.com/mailman/listinfo/kickstart-list" target=3D"_=
blank">https://www.redhat.com/<wbr/>mailman/listinfo/kickstart-<wbr/>list</=
a></blockquote></div><br></div>____________________________________________=
___<br>Kickstart-list mailing list<br>[email protected]<br>https://=
www.redhat.com/mailman/listinfo/kickstart-list</blockquote></body></html>
=20


--===============7845465916214812331==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Kickstart-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/kickstart-list
--===============7845465916214812331==--