Compare commits

...

No commits in common. "v963" and "v962" have entirely different histories.
v963 ... v962

4 changed files with 3 additions and 32 deletions

View File

@ -7,13 +7,10 @@
3fAn LinuxFromScratch based Linux
Distribution. You can boot the Live
System with typing "Live" on the boot
Promt. The default will start in
installation modus.
If you are on a Serial Console use
"SERINST"!
If you have problems booting, try
to use NoSer on Boot Prompt

14
init
View File

@ -73,7 +73,7 @@ for i in [ [[ acpid addgroup adduser ar arp arping ash awk \
stty su sync tail tar tee telnet test tftp top touch \
traceroute true tty tunctl umount uname uncompress uniq \
unzip uptime usleep vi wc wget which who whoami xargs \
yes zcat lspci; do
yes zcat; do
ln -s busybox $i
done
cd - 2>&1 >/dev/null
@ -114,17 +114,10 @@ fi
if [ ! -d /var/lock/subsys ]; then
mkdir -p /var/log/subsys
fi
if [ ! -f /etc/fstab ]; then
touch /etc/fstab
fi
/sbin/modprobe usb-storage
/etc/init.d/udev start
/etc/init.d/hotplug start
for i in $(/bin/find /lib/modules -type f -name "*.ko"); do
/sbin/modprobe $(/bin/basename $i|/bin/sed -e "s/\.ko$//")
done
for i in /dev/sr*; do
mount -o ro $i /mnt
if [ -d /mnt/Viitor ]; then
@ -134,12 +127,9 @@ for i in /dev/sr*; do
umount /mnt
done
pkill udevd
if [ "$FOUND" ]; then
pkill udevd
mount --move /dev /mnt/dev
umount /sys
umount /proc
exec /sbin/switch_root /mnt /sbin/init
else
exec /bin/ash

10
init.hd
View File

@ -117,11 +117,6 @@ fi
/sbin/modprobe usb-storage
/etc/init.d/udev start
/etc/init.d/hotplug start
for i in $(find /lib/modules -type f -name "*.ko"); do
modprobe $(basename $i|sed -e "s/\.ko$//")
done
for i in `cat /proc/cmdline`; do
DEVNAME=$DEVNAME`echo $i|awk -F "=" '{ if ($1 == "root" ) print $2 }'`
done
@ -136,12 +131,9 @@ for i in /sys/block/[hs]d?; do
done
fi
done
pkill udevd
if [ ${ROOTDEV} ]; then
mount /dev/$ROOTDEV /mnt
pkill udevd
mount --move /dev /mnt/dev
umount /sys
umount /proc
exec /sbin/switch_root /mnt /sbin/init
else
exec /bin/ash

View File

@ -117,19 +117,11 @@ fi
/sbin/modprobe usb-storage
/etc/init.d/udev start
/etc/init.d/hotplug start
for i in $(find /lib/modules -type f -name "*.ko"); do
modprobe $(basename $i|sed -e "s/\.ko$//")
done
for i in /sys/block/sd?; do
DEVNAME=`basename $i`
mount /dev/$DEVNAME /mnt
if [ -d /mnt/Viitor/install ]; then
pkill udevd
mount --move /dev /mnt/dev
umount /sys
umount /proc
exec /sbin/switch_root /mnt /sbin/init
fi
umount /mnt