Skip to Content.
Sympa Menu

baslinux - Re: [BL] Re: Baslinux install on HD

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: "Sheldon Isaac" <SheldonIsaac AT MyRealBox.com>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] Re: Baslinux install on HD
  • Date: Thu, 03 Feb 2005 17:00:19 -0500

On 3 Feb 2005 at 21:31, dick allen wrote:

> Silly me. Used the <install-to-hd> command easily once I put the <-to-hd>
> on end, previously I had only tried <install> thinking it was a shell
> command, but I suppose it is a piece of scrip or something but in the PATH
> somewhere. Had looked for it unsuccessfully.

Not sure where it was when you looked for it. I'm in Windows now, but used
explore2fs , and it's on my HD in /usr/local/sbin

Not sure it's the same install-to-hd ?

---------------
#!/bin/sh
clear
echo
echo
echo
echo
echo
echo
echo " Before you begin this installation, you must:"
echo
echo " (1) prepare a Linux partition"
echo
echo " (2) use mke2fs to put a filesystem on that partition"
echo
echo " (3) mount the partition on /hd"
echo
echo
echo
echo
echo -n "Are you ready to start the installation? "
read REPLY
case $REPLY in n|no)
exit
esac
echo
ls /hd | grep -q lost+found
case $? in 0);;
*) echo "Sorry, I can not find an ext2 partition on /hd."
exit
esac
ls /hd | grep -q i
case $? in 0)
echo "Sorry, the partition on /hd is not empty."
exit
esac
for i in /bin /dev /etc /home /lib /root /sbin /usr /var ; do
cp -a "$i" /hd
echo -n "."
done
for i in fd hd mnt proc tmp ; do
mkdir /hd/$i
done
cd /hd/etc
set -- `mount|grep '/hd '`
echo "$1 / ext2 defaults 1 1" >fstab
echo "/dev/fd0 /fd msdos noauto 0 0" >>fstab
echo "none /proc proc defaults 0 0" >>fstab
cat /etc/rc|sed "s=/dev/loop0=$1="|grep -v swapon|grep -v sync>rc
cd ; umount /hd
echo "loadlin zimage root=$1 rw " >/DOS/baslin/hd.bat
echo
echo
echo "TRANSFER COMPLETE"
echo "~~~~~~~~~~~~~~~~~"
echo "To boot your new partition, execute HD.BAT instead of BOOT.BAT"
echo







Archive powered by MHonArc 2.6.24.

Top of Page