LinuxQuestions.org
Visit Jeremy's Blog.
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 07-14-2007, 01:40 PM   #1
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu
Posts: 1,185

Rep: Reputation: 47
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.
 
Old 07-15-2007, 07:34 AM   #2
yakoub
Member
 
Registered: Oct 2006
Posts: 89

Rep: Reputation: 15
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
 
Old 07-15-2007, 07:47 AM   #3
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu
Posts: 1,185

Original Poster
Rep: Reputation: 47
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?
 
Old 07-15-2007, 09:23 AM   #4
yakoub
Member
 
Registered: Oct 2006
Posts: 89

Rep: Reputation: 15
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.
 
Old 07-15-2007, 05:46 PM   #5
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu
Posts: 1,185

Original Poster
Rep: Reputation: 47
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?
 
Old 07-15-2007, 11:26 PM   #6
yakoub
Member
 
Registered: Oct 2006
Posts: 89

Rep: Reputation: 15
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
 
Old 07-16-2007, 06:32 PM   #7
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu
Posts: 1,185

Original Poster
Rep: Reputation: 47
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

??
 
Old 07-17-2007, 01:39 AM   #8
yakoub
Member
 
Registered: Oct 2006
Posts: 89

Rep: Reputation: 15
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
 
Old 07-17-2007, 04:29 AM   #9
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu
Posts: 1,185

Original Poster
Rep: Reputation: 47
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.
 
Old 07-17-2007, 06:13 AM   #10
yakoub
Member
 
Registered: Oct 2006
Posts: 89

Rep: Reputation: 15
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
 
Old 07-17-2007, 06:36 AM   #11
SCerovec
Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware and Porteus
Posts: 648

Rep: Reputation: 45
Can You use Slax 5.1.8.1 to do it?
http://www.slax.org
 
Old 07-17-2007, 07:20 AM   #12
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu
Posts: 1,185

Original Poster
Rep: Reputation: 47
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.
 
Old 07-17-2007, 04:55 PM   #13
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu
Posts: 1,185

Original Poster
Rep: Reputation: 47
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.
 
Old 07-17-2007, 06:30 PM   #14
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu
Posts: 1,185

Original Poster
Rep: Reputation: 47
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!!
 
Old 07-18-2007, 01:14 AM   #15
yakoub
Member
 
Registered: Oct 2006
Posts: 89

Rep: Reputation: 15
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.
 
  


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
slack12 and smarttools sata issues Carpo Slackware 2 07-20-2007 11:07 AM
Regenerate Slack12 var directory rhb327 Slackware 2 07-09-2007 06:05 AM
install.sh does not work kuertensun Debian 7 06-30-2005 08:56 PM
SuSE problems; Mouse doesn't work, Wine won't install, WM won't install... Konig Linux - Distributions 1 01-21-2004 11:05 PM
X does not work after partial install install of glibc using up2date barryjones Red Hat 3 11-25-2003 04:16 AM


All times are GMT -5. The time now is 01:42 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration