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 11-14-2013, 05:05 AM   #1
samiran.linux
LQ Newbie
 
Registered: Jul 2013
Posts: 28

Rep: Reputation: Disabled
how to install linux using kickstart file from live cd in fedora


Hello...
I have tried to boot live cd of fedora using kickstart file..

1.First of all i have copied the anaconda-ks.cfg file to the isolinux folder in the iso in the name of ks.cfg.

2.Then I have added entry like this in isolinux.cfg
label kickstart install
menu label ^kickstart install
menu default
kernel vmlinuz0
append initrd=initrd0.img linux ks=cdrom:/ks.cfg

3. then I have created the iso file using mkisofs command

Now when I tried to boot .. It gives an error like..

dracut: FATAL: No or empty root= argment
dracut: Refusing to continue

Signal caught!

Boot has failed,sleeping forever.

Now please tell me what to do to solve this problem.

This is my ks.cfg..


# Kickstart file automatically generated by anaconda.

#version=DEVEL
install
cdrom
lang en_US.UTF-8
keyboard us
timezone America/New_York
rootpw --iscrypted $6$2JCi4/ivcu2Go2Xm$8YkyAlMu5iLE.Y9dFjwJiD4zG9oP17Pxzzyi6VWenWJ2SwFOAheEf93YDadQ59D4pr.s/uE.V9r/a26vSYj9C/
selinux --enforcing
authconfig --enableshadow --passalgo=sha512 --enablefingerprint
firewall --service=ssh
# 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 --all --drives=sda
ignoredisk --only-use=sda

part /boot --fstype=ext4 --size=500
part pv.sqNhFO-QqqX-m5hD-joLC-V2eo-Y97G-StQoVr --grow --size=500

volgroup vg_samiran --pesize=32768 pv.sqNhFO-QqqX-m5hD-joLC-V2eo-Y97G-StQoVr
logvol / --fstype=ext4 --name=lv_root --vgname=vg_samiran --grow --size=1024 --maxsize=51200
logvol swap --name=lv_swap --vgname=vg_samiran --grow --size=1008 --maxsize=2016
bootloader --location=mbr --driveorder=sda --append="rhgb quiet"

%packages
@base
@core

Last edited by samiran.linux; 11-14-2013 at 05:09 AM.
 
Old 11-15-2013, 07:21 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,896

Rep: Reputation: 352Reputation: 352Reputation: 352Reputation: 352
Start with this error:
Quote:
dracut: FATAL: No or empty root= argment
Your isolinux config file doesn't tell isolinux where to find the root of the iso9660 filesystem on the cd, just as grub needs an option in the kernel line (root=hdxy) where x and y represent the hard drive and partition in which the root of the filesystem is located.

Fedora kickstart documentation gives this example of how to satisfy that root= option: linux ks=cdrom:/directory/ks.cfg
 
Old 11-18-2013, 01:33 AM   #3
samiran.linux
LQ Newbie
 
Registered: Jul 2013
Posts: 28

Original Poster
Rep: Reputation: Disabled
@bigrigdriver : I could not find the portion where root=argument is specified.. If you know this please tell me with an example
 
  


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
[SOLVED] How to install Kernel source file on Fedora 18 x86_64 live desktop? chinabenjamin66 Linux - Kernel 2 03-19-2013 04:17 AM
[SOLVED] RHL 6.0 Unable to download the Kickstart file/ Error downloading kickstart file AnApproach2DigestLinux Linux - Newbie 3 11-23-2012 06:50 PM
grub2-install issue on fedora 16 kickstart theooze Fedora 2 04-23-2012 04:15 PM
Install from a remote kickstart file barghota Mandriva 1 07-09-2010 05:56 PM
Fedora Core 4 Kickstart Install Fails bpetersen Fedora - Installation 2 11-14-2006 10:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:34 PM.

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