Author Topic: warped slackware howto  (Read 430 times)

choasforages

  • VIP
  • Member
  • ***
  • Posts: 1,729
  • Kudos: 7
    • http://it died
warped slackware howto
« on: 13 June 2002, 13:16 »
ok, i was in this delima of biulding a 100mhz pentium 1, and i didn't have nothing but a harddrive and a floppy drive. if you are ever in this situation, this howto might help. and it may teach some a little about nfs and how to make it work a little. however this isn't the oddest way to install slak, some go so far as to say you can install it through you printer port. ok here goes for the nfs slak install, first you need the slackware iso image, down load it to the /tmp directory, then as root,

mkdir /mnt/loop1
mount -o loop,unhide -t iso9660 -r install.iso /mnt/loop1

after it mounts add


/mnt/loop1 *(ro,insecure,all_squash)
to your nfs exports file, normally located at

/etc/exports

once you have added that and started the nfs deamon and the lockd deamon, for this example the nfs servers ip is 192.168.0.15, type in /*still as root*/
/usr/sbin/exportfs -r

now create the proper slackware bootdisk from the loopback mounted slackware disc

by typing in

dd if=bare.i of=/dev/fd0
insurt new disk
cd ../rootdsks
dd if=color.gz of=/dev/fd0
insurt new disk
dd if=network.dsk of=/dev/fd0
and you should have all the correct boot disks to proceed


*note
/dev/fd0 might be different depending on your version of linux/unix

then put the boot disk in the cdrom-less machine and boot it up
when it asks for the root disk, insert the one that you dd'd color.gz onto,

once it gets down booting
login as root, theres no password yet
and type in network,

then just follow the disks instructions, if your network card is supported it should autoprobe

ok then

type

ifconfig eth0 inet 192.168.0.X netmask 255.255.255.0

*note
the netmask has to be the same as the nfs server and the X should be replaced with an unused ip
if you use dhcp then type in
ifconfig eth0 dhcp
i think

then type in
route add default gateway 192.168.0.1

*note
replace the 192.168.0.1 with your router

then type

mkdir /nfs
mount -t nfs 192.168.0.15:/mnt/loop1 /nfs

then type in

setup

go throught the standerd install when it askes for  the source, tell it premounted
the type in
/nfs/slakware

then go through the standerd slakware install,
ill have more when it gets done k
i hope this helped some poor soul out there

p.s. hey voidmain and calum do you think i should try to turn this into an offical minihowto or something
x86: a hack on a hack of a hackway
alpha, hewlett packed it A-way
ppc: the fruity way
mips: the graphical way
sparc: the sunny way
4:20.....forget the DMCA for a while!!!

choasforages

  • VIP
  • Member
  • ***
  • Posts: 1,729
  • Kudos: 7
    • http://it died
warped slackware howto
« Reply #1 on: 13 June 2002, 15:50 »
wow, i just got it to work, slackware is pretty cool
x86: a hack on a hack of a hackway
alpha, hewlett packed it A-way
ppc: the fruity way
mips: the graphical way
sparc: the sunny way
4:20.....forget the DMCA for a while!!!

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
warped slackware howto
« Reply #2 on: 13 June 2002, 20:16 »
NFS is a good way to install when you don't have a CD drive but I prefer installing via HTTP in that case.  I usually have all my Linux CD images on my server mounted on loop devices as you did and install through Apache. RedHat's network boot disk allows you to install through HTTP, FTP, NFS, etc and it is very easy.  But I am sure that if what you did for Slackware is not already out there, by all means write up a HOWTO and submit it to the Linux documentation project...  And if you feel really froggy, write a menu driven install disk that will prompt the Slacker for all inputs... Then you only need a one line howto:

dd if=ChaosSlackNFSInstall.img of=/dev/fd0
Someone please remove this account. Thanks...

choasforages

  • VIP
  • Member
  • ***
  • Posts: 1,729
  • Kudos: 7
    • http://it died
warped slackware howto
« Reply #3 on: 14 June 2002, 03:20 »
i looked out on the slackware book, they mention nfs and there is a nfs option in slackware, but i do think that this method is uniqe, thanks though for the advice, one now has to sit his arse and polish it up
x86: a hack on a hack of a hackway
alpha, hewlett packed it A-way
ppc: the fruity way
mips: the graphical way
sparc: the sunny way
4:20.....forget the DMCA for a while!!!