Re: [foreman-users] Re: "No root file system is defined" error using preseed atomic partitioning scheme

2016-09-21 Thread Hauke Behrens


On 09/21/2016 02:51 PM, Akash Kaveti wrote:
> Is there any way I can give a default password for it, so that I
> shouldn't give password during the installation?

https://www.google.de/?gws_rd=ssl#q=preseed+crypto+password

First hit..

Hauke

-- 
bytemine GmbH, Im Technologiepark 4, 26129 Oldenburg
Support: 0441-309197-42 --- Vertrieb: 0441-309197-69
GF: Felix Kronlage -- AG in Oldenburg -- HRB 203 940
https://www.bytemine.net --- VAT-Number: DE267286778

-- 
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 foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Re: [foreman-users] Re: "No root file system is defined" error using preseed atomic partitioning scheme

2016-09-14 Thread Hauke Behrens


On 09/14/2016 03:04 PM, Akash Kaveti wrote:
> Hello Again,
> 
> It is working now, I have check the syslog, the device I am trying to
> install is not there it seems,
> so I gave /dev/sdb, it is working now.

Glad I could help. :-)


> It is working for the current host, but what about the other hosts, Why
> cant I use "/d-i partman/early_command string debconf-set
> partman-auto/disk "$(list-devices disk | head -n1)/"

It's always hard to guess what device is getting used.
If you have a usb-stick plugged-in with the e.g. a formean-boot-iso,
that might be /dev/sda and your "real" hard-disk might be /dev/sdb/.

In that case "head -n2" will do the trick.
When using raid-devices this might be different too.

Also check out this thread:

https://groups.google.com/forum/#!topic/foreman-users/uKuY4YJuy7E

Hauke

-- 
bytemine GmbH, Im Technologiepark 4, 26129 Oldenburg
Support: 0441-309197-42 --- Vertrieb: 0441-309197-69
GF: Felix Kronlage -- AG in Oldenburg -- HRB 203 940
https://www.bytemine.net --- VAT-Number: DE267286778

-- 
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 foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Re: [foreman-users] Re: "No root file system is defined" error using preseed atomic partitioning scheme

2016-09-14 Thread Hauke Behrens
Hi,

what kind of system are you trying to install to ?
KVM/Libvirt, a hardware box, something else ?
Are you maybe using LVM to provide the virtual disk ?

Please provide some more information on what you are trying to install
to. Maybe that will help to find the error.

I've also seen that error before, and in my cases it always was:
"trying to install to a wrong disk or "trying to install to non-
existant device".

One thing you can try is to switch to a different console
(ctrl+alt+f1,f2 etc.) during the install and checking syslog, to see
what commands are issued.
Check if the device really exists on the system or try another recipe.

Hauke



-- 
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 foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Re: [foreman-users] Re: "No root file system is defined" error using preseed atomic partitioning scheme

2016-09-13 Thread Hauke Behrens
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 foreman-users+unsubscr...@googlegroups.com
> .
> To post to this group, send email to foreman-users@googlegroups.com
> .
> 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 foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.