Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
07-14-2007, 01:40 PM
|
#1
|
|
Senior Member
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Fedora Core, Slackware, Vector Linux, Ubuntu
Posts: 1,167
Rep:
|
Slack12 install cd doesn't work on old pc!
I cannot get the Slack12 install cd to get into setup with the kernels on the cd. My pc is a 10 year old 200 MHz pc that has run Slack 10, 10.2, and 11 without problems in console. I have used it both with the 2.4 and 2.6 kernels without problem. The 2.6.x kernels I have built myself for this pc so it is customized. How do I get the install cd to install with a very basic kernel?
Last edited by linuxhippy; 07-14-2007 at 04:18 PM.
|
|
|
|
07-15-2007, 07:34 AM
|
#2
|
|
Member
Registered: Oct 2006
Posts: 82
Rep:
|
load initrd
boot whatever kernel you like and
you can start setup by loading isolinux/initrd.img
you can use lilo or grub :
kernel=/bzImage
initrd=/initrd.img
|
|
|
|
07-15-2007, 07:47 AM
|
#3
|
|
Senior Member
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Fedora Core, Slackware, Vector Linux, Ubuntu
Posts: 1,167
Original Poster
Rep:
|
ok. I have reinstalled Slack11 and recompiled kernel 2.6.22.1 for my pc on hde1. I want to put Slack12 on hde2. Could I install Slack12 on hde2 while in Slack11 running kernel 2.6.22.1 following the above directions?
|
|
|
|
07-15-2007, 09:23 AM
|
#4
|
|
Member
Registered: Oct 2006
Posts: 82
Rep:
|
reboot
Quote:
|
Originally Posted by linuxhippy
ok. I have reinstalled Slack11 and recompiled kernel 2.6.22.1 for my pc on hde1. I want to put Slack12 on hde2. Could I install Slack12 on hde2 while in Slack11 running kernel 2.6.22.1 following the above directions?
|
you need to reboot :
the simple way is to place the slackware
directory on some partition that has filesystem
supported by the booted kernel
then edit /etc/lilo
and add entry similar to your default one
kernel=/bzImage #look at kernels/README on some mirror
initrd=/initrd.img #isolinux/initrd.img on some mirror
label=install
then run lilo to install the install entry .
after reboot , choose the install line
this will boot the setup program , then
choose to install from hard drive
Last edited by yakoub; 07-15-2007 at 09:25 AM.
|
|
|
|
07-15-2007, 05:46 PM
|
#5
|
|
Senior Member
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Fedora Core, Slackware, Vector Linux, Ubuntu
Posts: 1,167
Original Poster
Rep:
|
I built all filesystems into the kernel and don't need an initrd.img to boot. Do I need the initrd.img to install Slack12?
|
|
|
|
07-15-2007, 11:26 PM
|
#6
|
|
Member
Registered: Oct 2006
Posts: 82
Rep:
|
yes
Quote:
|
Originally Posted by linuxhippy
I built all filesystems into the kernel and don't need an initrd.img to boot. Do I need the initrd.img to install Slack12?
|
initrd.img has the setup program
|
|
|
|
07-16-2007, 06:32 PM
|
#7
|
|
Senior Member
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Fedora Core, Slackware, Vector Linux, Ubuntu
Posts: 1,167
Original Poster
Rep:
|
ok, I downloaded the initrd.img file from a mirror and see how to use it in /etc/lilo.conf. I don't follow you on the kernel part. The readme.txt file I found on a mirror describes putting a 2.6 kernel on a floppy and then ends with good luck getting it to fit. I'm not sure I could even find a floppy disk. Is this the right file:
ftp://mirror.pacific.net.au/linux/sl...els/README.TXT
??
|
|
|
|
07-17-2007, 01:39 AM
|
#8
|
|
Member
Registered: Oct 2006
Posts: 82
Rep:
|
no floppy
Quote:
|
Originally Posted by linuxhippy
ok, I downloaded the initrd.img file from a mirror and see how to use it in /etc/lilo.conf. I don't follow you on the kernel part. The readme.txt file I found on a mirror describes putting a 2.6 kernel on a floppy and then ends with good luck getting it to fit. I'm not sure I could even find a floppy disk. Is this the right file:
ftp://mirror.pacific.net.au/linux/sl...els/README.TXT
??
|
get file kernels/huge.s/bzImage to possibilly /var/bzImage
then in edit /etc/lilo :
kernel=/var/bzImage
initrd=/var/initrd.img
label=install-12
and run lilo ,then reboot
|
|
|
|
07-17-2007, 04:29 AM
|
#9
|
|
Senior Member
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Fedora Core, Slackware, Vector Linux, Ubuntu
Posts: 1,167
Original Poster
Rep:
|
My pc doesn't like the huge.s kernel on the cd-my Slack 11 kernel is 2.6.22.1...can I use this? It's /boot/vmlinuz-2.6.22.1.
|
|
|
|
07-17-2007, 06:13 AM
|
#10
|
|
Member
Registered: Oct 2006
Posts: 82
Rep:
|
Quote:
|
Originally Posted by linuxhippy
My pc doesn't like the huge.s kernel on the cd-my Slack 11 kernel is 2.6.22.1...can I use this? It's /boot/vmlinuz-2.6.22.1.
|
you can use any kernel image you like
but you can't start setup without loading initrd.img
|
|
|
|
07-17-2007, 06:36 AM
|
#11
|
|
Member
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware and Porteus
Posts: 645
Rep:
|
Can You use Slax 5.1.8.1 to do it?
http://www.slax.org
|
|
|
|
07-17-2007, 07:20 AM
|
#12
|
|
Senior Member
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Fedora Core, Slackware, Vector Linux, Ubuntu
Posts: 1,167
Original Poster
Rep:
|
Quote:
|
Originally Posted by yakoub
you can use any kernel image you like
but you can't start setup without loading initrd.img
|
ok, I should be able to figure out how to get it to install now. I'll let the board know after I install.
That Slax live cd is one of the only live cds that'll boot on my old pc. I used that after I messed my server up trying to upgrade to Slack12 last weekend. I'm not sure if it could be used to install Slackware, though.
|
|
|
|
07-17-2007, 04:55 PM
|
#13
|
|
Senior Member
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Fedora Core, Slackware, Vector Linux, Ubuntu
Posts: 1,167
Original Poster
Rep:
|
Success! Got the installation going. First I made a directory called /Slack12 and put this intitrd there:
ftp://mirror.pacific.net.au/linux/sl...nux/initrd.img
The kernel was already on my Slackware 11 hardrive (I made it a couple days ago).
I modified /etc/lilo.conf as described above like this:
image=/boot/vmlinuz-2.6.22.1
initrd=/Slack12/initrd.img
label=install
At a terminal run lilo:
lilo
Reboot.
At the lilo menu select your new install setting and it should boot up into a terminal screen that is the same as if you booted off the install cd.
Now came the sticky part. It couldn't find my cdrom player. I watched it boot and realized that it was complaining about the device mapper. I googled around and found that if I modprobed dm_mod that I'd get my cd. I then had to mount my Slack 11 hard drive and symlink my modules (ln -s /mnt/hde1/lib/modules/2.6.22.1 /lib/modules/2.6.22.1) and modprobe worked. Then I started setup as usual.
|
|
|
|
07-17-2007, 06:30 PM
|
#14
|
|
Senior Member
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Fedora Core, Slackware, Vector Linux, Ubuntu
Posts: 1,167
Original Poster
Rep:
|
another gotcha when it finishes installing this way is that it doesn't ask to install a kernel but goes and installs the hugesmp kernel that didn't work for me. I had to install the kernel in Slack 11 and configure /etc/lilo.conf to boot this kernel, run lilo, and then boot into Slack 12. Oh, I didn't reinstall lilo on my MBR during the Slack 12 install but put it on that first option in order to preserve Slack 11 being able to boot. When I finally was able to boot into Slack 12 I didn't have modules. I then went to my new kernel directory (/usr/src/linux-2.6.22.1) and typed:
make modules_install
Rebooted again into Slack 12 and then I was good.
Thanks for all the help here!!
|
|
|
|
07-18-2007, 01:14 AM
|
#15
|
|
Member
Registered: Oct 2006
Posts: 82
Rep:
|
three things
first : when i installed mine i always prefer to put slackware
distribution on hard drive partition and choose to install from
hard drive than cd-rom , it is faster and no probelms detecting cd-rom
second: there are several kernel packages in slackware/a
that can answer to your needs , all are kernel + modules
package pair so you don't need to build your own modules
still compiling your own kernel is not hard either
third: grub on a floppy is a great rescue if lilo fails you
since you can dynamically choose whatever boot configuration you like
Last edited by yakoub; 07-18-2007 at 01:17 AM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:56 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|