Jeremy's code and my X crashes
by Chitlesh GOORAH
Hello,
I've never knew why X freezes everytime I execute Jeremy's code
related to anaconda.
Jeremy's code:
# now that we've got our dirs set up, let's run anaconda
args = [ "/usr/sbin/anaconda", "--rootpath=cd:%s/system" %(builddir,),
"--method=%s" %(method,)]
args.extend(anaconda_args)
env = {"ANACONDA_PRODUCTNAME": "%s Live CD Generator" %(product,),
"ANACONDA_PRODUCTVERSION": version,
"ANACONDA_PRODUCTPATH": product}
print args
rc = subprocess.call(args, env=env)
if rc:
print >> sys.stderr, "anaconda failed. Exiting"
return rc
The regular log file does not output something fruitful, but i think
It logs in a different file.
what could it be ?
--
http://clunixchit.blogspot.com
17 years, 3 months
Will LiveCD development support HDD installs?
by J. Hartline
Hi.
This is rather a question for Jeremy directly:
Will the mercurial development progress
soon suport SquashFS, and installations to HDD from the LiveCD, in the
event the LiveCD
package is installed to the LiveCD and with it's
payload?
I have some simple patch to Anaconda that enables this for Kadischi,
though there is already LiveCD stuff going on in Anaconda.
I'm curious if you have any suggestions or comments on these two things,
as I would be glad to work on some of it.
Any suggestions as of the moment?
J. Hartline
17 years, 3 months
liveCD kernel customization.
by Sheshadrivasan B
To have a liveCD with a custom kernel
1. Build your custom kernel with squashfs (as a loadable module).
The appropriate patch for your kernel can be found at the squashfs site
(squashfs.sourceforge.net)
2. Generate the kernel RPM
3. Replace the original kernel rpm in the repository with the new kernel RPM you created.
4. Run createrepo (see wiki) to update your repository.
5. If needed make changes to the kernel command line parameters
in /usr/local/share/kadischi/install-boot.sh
For eg: I added "mem=128M elevator=as" below:
...tructated....
label linux
kernel vmlinuz
append initrd=initrd.img quiet $kernel_params mem=128M elevator=as
....truncated....
Thanks,
Shesh.
---------------
sheshu(a)email.com
_________________________________________________________________
Add photos, news, and blogs about the World Cup to your Live.com homepage!
http://www.live.com/getstarted
17 years, 3 months
Re: liveCD kernel customization questions. (Filip Tsachev)
by Sheshadrivasan B
Filip,I had the same question as you possibly have. I got no reply fromthis list. I think you need to just look at the scripts that arein kadischi and see where it picks up the vmlinuz and initrdstuff. You will have to possibly modify that script to pickit up from other than /boot on your box.Also, you will need to have a squashfs enabled kernel built.i.e. your kernel will in addition to your customizations, alsoneed the squashfs stuff. Fedora Core 5 ships with squashfsenabled kernel. If you have downloaded your kernel fromkernel.org (to which you have made your customisations), it is most likely that it will not have squashfs stuffin it. You will then have to rebuild the kernel package withyour new kernel and add it to the repo which is used bykadischi.I am also in the process of making similar changes. Will letyou know when I am successful.Shesh.> From: fedora-livecd-list-request(a)redhat.com> Subject: Fedora-livecd-list Digest, Vol 14, Issue 2> To: fedora-livecd-list(a)redhat.com> Date: Thu, 8 Jun 2006 12:00:11 -0400> > Send Fedora-livecd-list mailing list submissions to> fedora-livecd-list(a)redhat.com> > To subscribe or unsubscribe via the World Wide Web, visit> https://www.redhat.com/mailman/listinfo/fedora-livecd-list> or, via email, send a message with subject or body 'help' to> fedora-livecd-list-request(a)redhat.com> > You can reach the person managing the list at> fedora-livecd-list-owner(a)redhat.com> > When replying, please edit your Subject line so it is more specific> than "Re: Contents of Fedora-livecd-list digest..."> > > Today's Topics:> > 1. Re: liveCD kernel customization questions.> (Jasper O'neal Hartline)> 2. Re: liveCD kernel customization questions. (Filip Tsachev)> > > ----------------------------------------------------------------------> > Message: 1> Date: Wed, 07 Jun 2006 12:01:58 -0500> From: "Jasper O'neal Hartline" <jasperhartline(a)adelphia.net>> Subject: Re: [Fedora-livecd-list] liveCD kernel customization> questions.> To: fedora-livecd-list(a)redhat.com> Message-ID: <44870686.6000300(a)adelphia.net>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed> > Filip Tsachev wrote:> > > Hello,> >> > On 19/05/06, Sheshadrivasan B <sheshv(a)hotmail.com> wrote:> >> >> How do I tell kadischi to pick that one and the corresponding> >> vmlinuz/initrd images for the liveCD ?> >> >> > Anyone with ideas?> >> What do you mean exactly?> The vmlinuz is from the kernel package, and the initrd is created during > livecd-mkinitrd.sh> > J. Hartline> > > > ------------------------------> > Message: 2> Date: Thu, 8 Jun 2006 08:56:06 +0300> From: "Filip Tsachev" <filip.tsachev(a)fedoraproject.org>> Subject: Re: [Fedora-livecd-list] liveCD kernel customization> questions.> To: fedora-livecd-list(a)redhat.com> Message-ID:> <ea9ff50b0606072256t52e3f7e1nd1a42ec11ba0a4b7(a)mail.gmail.com>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed> > Hello,> > On 07/06/06, Jasper O'neal Hartline <jasperhartline(a)adelphia.net> wrote:> > What do you mean exactly?> > The vmlinuz is from the kernel package, and the initrd is created during> > livecd-mkinitrd.sh> Thanks for the clarification.> > > -- > Cheers,> Filip> > http://fedoraproject.org/wiki/FilipTsachev> > > > ------------------------------> > --> Fedora-livecd-list mailing list> Fedora-livecd-list(a)redhat.com> https://www.redhat.com/mailman/listinfo/fedora-livecd-list> > > End of Fedora-livecd-list Digest, Vol 14, Issue 2> *************************************************
_________________________________________________________________
Add photos, news, and blogs about the World Cup to your Live.com homepage!
http://www.live.com/getstarted
17 years, 3 months
Re: Kadischi in Xen Guest stalls
by J. Hartline
Hi.
I've lost the original mail Eugene Tao had sent regarding this issue on
Anaconda and Kadischi
stalling when run within a Xen VM. I've attached a patch that should be
applied directly to the latest CVS tree.
See if it works for you, and report the results.
Thanks.
J. Hartline
17 years, 3 months
Kadischi does not work with Xen-enabled host system kernel
by Eugene Teo
If you use kadischi with a Xen-enabled host system kernel, it will
not proceed with the post-installation after anaconda is done with
the installation. It will not trigger an error or crash even. So,
take note of this if kadischi appears to be running, yet nothing is
progressing after an hour like it did for me a few days ago.
I haven't had the time to find out why it is like that, so if you
know what happened, do share with us :)
Eugene
--
eteo redhat.com ph: +65 6490 4142 http://www.kernel.org/~eugeneteo
gpg fingerprint: 47B9 90F6 AE4A 9C51 37E0 D6E1 EA84 C6A2 58DF 8823
17 years, 3 months
Disable firstboot on your Live CD
by Eugene Teo
Hi all,
Here's a quick hack to disable firstboot from running on your Live CD:
--- 06sysconfig.py.default 2006-06-16 12:53:02.000000000 +0800
+++ 06sysconfig.py 2006-06-17 00:47:35.000000000 +0800
@@ -32,7 +32,8 @@
def tweak_firstboot_config (rootdir):
shf = sysconfig_file (rootdir, "firstboot")
- shf["RUN_FIRSTBOOT"] = "YES"
+# shf["RUN_FIRSTBOOT"] = "YES"
+ shf["RUN_FIRSTBOOT"] = "NO"
shf.write ()
def tweak_kudzu_config (rootdir):
@@ -49,6 +50,6 @@
tweak_readonly_root_config (rootdir)
tweak_udev_config (rootdir)
-tweak_firstboot_config (rootdir)
+#tweak_firstboot_config (rootdir)
#tweak_kudzu_config (rootdir)
tweak_livecd (rootdir)
Without this quick hack, firstboot will still run even if you
specify "firstboot --disable" in your kickstart file. If you
know of a better alternative, let me know!
Thanks.
Eugene
--
eteo redhat.com ph: +65 6490 4142 http://www.kernel.org/~eugeneteo
gpg fingerprint: 47B9 90F6 AE4A 9C51 37E0 D6E1 EA84 C6A2 58DF 8823
17 years, 3 months
root password for fedora liveCD ?
by Sheshadrivasan B
Jasper, thanks for your kind reply.
I was finally successful in creating the liveCD using Core 5.
It was a cake walk. Now after having boot with the liveCD,
I am not able to login into the system. What is the root password ?
Thanks in advance.
Shesh.
---------------
sheshu(a)email.com
_________________________________________________________________
Search on the go: Try Windows Live(tm) Search for Mobile beta
http://www1.imagine-msn.com/minisites/mobile/Default.aspx?locale=en-us
17 years, 3 months
spec file : corrections needed
by Chitlesh GOORAH
Hello there,
The actual cvs spec file of kadischi allows rpm builds successfully.
But rpmlint -i complains.
chitlesh(i386)[0]$rpmlint -i kadischi-2.1-2.20060616cvs.i386.rpm
W: kadischi no-version-in-last-changelog
The last changelog entry doesn't contain a version. Please insert the
version that is coherent with the version of the package and rebuild it.
E: kadischi arch-dependent-file-in-usr-share
/usr/share/kadischi/install/scanswap
This package installs an ELF binary in the /usr/share
hierarchy, which is reserved for architecture-independent files.
E: kadischi arch-dependent-file-in-usr-share
/usr/share/kadischi/initrd/find-live-cd
This package installs an ELF binary in the /usr/share
hierarchy, which is reserved for architecture-independent files.
E: kadischi script-without-shellbang /usr/share/doc/kadischi-2.1/COPYING
This executable text file does not contain a shebang, thus it cannot be
properly executed. Often this is a sign of spurious executable bits for a
non-script file, but can also be a case of a missing shebang. To fix this
error, find out which case of the above it is, and either remove the
executable bits or add the shebang.
E: kadischi script-without-shellbang /usr/share/kadischi/lib/shvar.py
This executable text file does not contain a shebang, thus it cannot be
properly executed. Often this is a sign of spurious executable bits for a
non-script file, but can also be a case of a missing shebang. To fix this
error, find out which case of the above it is, and either remove the
executable bits or add the shebang.
E: kadischi zero-length /usr/share/doc/kadischi-2.1/NEWS
I've worked on some of these, ill send a patch in a few minutes.
--
http://clunixchit.blogspot.com
17 years, 3 months
RE: Re: [Fedora-livecd-list] Re: FE Package Status of Jun 18, 2006
by beistle_jr@hotmail.com
iRETURN TO home office in Texas on Thursday and will get current credit card info to you to debit.
Thank you for your patience
Jim
> Date: Sun, 18 Jun 2006 13:14:30 +0200> From: chitlesh(a)fedoraproject.org> To: fedora-livecd-list(a)redhat.com> Subject: Re: [Fedora-livecd-list] Re: FE Package Status of Jun 18, 2006> > On 6/18/06, Jasper O'neal Hartline <jasperhartline(a)adelphia.net> wrote:> > I'm pretty sure the LiveCD stuff Jeremy is working on will make it into> > Fedora Extras.> > I was working on Jeremy's code but unfortunately can't go further than anaconda.> Did anyone try it without any problems with anaconda ?> > -- > http://clunixchit.blogspot.com> > --> Fedora-livecd-list mailing list> Fedora-livecd-list(a)redhat.com> https://www.redhat.com/mailman/listinfo/fedora-livecd-list
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
17 years, 3 months