Re: [Fedora-livecd-list] launch anaconda kickstart from running livecd

2009-10-18 Thread Jeremy Katz
On Fri, Oct 16, 2009 at 10:49 AM, Patrice Guay
patrice.g...@nanotechnologies.qc.ca wrote:
 Peter Scheie wrote:
 Thanks for the clarification.  Is the 'liveinst' utility needed in order
 to install the image from the livecd to the hard drive?  Or is it needed
 because anaconda isn't built to start an installation from an already
 running system (such as a running livecd session)?  I assume it is the
 former, as the webpage says as much, but I wanted verify that I wasn't
 misunderstanding the requirements.  (This *does* start drifting toward
 being an anaconda question, but it's all within the context of the
 livecd session.)

 This is definitely a question related to anaconda. The liveinst utility was
 added to anaconda in order to support installation from a LiveCD. You should
 ask the package maintainers what are the limitations of their utility and
 its normal usage.

pedantic
liveinst is purely a shell script to kick off anaconda with the
various arguments for install off of a live system mode
/pedantic

Installing a live image using anaconda requires the anaconda changes
that went into Fedora 8 to do so -- you're not going to be able to get
away with easily getting those running on a CentOS 5 system.  You
could hack up something to do the basic bits, but any of the, eg, help
with partitioning you get or otherwise isn't going to be there.

- Jeremy

--
Fedora-livecd-list mailing list
Fedora-livecd-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-livecd-list


Re: [Fedora-livecd-list] launch anaconda kickstart from running livecd

2009-10-16 Thread Jeroen van Meeuwen

On 10/15/2009 08:03 PM, Peter Scheie wrote:

From a running Centos liveCD (minimal) I want to launch anaconda with a

kickstart file.  Right now we build a small ISO using isolinux that
loads the kernel and points it to the kickstart file on an HTTP server
(ks=http://blah.blah.blah/ks.cfg).  But I want to gather some info from
the user and test some networking connections before launching anaconda,
thus the need for the liveCD.  I've got anaconda included in the livecd
and I can call it, but when I try to pass
--kickstart=http://blah.blah.blah/ks.cfg, it says 'no method specified'.
So, I added -m http:// with a path to the repos we use with our regular
installer, but while anaconda starts, it starts asking questions about
language, keyboard, etc., meaning it's not reading the kickstart file.



This seems more like an anaconda question then a livecd question, don't 
you think?


-- Jeroen

--
Fedora-livecd-list mailing list
Fedora-livecd-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-livecd-list


Re: [Fedora-livecd-list] launch anaconda kickstart from running livecd

2009-10-16 Thread Peter Scheie
On Fri, 2009-10-16 at 08:57 +0200, Jeroen van Meeuwen wrote:
 On 10/15/2009 08:03 PM, Peter Scheie wrote:
  From a running Centos liveCD (minimal) I want to launch anaconda with a
  kickstart file.  Right now we build a small ISO using isolinux that
  loads the kernel and points it to the kickstart file on an HTTP server
  (ks=http://blah.blah.blah/ks.cfg).  But I want to gather some info from
  the user and test some networking connections before launching anaconda,
  thus the need for the liveCD.  I've got anaconda included in the livecd
  and I can call it, but when I try to pass
  --kickstart=http://blah.blah.blah/ks.cfg, it says 'no method specified'.
  So, I added -m http:// with a path to the repos we use with our regular
  installer, but while anaconda starts, it starts asking questions about
  language, keyboard, etc., meaning it's not reading the kickstart file.
 
 
 This seems more like an anaconda question then a livecd question, don't 
 you think?
 
 -- Jeroen
 
Good point.  I got confused by this page,
https://projects.centos.org/trac/livecd/wiki/InstallToHardDrive
(the fault lies with me, not the page) which says the anaconda included
in CentOS 5 does not support installing to a hard disk from the livecd,
and to do so requires a newer version of anaconda than is available for
CentOS.  Why is that?  What is it about the anaconda in the stock CentOS
5 that doesn't support installing from the livecd to the hard drive?  My
case is probably different than what the above page is addressing, but
I'm trying to understand how it all works.  Thanks.

Peter

--
Fedora-livecd-list mailing list
Fedora-livecd-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-livecd-list


Re: [Fedora-livecd-list] launch anaconda kickstart from running livecd

2009-10-16 Thread Patrice Guay

Peter Scheie wrote:

Good point.  I got confused by this page,
https://projects.centos.org/trac/livecd/wiki/InstallToHardDrive
(the fault lies with me, not the page) which says the anaconda included
in CentOS 5 does not support installing to a hard disk from the livecd,
and to do so requires a newer version of anaconda than is available for
CentOS.  Why is that?  What is it about the anaconda in the stock CentOS
5 that doesn't support installing from the livecd to the hard drive?  My
case is probably different than what the above page is addressing, but
I'm trying to understand how it all works.  Thanks.



The page you are referencing explains the following: the CentOS 5 
anaconda package does not include the liveinst utility. This utility 
is used to install an OS directly from the LiveCD in a way similar to 
the normal installation of a system (with anaconda in graphical or text 
mode).


--
Patrice

--
Fedora-livecd-list mailing list
Fedora-livecd-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-livecd-list


Re: [Fedora-livecd-list] launch anaconda kickstart from running livecd

2009-10-16 Thread Peter Scheie
On Fri, 2009-10-16 at 09:05 -0400, Patrice Guay wrote:
 Peter Scheie wrote:
  Good point.  I got confused by this page,
  https://projects.centos.org/trac/livecd/wiki/InstallToHardDrive
  (the fault lies with me, not the page) which says the anaconda included
  in CentOS 5 does not support installing to a hard disk from the livecd,
  and to do so requires a newer version of anaconda than is available for
  CentOS.  Why is that?  What is it about the anaconda in the stock CentOS
  5 that doesn't support installing from the livecd to the hard drive?  My
  case is probably different than what the above page is addressing, but
  I'm trying to understand how it all works.  Thanks.
 
 
 The page you are referencing explains the following: the CentOS 5 
 anaconda package does not include the liveinst utility. This utility 
 is used to install an OS directly from the LiveCD in a way similar to 
 the normal installation of a system (with anaconda in graphical or text 
 mode).
 
 --
 Patrice
 
Thanks for the clarification.  Is the 'liveinst' utility needed in order
to install the image from the livecd to the hard drive?  Or is it needed
because anaconda isn't built to start an installation from an already
running system (such as a running livecd session)?  I assume it is the
former, as the webpage says as much, but I wanted verify that I wasn't
misunderstanding the requirements.  (This *does* start drifting toward
being an anaconda question, but it's all within the context of the
livecd session.)  If the 'liveinst' utility is only needed for
installing the image from the CD to the system, then that suggests that
I don't need the newer anaconda, as I just want to launch a 'normal'
installation-via-http using a kickstart file on the http server or
embeded on the livecd.  Am I correct?

--
Fedora-livecd-list mailing list
Fedora-livecd-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-livecd-list


Re: [Fedora-livecd-list] launch anaconda kickstart from running livecd

2009-10-16 Thread Patrice Guay

Peter Scheie wrote:

Thanks for the clarification.  Is the 'liveinst' utility needed in order
to install the image from the livecd to the hard drive?  Or is it needed
because anaconda isn't built to start an installation from an already
running system (such as a running livecd session)?  I assume it is the
former, as the webpage says as much, but I wanted verify that I wasn't
misunderstanding the requirements.  (This *does* start drifting toward
being an anaconda question, but it's all within the context of the
livecd session.)


This is definitely a question related to anaconda. The liveinst utility 
was added to anaconda in order to support installation from a LiveCD. 
You should ask the package maintainers what are the limitations of their 
utility and its normal usage.


--
Patrice

--
Fedora-livecd-list mailing list
Fedora-livecd-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-livecd-list


Re: [Fedora-livecd-list] launch anaconda kickstart from running livecd

2009-10-16 Thread Bruno Wolff III
On Fri, Oct 16, 2009 at 09:10:57 -0500,
  Peter Scheie peter.sch...@visionshareinc.com wrote:
 Thanks for the clarification.  Is the 'liveinst' utility needed in order
 to install the image from the livecd to the hard drive?  Or is it needed
 because anaconda isn't built to start an installation from an already
 running system (such as a running livecd session)?  I assume it is the
 former, as the webpage says as much, but I wanted verify that I wasn't
 misunderstanding the requirements.  (This *does* start drifting toward
 being an anaconda question, but it's all within the context of the
 livecd session.)  If the 'liveinst' utility is only needed for
 installing the image from the CD to the system, then that suggests that
 I don't need the newer anaconda, as I just want to launch a 'normal'
 installation-via-http using a kickstart file on the http server or
 embeded on the livecd.  Am I correct?

Live CDs don't install using repos with rpms; they copy over the filesystems.
So normal anaconda is not going to get what it needs from the Live CD media.
I haven't tried doing http installs using a live CD, as I typically use
the netinst/boot isos for doing that. So I don't know if everything needed
for doing that is on the Live CD.

--
Fedora-livecd-list mailing list
Fedora-livecd-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-livecd-list