Hi Mikkel,
This is my init file:
#!/bin/nash
mount -t proc /proc /proc
setquiet
echo Mounted /proc filesystem
echo Mounting sysfs
mount -t sysfs /sys /sys
echo Creating /dev
mount -o mode=0755 -t tmpfs /dev /dev
mknod /dev/console c 5 1
mknod /dev/null c 1 3
mknod /dev/zero c 1 5
mkdir /dev/pts
mkdir /dev/shm
echo Starting udev
/sbin/udevstart
echo -n "/sbin/hotplug" > /proc/sys/kernel/hotplug
echo "Loading ehci-hcd.ko module"
insmod /lib/ehci-hcd.ko
echo "Loading scsi_mod.ko module"
insmod /lib/scsi_mod.ko
echo "Loading usb-storage.ko module"
insmod /lib/usb-storage.ko
sleep 8
echo "Loading sd_mod.ko module"
insmod /lib/sd_mod.ko
echo "Loading jbd.ko module"
insmod /lib/jbd.ko
echo "Loading ext3.ko module"
insmod /lib/ext3.ko
/sbin/udevstart
# New
#echo "Loading usb modules"
#insmod /lib/usbcore.o
#insmod /lib/scsi_mod.o
#insmod /lib/sd_mod.o
#insmod /lib/usb-storage.o
#insmod /lib/usb-uhci.o
/bin/sleep 5
echo Creating block devices
mkdevices /dev
# End
echo Creating root device
mkrootdev /dev/root
# New
echo sfdisking
/bin/sfdisk -R /dev/sda
#sfdisk -R /dev/sda
echo 0x0100 > /proc/sys/kernel/real-root-dev
#End
echo Mounting root filesystem
mount -o defaults --ro -t ext3 /dev/root /sysroot
echo Switching to new root
switchroot --movedev /sysroot
#New
echo pivoting root
pivot_root /sysroot /sysroot/initrd
umount /initrd/proc
#End
If I could find a tested file (including the lilo.conf), it would be
great.
Thank.
--
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Patrick Dupré pd520@xxxxxxxxxx
University of York Department of Chemistry
Heslington, York YO10 5DD United Kingdom
Phone: +44-(0)-1904-434384 Fax: +44-(0)-1904-432516
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list