Hello Anders,
Thursday, August 1, 2002, 2:21:45 AM, you wrote:
AJ> On Thursday 01 August 2002 01.08, tabanna wrote:
Please, any ideas, What am I doing wrong ?
AJ> Please edit /sbin/mk_initrd, find the mount commands at lines 416 and 419,
remove "2>>/dev/null", save, run /sbin/mk_initrd and post the error message
AJ> you're getting [1]
also, please, which kernel should i ask LILO to load ~ the vmlinuz, or,
vmlinuz.suse ?
AJ> They should be identical, if you installed from rpm.
AJ> //Anders
AJ> [1] To any SuSErs that may be listening: What in the name of $£@½ is the point
AJ> of filtering out the error messages?
I have my manualy created script 'mk_initrd.sh' to make INTRD image.
1. You should touch version kernel in ver=""
2. When build the kernel you should compile modules as module <M> and
insert for modules.
3. If there are addition question, please.
#--------------------------------------------------------------------------------------
#!/bin/bash
ver="2.4.18-4GB-SMP"
tmp_dir="/tmp/initrdTMP"`date +%d%m%Y%H%M%S`
init_file="initrd-$ver.img"
log="$tmp_dir.log"
mkdir $tmp_dir
dd if=/dev/zero of=$tmp_dir/$init_file bs=1572864 count=1 >> $log 2>&1
/sbin/mke2fs -F $tmp_dir/$init_file >> $log 2>&1
mkdir $tmp_dir/initrd
mount -o loop $tmp_dir/$init_file $tmp_dir/initrd
rmdir $tmp_dir/initrd/lost+found
mkdir $tmp_dir/initrd/{bin,dev,etc,lib,proc}
cp /sbin/insmod.static $tmp_dir/initrd/bin
cp /bin/ash.static $tmp_dir/initrd/bin
cp -R /dev/{console,null,ram,ram1,tty0,tty1,tty2,tty3,tty4} $tmp_dir/initrd/dev
## This is you loadable modules
cp /lib/modules/$ver/kernel/drivers/block/cciss.o $tmp_dir/initrd/lib
#cp /lib/modules/$ver/kernel/drivers/net/bonding.o $tmp_dir/initrd/lib
cp /lib/modules/$ver/kernel/drivers/net/e100/e100.o $tmp_dir/initrd/lib
cp /lib/modules/$ver/kernel/drivers/net/3c59x.o $tmp_dir/initrd/lib
cp /lib/modules/$ver/kernel/drivers/scsi/aic7xxx_old.o $tmp_dir/initrd/lib
cat > $tmp_dir/initrd/linuxrc <