I would reply to that message but the recent spam flood caused my ISP's
newserver to spill.
Anyway, M. Titus replied to my response that using the Slackware 10, disc
2 wasn't sufficient:
Ever heard of SATA/SATA2? Of course not. Why worry.
I just found out how to update the rescue image to version 10.2, and the
10.2 version includedes support for sata. The key points to the fix:
A. The rescue image is a standalone slackware setup which includes
a list of installed packages.
B. These packages can be upgraded with upgradepkg.
I did not attempt to identify packages which should be added to the rescue
image for 10.2 which were not in 10.0. However, I did some quick testing
with a 2.6.x kernel (not shown below.) This worked fine with the kernel
modules in place on the rescue image.
Below I have documented the steps which I used for upgrading the rescue
image (to the last step of writing the iso.) If you want the resulting
iso image, then maybe I can post it somewhere, or otherwise get it out there.
DISCLAIMER: These are the approximate steps I followed. I have checked them,
but they may still contain errors. There is NO WARRANTY or claim of suitability
for a specific purpose for the method presented below. Verify all commands are
correct and appropriate for your specific situation before proceeding. You are
responsible for any commands you issue on your system.
Here goes (long, eleven steps).
Steps:
1. rescue.img is gzipped. Expand to a temp filerescue.img
# cat rescue.img | gzip -cd >old.rescue
2. Setup loopback to reference old rescue
# mkdir /mnt/old_rescue
# mount -o loop old.rescue /mnt/old_rescue
3. Prepare an empty target disk (virtual) for new initrd.
a. Allocate adequate space for upgrade. I used 200M.
# dd of=/tmp/new.rescue bs=1024 count=0 seek=200000
b. Setup loopback for target:
# losetup /dev/loop1 /tmp/new.rescue
c. Format new target:
# mke2fs /dev/loop1
4. Fill new target with old image as the starting point for the upgraded image.
a. Mount new target:
# mkdir /mnt/new_rescue
# mount /dev/loop1 /mnt/new_rescue
b. Copy existing rescue to target:
# (cd /mnt/old_rescue && tar -cpf - .) | (cd /mnt/new_rescue && tar -xvf -)
5. Begin upgrade.
a. Use chroot to switch to new rescue image:
# cd /mnt/new_rescue
# chroot .
b. Mount device with slackware packages (a,ap,n)
# mount /dev/hdc /mnt/cdrom
# cd /mnt/cdrom/slackware
c. Start upgrade. Keep the points made here in mind:
http://mirrors.xmission.com/slackware/slackware-10.2/UPGRADE.TXT
# upgradepkg a/glibc-solibs-*.tgz
# upgradepkg a/pkgtools-*.tgz
# upgradepkg a/bash-*.tgz
# for g in a ap n;do \
for p in $(find ${g}/. -type f | grep tgz$);do \
upgradepkg $p \
done \
done
6. Clean up.
a. Unmount source for packages in chroot.
# cd /
# umount /mnt/cdrom
b. End chroot
# exit
c. Unmount loopback for old and new
# umount /mnt/old_rescue
# umount /mnt/new_rescue
# losetup -d /dev/loop1
7. Compress new initial ramdisk imagei (optional).
# cat /tmp/new_rescue | gzip >/tmp/new_rescue.img
8. Boot using new initial ramdisk to test and fixup. I used the grub loader
and booted a virtual machine (vmware) (not shown.)
a. Fixup /etc/rc.d directory
# mv rc.S.new rc.S
:
:
:
b. Install firewall code. /etc/rc.rc.firewall (optional)
c. Save the fixed (in memory image) to new loopback (not shown.)
The initial ramdisk size can be reduced at this point. I used
"seek=135000" (dd) which was tight.
d. Unmount loopback and compress (not shown.) The resulting image
is 63M.
9. Test reboot using newly saved initrd. (not shown.)
10. Build a new bootable iso with current kernels.
a. Create a temp area where new cd will be built. (not shown.)
b. Copy "kernels" from slack 10.2, disc 1 to temp area. (not shown.)
c. Copy "isolinux" from slack 10.0, disc 2 to temp area (not shown.)
d. Copy new rescue image to isolinux/rescue.img in temp area (not shown.)
e. Fix isolinux.cfg for new rescue image and add new stanzas for new kerenls
(not shown). This is a typical stanza:
label sata.i
kernel /kernels/sata.i/bzImage
append initrd=rescue.img load_ramdisk=1 prompt_ramdisk=0 \
ramdisk_size=135000 rw root=/dev/ram SLACK_KERNEL=sata.i
f. Build new isoimage using temp area:
# cd /tmp/new_rescue
# mkisofs -o /tmp/slackware.iso \
-R -J -V "Slackware Rescue" \
-hide-rr-moved \
-v -d -N -no-emul-boot -boot-load-size 4 -boot-info-table \
-sort isolinux/iso.sort \
-b isolinux/isolinux.bin \
-c isolinux/isolinux.boot \
-A "Slackware Rescue CD (updated)" .
Resulting image is 93829120 bytes.
11. Burn iso to CD.
Hopefully, this may save someone else some time and effort.
In next couple of weeks, I will be installing Slack on a Dell
D610 which uses SATA. So I may have helped myself, if no one else.
--
Doc: Please excuse the crudity of this model.
I didn't have time to build it to scale or to paint it.
http://us.imdb.com/title/tt0088763/quotes