LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-14-2013, 11:11 AM   #1
mzkaren
LQ Newbie
 
Registered: May 2013
Posts: 6

Rep: Reputation: Disabled
Creating VM from kickstart file, hangs in single user mode


I'm running Centos 6.4, and am having issues with loading a VM from a kickstart file. It seems to run just fine, and then eventually boots into single usermode. After I changed the root password, I rebooted it and it goes back to single user mode. When I log in as root, and type init 5, it gets stuck on Enabling Bluetooth devices:

I'm not too sure how to get the gui to run. Any ideas?
Attached Thumbnails
Click image for larger version

Name:	VM1.png
Views:	18
Size:	3.5 KB
ID:	12516  
 
Old 05-14-2013, 11:13 AM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,104

Rep: Reputation: 1515Reputation: 1515Reputation: 1515Reputation: 1515Reputation: 1515Reputation: 1515Reputation: 1515Reputation: 1515Reputation: 1515Reputation: 1515Reputation: 1515
mind posting the kickstart file?
 
Old 05-14-2013, 11:14 AM   #3
mzkaren
LQ Newbie
 
Registered: May 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by szboardstretcher View Post
mind posting the kickstart file?
Sure!

# Kickstart file automatically generated by anaconda.

#version=RHEL6
install
url --url=ftp://192.168.122.1/pub/inst/
lang en_US.UTF-8
keyboard us
network --device eth0 --bootproto static --ip 192.168.122.50 --netmask 255.255.255.0 --gateway 192.168.122.1 --nameserver 192.168.122.1 --hostname server1.example.com
rootpw --iscrypted $6$hVRYP0CTfwN4.OYH$.5VoBGvnREOpEsH/F.z8j5UjhYF7iCe469V.pjyj5FdPBOx.2ag9pY7GZK5LGmyiNYlTU/1371WaBVl5hZ.eY.
firewall --service=ssh
authconfig --enableshadow --passalgo=sha512 --enablefingerprint
selinux --enforcing
timezone --utc America/Los_Angeles
bootloader --location=mbr --driveorder=vda --append="crashkernel=auto rhgb quiet"
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
clearpart --linux --drives=vda --all --initlabel
ignoredisk --only-use=vda

part /boot --fstype=ext4 --size=500
part / --fstype=ext4 --size=8000
part swap --size=1000
part /home --fstype=ext4 --size=1000
#repo --name="Red Hat Enterprise Linux" --baseurl=ftp://192.168.122.1/pub/ --cost=100
shutdown

%packages
@base
@console-internet
@core
@debugging
@directory-client
@general-desktop
@graphical-admin-tools
@hardware-monitoring
@internet-browser
@java-platform
@large-systems
@network-file-system-client
@performance
@perl-runtime
@server-platform
@x11
mtools
pax
python-dmidecode
oddjob
sgpio
genisoimage
wodim
lftp
mutt
certmonger
pam_krb5
krb5-workstation
nscd
pam_ldap
nss-pam-ldapd
perl-DBD-SQLite
%end
 
Old 05-14-2013, 11:19 AM   #4
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,104

Rep: Reputation: 1515Reputation: 1515Reputation: 1515Reputation: 1515Reputation: 1515Reputation: 1515Reputation: 1515Reputation: 1515Reputation: 1515Reputation: 1515Reputation: 1515
Code:
part swap --size=1000
at first glance this is missing the "--fstype swap" arg.

Code:
shutdown
probably mean reboot here eh?

add "logging --level=debug" to this KS to catch more info about the install.

Last edited by szboardstretcher; 05-14-2013 at 11:21 AM.
 
Old 05-14-2013, 11:22 AM   #5
mzkaren
LQ Newbie
 
Registered: May 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by szboardstretcher View Post
Code:
part swap --size=1000
at first glance this is missing the "--fstype swap" arg.

Code:
shutdown
probably mean reboot here eh?

add "logging --level=debug" to this KS to catch more info about the install.
Hmmm I'm not sure. I got this KS script from a book and it's supposed to boot right up. I'll make those changes and try again. I'll let you know what I get in a bit. Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to Access to Single User Mode or Emergency Mode Pinglu Linux - Newbie 3 10-17-2011 02:25 PM
Emergency mode can mount the HDD with FS error but not in rescue or single user-mode kayod_jj Linux - Newbie 3 12-01-2010 08:03 PM
The server hangs when it start up with single mode bin.wang.sh Linux - Enterprise 2 05-05-2009 01:45 AM
HELP!! Problem editing the shadow file in Single user mode natso Linux - Security 2 05-28-2002 04:22 AM
Edit a file in single-user mode ricardocastro Linux - Software 2 02-26-2002 05:37 PM


All times are GMT -5. The time now is 08:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration