LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 02-26-2010, 07:16 PM   #1
habtamu
LQ Newbie
 
Registered: Feb 2010
Posts: 3

Rep: Reputation: 0
Error downloading kickstart file


Hi all!!

This is my first post and i hope some one can help me.

I m very new to linux and this is related to a project for my intro to linux class.We were asked to create a USB unattended bootable device using Centosos5.4 and i have spent alot of time on this and i am almost there but this error has got me very frustrated. Please help! Here is what is going on: when i am ready to boot from the USB i get the following error

"Error downloading kickstart file"

"unable to download the kickstart file. Please modify the kickstart parameter below oe press Cancel to proceed as an interactive installation"


Below is ks.cfg and syslinux.cfg sfile, i think i might be doing something in those files.

default linux
prompt 1
timeout 600
display boot.msg
F1 boot.msg
F2 options.msg
F3 general.msg
F4 param.msg
F5 rescue.msg
label linux
kernel vmlinuz
append initrd=initrd.img ks=hd:sdb1:/ks.cfg
label text
kernel vmlinuz
append initrd=initrd.img text ks=hd:sdb1:/ks.cfg
label ks
kernel vmlinuz
append ks initrd=initrd.img ks=hd:sdb1:/ks.cfg
label kickstart
kernel vmlinuz
append initrd=initrd.img ks=hd:sdb1:/ks.cfg
label local
localboot 1
label memtest86
kernel memtest
append - ks=hd:sdb1:/ks.cfg






# Kickstart file automatically generated by anaconda.

install
harddrive --partition=sdb1 --dir=ISO
lang en_US.UTF-8
keyboard us
network --device eth0 --bootproto dhcp
rootpw --iscrypted $1$UPAbq5N.$IHBXiBZ.Gq5Qb3M//yrUy.
firewall --enabled --port=22:tcp
authconfig --enableshadow --enablemd5
selinux --enforcing
timezone --utc America/New_York
bootloader --location=mbr --driveorder=hda,sda
# 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=hda
#part /boot --fstype ext3 --size=100 --ondisk=hda
#part pv.7 --size=0 --grow --ondisk=hda
#volgroup VolGroup01 --pesize=32768 pv.7
#logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup01 --size=1024 --grow
#logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup01 --size=512 --grow --maxsize=1024

%packages
@admin-tools
@base
@core
@development-libs
@development-tools
@editors
@legacy-software-development
@legacy-software-support
@system-tools
@text-internet
keyutils
kexec-tools
trousers
fipscheck
device-mapper-multipath
imake
audit


Any suggestions will be greatly appreciated. I have tapped out.
 
Old 02-27-2010, 04:27 AM   #2
Mr-Bisquit
Member
 
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Blog Entries: 52

Rep: Reputation: 68
You have the option of building your own kickstart files in Fedora.
 
Old 02-27-2010, 09:26 AM   #3
ongte
Member
 
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mageia, CentOS, Ubuntu
Posts: 468

Rep: Reputation: 72
Are you absoluetely certain that while booting the USB drive, the drive is seen as sdb1?
With most BIOSs, if you modify the boot order, the selected device becomes the first device (meaning sda1).
 
Old 02-28-2010, 07:30 AM   #4
habtamu
LQ Newbie
 
Registered: Feb 2010
Posts: 3

Original Poster
Rep: Reputation: 0
ongte,
Thanks for the suggestion.

I have checked with both sdb1 and sda1 and i get the same error.

My question is did i configure the syslinux.cfg file correct? I was told to add the ks=hd:sdb1:/ks.cfg statement at the end of all the append lines?

Thanks,
 
Old 03-03-2010, 07:17 AM   #5
ongte
Member
 
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mageia, CentOS, Ubuntu
Posts: 468

Rep: Reputation: 72
This is a tough one. Looking around the net, it seems very few people have managed to get this kinda setup working. It seems to depend entire on the BIOS correctly recognizing the USB as a hard drive. This kinda setup is not going work with every system.
 
Old 12-02-2011, 01:24 AM   #6
vickyvamp
LQ Newbie
 
Registered: Dec 2011
Posts: 4

Rep: Reputation: Disabled
Facing similar issue... Need help

Quote:
Originally Posted by ongte View Post
Are you absoluetely certain that while booting the USB drive, the drive is seen as sdb1?
With most BIOSs, if you modify the boot order, the selected device becomes the first device (meaning sda1).
I am facing a similar issue here. We have hardcoded the value of --partition argument to /dev/sdb1. Is there any way we could fetch this value dynamically based on the mounted partition value? Or is this a limitation?
 
Old 12-09-2011, 09:36 AM   #7
ongte
Member
 
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mageia, CentOS, Ubuntu
Posts: 468

Rep: Reputation: 72
Wow. You sure revived an old thread. It's like almost 2 years old.

Anyway. Like you guessed, it's a limitation. You have to figure out what the partition will called. There's no support for UUID or LABEL either.
 
  


Reply



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
Error with CentOS Kickstart file? your_shadow03 Linux - Newbie 4 06-26-2014 04:44 AM
Kickstart Error Error opening kickstart file (null): bad address Latitude Linux - Networking 0 06-03-2009 11:20 AM
Kickstart Error Pisces07 Linux - Server 0 05-10-2007 10:20 AM
regarding kickstart file gimmereeson Linux - Server 1 01-14-2007 07:43 AM
error opening: kickstart file maxsu Linux - Software 0 11-17-2003 04:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 05:47 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
Open Source Consulting | Domain Registration