Slackware - InstallationThis forum is for the discussion of installation issues with Slackware.
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I could not thank you enough for this. Your SATA custom install cd worked like a charm. Everything went fine, but I think I have made a mistake while installing the kernel. I installed bare.i because I could not find the sata.i kernel. What is it named on the disc? How can I delete the bare.i and install the new one?
I could not thank you enough for this. Your SATA custom install cd worked like a charm. Everything went fine, but I think I have made a mistake while installing the kernel. I installed bare.i because I could not find the sata.i kernel. What is it named on the disc? How can I delete the bare.i and install the new one?
Thanks
Vikram
hehe.. I knew someone would have a problem with this eventually. Its no biggie.. the kernel is in:
(CD#1)/kernels/sata.i/bzImage
The kernel name is simply sata.i (sata.i directory that is)
I can't remember if I changed the setup script or not to default to this. I guess not. I will have to take a look..
For now it is simply a matter of copying that file called 'bzImage', System.map.gz,(and config if ya want) over to the root drive/dir and renaming bzImage --> vmlinuz :
Notice I made two copies of it. One is called '.old' nad the other is called '-2.4.26-sata' --- I do this on my system so whenI recopile I always have a 'stable' kernel to fall back on. Of course you will need to change your lilo.conf file.. Keep reading.
Really all you need is simply the vmlinuz because that is your kernel. But the system map helps for other things and the config is there for your convience. (Like when you re-compile a new kernel you can copy it from there and use it like this:
Assuming your root for all of this and your in the /usr/src/linux dir:
darkstar# cp /boot/config ./.config
darkstar# make oldconfig
One other thing you may want to check after you copy the vmlinuz over is to make sure that lilo is booting vmlinuz
you edit your /etc/lilo.conf file nad see where what it is calling the kernel. Should default to vmlinuz
Hope these instructions are helpful enough. Feel free to ask me about anything else. I'll try and fix that problem you found. Or see if I can get it to default to my kernel.
If anyone sees an easier method or a mistake PLEASE tell me.
-bc
edit:
To boot back into your system (sincxe you probably installed the wrong kernel just do this :
Re-run the slack CD
then:
boot: sata.i root=/dev/sda1 noinitrd ro
^^^ of course change to whatever your root drive/dir is on. (sda1, sda6 or whatever)
-bc
Last edited by bonecrusher; 07-16-2004 at 10:30 AM.
Originally posted by cruzer Hi, thanks for replying so fast. One more question:
Did you forget to insert /sata.i/ after /mnt/cdrom/kernels/ in the above code?
Ahh back in linux.. I wrote that above in WinXP. So forgive me for the error!!! I fixed it. I hope all is correct now. How very perceptive
I was looking at the script for kernel installatiion:
(I mounted initrd.img as a loopback) (This file is under the isolinux dir on cd for your info)...
Here is a snipit:
Code:
# If someone tries to install kernels from a CD that doesn't contain any,
# we'll give them one chance to find a disc that does.
swapdisks() {
CDDEVICE=`cat $TMP/SeTCDdev`
umount $CDDEVICE 1> /dev/null 2> /dev/null
eject $CDDEVICE
dialog --title "REINSERT KERNEL DISC" --msgbox \
"Please reinsert the Slackware disc containing the collection \
of Linux kernels. Usually this is disc number one (the disc \
that you boot from). Once you've inserted the disc, hit ENTER \
to continue." \
8 61
mount $CDDEVICE /var/log/mount 1> /dev/null 2> /dev/null
}
and
Code:
dialog --title "INSTALL LINUX KERNEL" --default-item $DEF --menu \
"In order for your system to \
boot correctly, a kernel must be installed. If you've made it this far \
using the installation bootdisk's kernel, you should probably install \
it as your system kernel ($KERNEL). If you're sure you know what you're \
doing, you can also install your choice of kernels from the Slackware CD, \
or a kernel from a floppy disk. You can also skip this menu, using \
whatever kernel has been installed already (such as a generic kernel from \
the A series). Which option would you like?" 18 72 4 \
"bootdisk" "Use the kernel from the installation bootdisk" \
"cdrom" "Use a kernel from the Slackware CD" \
"floppy" "Install a zimage or bzimage from a DOS floppy" \
"skip" "Skip this menu (use the default $KERNEL)" 2> $TMP/SeTreturn
if [ ! $? = 0 ]; then
break
and finally,
Code:
if [ ! "$SLACK_KERNEL" = "" ]; then
if [ -r /cdrom/isolinux/kernel/$SLACK_KERNEL ]; then
ITEM=" --default-item /cdrom/isolinux/kernel/$SLACK_KERNEL "
elif [ -r /cdrom/kernels/$SLACK_KERNEL/bzImage ]; then
ITEM=" --default-item /cdrom/kernels/$SLACK_KERNEL/bzImage "
fi
fi
cat << EOF > $TMP/tempscript
dialog --title "CHOOSE LINUX KERNEL" $ITEM --menu "Which of the following \\
kernels would you like to install? NOTE: If \\
you have a SCSI controller, choose a kernel that supports that. You \\
can support your CD-ROM drive and network card later with installable \\
kernel modules." \\
18 70 8 \\
EOF
for file in /cdrom/isolinux/kernel/* /cdrom/kernels/*/*zImage ; do
if [ -r $file ]; then
echo "\"$file\" \"\" \\" >> $TMP/tempscript
fi
done
echo "2> $TMP/SeTreturn" >> $TMP/tempscript
. $TMP/tempscript
if [ ! $? = 0 ]; then
continue;
fi
file=`cat $TMP/SeTreturn`
dialog --title "COPYING" --infobox \
"Copying kernel from $file to $KERNEL on your new system...\n" 0 0
rm -f $T_PX/$KERNEL
cp $file $T_PX/$KERNEL
chmod 400 $T_PX/$KERNEL
rdev -R $T_PX/$KERNEL 1
rdev $T_PX/$KERNEL $ROOT_DEVICE > /dev/null 2> /dev/null
rdev -r $T_PX/$KERNEL 0
break;
fi
It looks to me like (and this is how I remember when I was testing) that it goes through and interactively lists the kernels that are currently on the cd. As long as you use the install cd#1 (make sure you put it back in...) you should be able to pick sata.i from the list. So no changes are necessary as far as I can see. I will look a little more closely, but maybe you didn't put the original cd#1 (The ISO I made) in the drive... it gives you 1 and only 1 chance going by the code. The only problem that comes to mind is that maybe it would find the kernels on another disk, and not give you the oppurtunity to change disks, but that is easily avoided by suspending the setup script and umount /dev/cdrom (or hdX) and then resuming the script. (Do this before you choose (or it chooses) to copy the kernel. If you used the original Slackware CD#1 it wouldn't have shown you sata.i in other words. My test machine is permanently installed, (so it isn't a test/install machine anymore so if anyone else has any more input on this, please, by all means let me know!
-bc
PS: My guess as to what happened is you had disk#2 or disk#3 or something in there, (Which if I remember does have a kernels dir) and it saw no sata.i on those. The only disk that was modified was CD #1 So for anyone else, please MAKE SURE (when prompted) to change disks when it asks for the disk with your kernel on it.
Last edited by bonecrusher; 07-14-2004 at 05:59 PM.
No, the disc that was in the drive was the custom disc1 that had sata.i kernel, but the installation did not list it in the list of kernels that could be installed. Anyways, I have followed your directions and now everything is fine, I am running slack 10 on dell dimension 4600 finally. Thank you so much for all your help. I think you should make a little SATA howto and post URLs of boot and cd discs on the alt.os.linux.slackware. There are a lot of people who would need this help.
Originally posted by cruzer No, the disc that was in the drive was the custom disc1 that had sata.i kernel, but the installation did not list it in the list of kernels that could be installed. Anyways, I have followed your directions and now everything is fine, I am running slack 10 on dell dimension 4600 finally. Thank you so much for all your help. I think you should make a little SATA howto and post URLs of boot and cd discs on the alt.os.linux.slackware. There are a lot of people who would need this help.
Well, you had me so convinced that there still was a problem, I went in and looked. I ran the script and not only did it load the sata.i ( it was in the kernel list) but it was the one that came up first as it shows the kernel that booted the system highlighted first in the list. Maybe you just didn't see it or something. But as far as I have been able to find, everything is in proper working order...
Glad all is well with your installation! I get all warm and fuzzy inside when I hear things like this.. Haha.. Anyway glad it worked out for you..
-Brady
Last edited by bonecrusher; 07-15-2004 at 09:23 AM.
I'm currently downloading the enhanced ISO from BC and hope that it works as promised. Since I last posted to this thread, I managed to completely wipe out my HD so I'm starting from scratch. Seems I was trying to fix my FC2 partition and managed to make a bad choice. I went from having some 7 different OS'es on that drive to zero in no time flat! Oh well, at least I still have my trusty Power Mac G3 running to get my email and post to this forum, while the Dell system in the living room is downloading the new ISO. Anyone else out there using Boot It NG as their boot manager? It had been stable as a rock for me prior to this incident.
Originally posted by Slugg0 I'm currently downloading the enhanced ISO from BC and hope that it works as promised. Since I last posted to this thread, I managed to completely wipe out my HD so I'm starting from scratch. Seems I was trying to fix my FC2 partition and managed to make a bad choice. I went from having some 7 different OS'es on that drive to zero in no time flat! Oh well, at least I still have my trusty Power Mac G3 running to get my email and post to this forum, while the Dell system in the living room is downloading the new ISO. Anyone else out there using Boot It NG as their boot manager? It had been stable as a rock for me prior to this incident.
Promised?
(I don't think any Linux Distro on earth gives you that
But hey, everyone I have talked to so far has had good results.. and ppl are still d/loading it.. I am getting tired of running ABC (BitTorrent) though..
And I have heard of that boot manager, but never used it. sorry.
hello
I`m trying to install slackware 9.1
I have Asus A7N8X Deluxe Gold (with Silicon 3112A controler) and WD800JD disc
I made sata.i disk (Made for slack 9.0 install by Bonecrusher) and install 1 and 2 disc
So
I put the first disc into the floppy
then I can see that :
boot: //here i put enter
Loading
Boot failed: please change disks and press akey to continue <----- ???????????
If I put iinstall.1 disc then the computer will hang (floppy LED is lighting alltime) and I can`t do anything
I try do this with sata.i for slackwer 10.0 but without a result.
What I`m doing wrong.
Greeting from Poland
PS sorry for my english but I just start learnig it.
Originally posted by qlaret hello
I`m trying to install slackware 9.1
I have Asus A7N8X Deluxe Gold (with Silicon 3112A controler) and WD800JD disc
I made sata.i disk (Made for slack 9.0 install by Bonecrusher) and install 1 and 2 disc
...
Boot failed: please change disks and press akey to continue <----- ???????????
Hmm, if I had to guess, you probably have a defective floppy.
Don't know for sure..one of those things I would have to look at the boot messages to understand whats going on.
bc
PS: I have the same Hard Drive as you (see below on signature of hardware I have running), and if I'm not mistaken, I have heard of someone getting slack installed with the same sata chipset (controller) so don't give up by any means. Also your English is 100% better then my Polish (Which would be non-existent.)
Last edited by bonecrusher; 07-16-2004 at 09:47 AM.
ok you have right
the disc was defective (I check earlier both install s\disc but not this one)
but what I have to do next
I log as root
but fdisk still showing that I have hd drive (in fact hde - so one more question when i must put this commend ide=reverse I think I must to do this)
USE CFDISK! Read info under [F3] on boot disk [F4] on ISO
Quote:
Originally posted by qlaret ok you have right
the disc was defective (I check earlier both install s\disc but not this one)
but what I have to do next
I log as root
but fdisk still showing that I have hd drive (in fact hde - so one more question when i must put this commend ide=reverse I think I must to do this)
try using cfdisk for one thing.. it is easier to work with...:
cfdisk /dev/sda
bc
PS:
The /dev/HDx drive is probably just your cdrom(s)....
Last edited by bonecrusher; 07-16-2004 at 10:49 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.