Hi,

the problem probably isn't the partitioning schema itself, but the disk
used/defined before.

Check if this part

"d-i partman-auto/disk string /dev/vda"

matches your server.

Maybe some other value is needed for your case, like /dev/sda/ or /dev/xvda.

You can override that in the partition table itself or by adding an
according host.param for install_disk.

The relevant snippet is this one:
--------------------------------------------------------------------
<% if @host.params['install-disk'] -%>
d-i partman-auto/disk string <%= @host.params['install-disk'] %>
<% else -%>
d-i partman-auto/disk string /dev/vda
<% end -%>
--------------------------------------------------------------------

Hope it helps,

Hauke


On 09/13/2016 06:04 PM, Akash Kaveti wrote:
> Exact error message is, No root file system is defined, Please correct
> this form partitioning menu.
> I have installed foreman with DHCP in a network, where I have disabled
> the existing DHCP in that Network.
> 
> On Tuesday, September 13, 2016 at 4:49:42 PM UTC+2, Akash Kaveti wrote:
> 
>     I am using preseed default as partitioning template, but when a host
>     is launched using that I got this error "No root file system is defined"
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "Foreman users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected]
> <mailto:[email protected]>.
> To post to this group, send email to [email protected]
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/foreman-users.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to