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 06-13-2003, 06:54 PM   #1
Tpetersonalpine
LQ Newbie
 
Registered: Jun 2003
Posts: 2

Rep: Reputation: 0
Kickstart - Kernal panic


Using RHAS 2.1 I'm trying to get RH kickstart working.

1- copied the 5 cds to an ftp server.
2- created a boot disk /dev/fd0 2.4.9-e.3 from a working rhas2.1 install
3- on the boot disk I edited syslinux.cfg:
default ks
prompt 0
label ks
kernal vmlinux
append ks=floppy initrd=initrd.img
4 copied over a modified ks.cfg (see below) to the boot disk

When I boot to this disk I receive:

Mounting root filesystem
EXT3-fs: unable to read superblock
mount: error 22 mounting ext3
pivotrootivol_root(sysroot,/sysroot/initrd) failed:2
Freeing unused kernal memory: 224k freed
Kernal panic: No init found. Try passing init=option to kernal

I've used the same disk in multiple cpus (compaq prosigna 740, IBM netfinity 5000) and it produces the same error.

Installing RHAS 2.1 direct from cdrom to these same cpus works fine.

ks.cfg
### Installation Language
lang en_US
### Installed Languages
langsupport --default en_US fr_FR

### Network Configuration
network --bootproto static --ip x.x.x.x --netmask 255.255.252.0 --gateway x.x.x.x --nameserver x.x.x.x
### Source File Location
url --url ftp://x.x.x.x/user/guest/rhas21

### Ethernet Device Configuration
#device ethernet wd --opts "io=0x280, irq=3"

### Keyboard Configuration
### Will get set to 'us' by default
### if nothing specified in /etc/sysconfig/keyboard
keyboard us

### Partitioning Information
### Whether to clear out the Master Boot Record (yes/no)
### Which partitions to format (--linux/--all)
### --linux - only format existing linux partitions
### --all - format all existing partitions
### Which partitions to set up on new system as well
### as size of those partitions
### Specify software RAID partitions (optional)
zerombr yes
clearpart --linux
part /boot --size 35
part swap --size 128
#part swap --recommended
part / --size 1000 --grow --maxsize 1400
#part raid.0 --size 80 --ondisk sda
#part raid.1 --size 80 --ondisk sdb
#raid swap raid.0 raid.1 --level 1 --device md0
install

### Perform kickstart installation in text mode
#text

### Stop at each screen during the kickstart
### installation
#interactive

### Mouse Configuration
### Will only setup 3 types of mice
### generic - 2-button serial
### genericps/2 - 2-button ps/2
### msintellips/2 - MS Intellimouse
### All three can be setup with or without 3-button
### emulation
### Run 'mouseconfig --help' in order to see other
### supported mouse type and make appropriate change
### NOTE: You will need to run 'mouseconfig' manually
### after installation if you have a non-ps/2 mouse
### and are installing X, as a ps/2 mouse is setup
### by default
#mouse generic --device ttyS0
mouse generic3ps/2

### Firewall Configuration
### options are high, medium, and disabled
# firewall --high --trust eth0 --ssh --port 1234:udp
firewall --high


### Time Zone Configuration
### Will get set to 'US/Eastern' if ZONE is missing
### from /etc/sysconfig/clock or if file is missing entirely
timezone --utc America/New_York

### X Configuration
### Will skip X configuration
### You may wish to run Xconfigurator manually after system installation
skipx
### You can uncomment and modify this line if you know the X configuration for your system
#xconfig --server "SVGA" --monitor "viewsonic g773" --depth 16 --resolution 800x600 --defaultdesktop=GNOME --startxonboot --card "Matrox Millennium" --videoram 1024

### Root Password Designation
### e.g. 'rootpw ThisIsThePassword' will get root's password to
### "ThisIsThePassword"
rootpw paSSword
#rootpw --iscrypted g.UJ.RQeOV3Bg

### Reboot system after installation complete
#reboot

### Authorization Configuration
auth --useshadow --enablemd5

### Boot Loader Configuration
### GRUB is default bootloader
### lilo command has been replaced with bootloader
bootloader --location=mbr
#bootloader --location=mbr --append hdd=ide-scsi --password=GRUBpasswd

### Package Designation
### The package names, as well as the groups they are a part of can be
### found in the /RedHat/base/comps file; individual packages can be
### specified by entering their names one per line;
### groups (e.g. 'X Window System') can be specified
### by appending a "@" in front of the group name;
### e.g. '@ X Window System'
%packages
### Automatically resolve dependences
#%packages --resolvedeps
### Ignore unresolved dependencies
#%packages --ignoredeps
python
@ X Window System

### Include the contents of another file in the kickstart
### file
#%include /path/to/file

### Commands to be run immediately after this file has been parsed
%pre
echo "Kickstart-installed Red Hat Linux `/bin/date`"

### Commands to be run post-installation
%post
echo "Kickstart installation" > /tmp/message

TIA
 
Old 06-15-2003, 05:06 PM   #2
Tpetersonalpine
LQ Newbie
 
Registered: Jun 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Instead of having the boot disk created (step 2) i used the following command to create the floppy:
dd if=bootnet.img of=/dev/fd0

THIS WORKED!!

see http://www.linux.org/docs/ldp/howto/...l-HOWTO-7.html for exec doc.
 
  


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
kickstart install has kernel panic, every other time hawarden Linux - General 1 10-26-2005 08:45 PM
Kernal Panic coolone Linux - Laptop and Netbook 3 07-01-2005 06:12 PM
Kernal panic alltime Linux - Newbie 5 01-23-2005 09:55 PM
Kernal panic ? James McGee Yoper 10 10-06-2004 12:59 PM
Kernal panic oh no nuhn123 Linux - Newbie 9 09-10-2003 07:54 AM


All times are GMT -5. The time now is 10:29 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