Sponsored Content
Operating Systems Linux Red Hat Custom-Spin doesnt boot to GUI when /etc/skel is changed Post 302918207 by sea on Tuesday 23rd of September 2014 12:53:10 AM
Old 09-23-2014
Got rid of those 3 path errors, but still boots to blackscreen rather than gui.

EDIT:
It works however with manualy booting to init 3, and then go init 5, but not straight.
Been there before, right after it stoped booting directly to init 5. Smilie

EDIT2:
Ah yeah, the initial KS looks like:
Code:
# Based on: fedora-live-base.ks
#
#	To recieve a working rawhide live spin, you must build it on a rawhide host!
#
#
#	Includes, order required
#	Default environment first
#
	%include 	ks/001-system-settings.ks
	%include 	/usr/share/spin-kickstarts/fedora-repo-not-rawhide.ks
	%include 	/usr/share/spin-kickstarts/fedora-live-minimization.ks
# AwesomeWM, here the customization begins
	%include 	ks/005-repo-sea.ks
	%include 	ks/006-repo-non-foss.ks
# Comment out the rpmfusion-rawhide repo if build fails for current release
# (its required for close-to-release and rawhide)
	#include 	ks/006-repo-non-foss-rawhide.ks
	%include 	ks/008-pkgs-awesome.ks
	%include 	ks/009-pkgs-dev.ks
##	include 	ks/010-pkgs-nonfoss.ks

# Sytem changes
	%include 	ks/020-post-nochroot.ks
	%include 	ks/021-post-chroot.ks
	%include 	ks/022-post-skel.ks
	%include 	ks/999-post-fedora-template.ks
#
#
#	Packages
#	These are the very basic required to display anaconda
#	and have a functional live environment, even in a VM
#
#	The configuration for the custom spin, are in the other files
#
%packages
#
# Basic GUI
#
	@core
	@hardware-support
	@standard
	@base-x

# Might be removable
	#dial-up
	@multimedia
#
# Required by LiveImage
#
	kernel
	memtest86+
	anaconda
	@anaconda-tools
	qemu-guest-agent
%end

The first 6 builds, were just from "ks/008-..." down to "ks/999-...", now eventhough i've already figured there that it was "ks/022-...", i've had to build all options to make sure no other kickstart file interfere[ds].
After i made sure its only the 022 file, i've tried diffrent combinations for the scripts, and tried diffrent settings of each script, until i was sure the post-skel.sh script was the real trigger whether or not i could boot to gui from the built image.

I just cant think of a reason, specialy since it once worked, why the copy of files into /etc/skel would stop the GUI from loading... Smilie
Could someone please shed some light on this please?

Thank you in advance
a desperate one

PS
It 'used' to work: https://sourceforge.net/projects/awe.../files/stable/

---------- Post updated 23-09-14 at 06:53 ---------- Previous update was 22-09-14 at 16:10 ----------

So after googling not for errors but for "how it's done", i found that many copy the 'skel' files inside the "%post --nochroot" section...

So i've appended that after copy the files to chroot's /root/spin_files.
Snippet from within %post --nochroot:
Code:
#
# 	Copy requires kickstarts files to the image's /root/spin_file
#
	# Prepare subfolder to be copied to /root/spin_files
	# '$dir_target' beeing /root/spin_files/skel
	cd "${prjs}"
	pwd
	sleep 3
	cp -fr	*	 	$dir_target
	cp -fr	.[a-zA-Z]* 	$dir_target
	# Copy from /root/spin_files/skel to /etc/skel
	cp -fr $(cd $dir_target;find) $INSTALL_ROOT/etc/skel

Upon successfull build (quite inadequat) it still doesnt boot to gui, files are copied.
On the first build with this change, i've accidently just copied the folder 'spin_files' to skel (as in /etc/skel/spin_files, THAT booted fine to GUI.

So i'm back to... if i copy files to the skel dir, i cannot boot to gui.
Which to me denies the goal of this live image.

Last edited by sea; 09-22-2014 at 01:43 PM..
 

9 More Discussions You Might Find Interesting

1. Programming

How to create a custom GUI

In Unix, is there any way in which I can create a GUI like Realplayer? I mean the Windows Look & Feel. Borded with buttons, windows, dialogs and other predefined widgets, I am wondering how to create my own buttons that come in different shapes and fashions or even draw images/control objects... (2 Replies)
Discussion started by: hirosima
2 Replies

2. AIX

has bosboot command changed characteristics of boot image?

hi all i just found one of my p650 server showing a warning message when i tried to run bosboot command after upgrading TL to AIX 530803. i also tried to run chpv -c hdisk0 and chpv -c hdisk1 to clear out the old boot info in hdisk0 and hdisk1 and rerun bosboot -a. it still showed... (0 Replies)
Discussion started by: rs6000er
0 Replies

3. UNIX for Dummies Questions & Answers

Custom kernel compiling, won't boot, and errors.

First of all, I'd like to preface this post by relaying that I have considerable experience with FreeBSD but I'm a Linux newb. I've been attempting to compile linux-2.6.29.3 from source and I'm having some problems and have a few newb questions... a) First of all, my kernel won't boot, it fails... (0 Replies)
Discussion started by: urbanriot
0 Replies

4. Filesystems, Disks and Memory

Boot Sequence changed After Image Restore

Hello All, I backed up my RHEL 4 as an image. Then I restored the image on my machine. Everything went fine but I dont get the normal boot sequence as it used to come when I freshly installed RHEL4. The messages that are shown when the system boots are something like- " ..... EXT3-fs:... (2 Replies)
Discussion started by: shamik
2 Replies

5. Red Hat

Boot Messages changed after mondorestore

Hello All, I backed up my RHEL 4 as an image. Then I restored the image (by mondorestore) on my machine. Everything went fine but I dont get the normal boot sequence as it used to come when I freshly installed RHEL4. The messages that are shown when the system boots are something like- "... (13 Replies)
Discussion started by: shamik
13 Replies

6. Solaris

Create a custom CD boot

I'm doing as the official document of the SUN : www.sun.com/blueprints/1205/819-3731.pdf Who on page 15 / 18, asks to be executed the following command: 3.Combine mboot and pboot into a single file called mboot+pboot.cd. # dd if=/dev/dsk/c1t1d0p0 of=mboot+pboot.cd bs=512 count=2 I try... (6 Replies)
Discussion started by: poyato
6 Replies

7. Linux

ArchLinux - GUI (DE) set to boot up

Okay I'am not using ArchLinux but one of girlfreinds needs it (or it recommend by her work) and she need a desktop - so how do we do so the computer boot up with GUI instead of console ? - I'am a newbie to Arch so I have no idea, is it like SlackWare where you change the inittab file or is it some... (10 Replies)
Discussion started by: looop
10 Replies

8. Fedora

Automatically execute a software without gui at boot

hi all, this is my first post here...i hope that this is the correct section to write my question. I have a distro linux without gui, only text mode. So, it's possible run automatically a command or a program as "top" or "ping" and get the result on the main shell , after the boot and after... (6 Replies)
Discussion started by: gangiaemi
6 Replies

9. Infrastructure Monitoring

Nagios widgets to create custom GUI

Hi, I need to create a custom GUI for Nagios, as follows: - no logo - including monitoring info (network status overview, host/service details & status) as well as some network google map I'm looking for Nagios widgets that can be easily integrated in our HTML page. Can you suggest if there... (0 Replies)
Discussion started by: CHK
0 Replies
All times are GMT -4. The time now is 01:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy