LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-14-2003, 04:45 PM   #1
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,760

Rep: Reputation: 203Reputation: 203Reputation: 203
Installation disk HOW-TO?


Hi,

is there a good manual how to create customized installation disks?

There's a good tutorial on kernel compilation, and on creating boot disks for systems already set up. But how do I create the corresponding modules disks?


SUMMARY
I try to create boot and install disks for initial system installation of Slackware, using a SuSE 9.0 system as build host. Target system is an old laptop with Pentium Classic 120 MHz, 40 MB RAM, 2 GB HDD, Floppy disk drive, but no CD-ROM.
Result: Either no network, which I need for NFS install, or Kernel panic.


COMPLETE STORY

I'm still trying to get Slackware-current (post 9.1) onto my old laptop (P120, 40MB, 2GB). A few months ago I had no problem to install Slackware on that machine. With bare.i as bootdisk and the pcmcia.dsk supplemental disk I could do an NFS install. However, with the current version of the disks my network adapter won't be activated.

Now I had the idea to modify the standard disks a bit. On my other Linux system (SuSE 9.0) I compiled a kernel with pcmcia modules support. Then:
(1) I created a new bare.i disk and put the new kernel onto it. I was able to boot with this disk, and call setup and pkgtool, but my PCMCIA network card isn't supported, and so I can't get the system onto the laptop (which has no CD-ROM drive, so NFS appears to be the only valid option).
(2) I followed the instructions in the file README.TXT in the kernels directory in order to create my very own boot disk. When I boot with this disk, my PCMCIA Ethernet card is obviously activated (an LED goes on), which does not happen with modified or unmodified bare.i disks. But after inserting install.1, I get the same error again:

Kernel panic: VFS: Unable to mount root fs on 02:00

Where is my mistake?

Any help *greatly* appreciated!

Alex
 
Old 12-15-2003, 03:19 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Mineral, Virginia
Distribution: Debian 8
Posts: 7,890

Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
"is there a good manual how to create customized installation disks?"

You can create a bootable CD using LifeBoat:

http://users.rcn.com/srstites/LifeBo...home.page.html

You could use the LifeBoat addons feature to copy the Slackware installer program and packages to the LifeBoat disk.

---------------------------------
Steve Stites
 
Old 12-17-2003, 11:19 AM   #3
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,760

Original Poster
Rep: Reputation: 203Reputation: 203Reputation: 203
Interesting script, thanks. But my current problem is to install Slackware on a P120 MHz laptop with 40 MB of RAM and no CD-ROM drive, and LifeBoat requires at least 64 MB. So I am in need of a floppy disk solution.

There are lots of tutorials how to create a boot floppy disk with a custom kernel, but so far I haven't found useful instructions how to create the corresponding modules disks (install.1, install.2 and pcmcia.dsk, eg).

Where can I find such information?

Thanks,

Alex
 
Old 12-18-2003, 10:40 AM   #4
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,902

Rep: Reputation: 589Reputation: 589Reputation: 589Reputation: 589Reputation: 589Reputation: 589
The install disks 1-5 basically contain the slackware setup program and may or may not contain the modules you need.
Try dd'ing each floppy to a file on the hard drive.
They are probably gz'd so gunzip them
then mount -o loop /floppy/image/file /some/mount/point
and you'll be able to see the contents and alter them.
You may also need to rdev /dev/fd0 the boot floppy
have a look at the RUNT linux homepage for some great instructions for altering slack boot floppys
 
Old 12-20-2003, 08:24 AM   #5
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,760

Original Poster
Rep: Reputation: 203Reputation: 203Reputation: 203
Thanks, gnashley (once more!).
Using the loop mount I was able to track down my problem to a bug in the pcmcia.dsk of Slackware-current (post-9.1) for Kernel 2.4.23. The Realtek-8139 driver appears to have a bug there (not quite sure, but it's certainly something wrong on that disk).
Regarding RUNT: Thanks for pointing me to this nice little toy, just in time for Christmas. Think, I should get me a USB stick asap! 8-)

Alex
 
Old 12-20-2003, 05:11 PM   #6
kiko
Member
 
Registered: Dec 2003
Posts: 47

Rep: Reputation: 15
I did a nfs slack9.1-current install few days ago like this:
cd /bootdisks; cat bareacpi.i >/dev/fd0
cd /rootdisks; cat install.1 >/dev/fd0;
cat install.2 >/dev/fd0
cat pcmcia.dsk > /dev/fd0
cat network.dsk >/dev/fd0

Boot like usual with bareacpi.i,install.1,install.2 then
insert pcmcia.dsk into fd0, pcmcia <CR>
insert network.dsk into fd0, network <CR> (should see the ethx device detected)

The rest is not interesting if u had ever done nfs install, I mounted nfs manually, n install through premounted directory.
 
Old 12-20-2003, 05:44 PM   #7
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,760

Original Poster
Rep: Reputation: 203Reputation: 203Reputation: 203
I can do the same with Slackware-9.1 stable, but with the disk image of the pcmcia supplemental disk my network adapter doesn't work. That it works for you may mean that not all is wrong with that disk in Slackware-current. It's probably a bug in the module for my PCCard network adapter, then (Realtek 8139 driver). Or do you have the same driver in use? Then I'd have to rethink...

BTW, I never needed the network supplemental disk, as my laptop will not be used as server.

Thanks!
 
Old 12-20-2003, 08:35 PM   #8
kiko
Member
 
Registered: Dec 2003
Posts: 47

Rep: Reputation: 15
No my nic on laptop isn't a realtek 8139, it is a ether-express-somewut from intel.

according to /rootdisks/README.TXT:

pcmcia.dsk This supplemental disk provides support for laptop devices. It
allows installing through a network or CD-ROM drive card. To
use this disk to scan for PCMCIA devices (this is only done if
you need to use them DURING the installation), you enter 'pcmcia'
after loading the 'install' disks and logging in.

network.dsk This supplemental disk provides support for ethernet cards. To
use this disk to scan for network devices (this is only done if
you need to use them DURING the installation), you enter 'network'
after loading the 'install' disks and logging in.

So pcmcia.dsk should also support network install, but am doubted a little bit therefore I prepare also that network.dsk into diskett. N in fact after given "pcmcia" on the prompt there is no NIC detection activity, but after give "network" it does the network detection ..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Reclaim disk partition from hard disk installation EStester Linux - Enterprise 2 03-09-2005 12:46 PM
Reclaim disk partition from hard disk installation EStester Linux - General 1 03-09-2005 12:25 PM
copy linux installation from old disk to new disk rmanocha Linux - Software 4 07-20-2004 07:21 AM
Installation Disk How? varunk123456 Linux - Newbie 4 03-28-2004 04:38 PM
Disk installation RancidLM Linux - Software 2 12-13-2001 03:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration