[Rule-list] HD-based install on Fujitsu laptop--success!
Raymundo Baquirin
rayb at apc.edu.ph
Fri May 10 20:29:40 EEST 2002
Here's the installation report:
Test PC:
Fujitsu Point 510 (No Test PC number yet)
AMD486 processor, 32MB RAM, 2GB disk, no CDROM drive, no floppy
drive, no parallel port, one serial port. Win95 installed.
Installer:
Slinky v0.2.3. I downloaded slinky-v0.2.3.img and disk2.img to my desktop
machine. Then I extracted from slinky-v0.2.3.img the files vmlinuz and
rootfs.gz (needed to boot with loadlin).
Preparation:
(*note: this is a summary of actions performed over several days)
1. Set up "direct cable connection" on the laptop and on my desktop PC
(which has dual boot set up so I can boot into Windows if needed)
2. Downloaded the ff. to the laptop:
(a) loadlin.exe
(b) The "Linux Prep Tool" from the Mandrake 7.0 CD
(c) slinky files: vmlinuz, rootfs.gz and disk2.img
3. Run the Linux Prep Tool to shrink the windows partition and create Linux
partitions. Unlike other partition tools, this one can run from the disk
that is being repartitioned. I have used fips before but fips wants to run
from a boot floppy.
[ intermission]
At this point I did not yet have the Red Hat 7.2 disks, so I installed SuSE
7.1 instead (the secret is out, I use SuSE)! The HD-based install went well
and I could then set up a ppp link over the serial cable so that subsequent
file transfers were faster than when using Windows direct cable connection.
[end intermission]
4. With the Red Hat 7.2 disks in hand, I now had to get the install rpms onto
the windows partition of the laptop. I copied over only the rpms named in the
base_packages and dialup_packages files in the second_stage_scripts directory
of the disk2.img. One hour and 20 minutes later, I booted slinky and found
that what was required was an iso image of the install CD. Not wanting to
copy a 647MB file over the serial link, I made an iso image with just the
files named in the base_packages and dialup_packages in the RedHat/RPMS
directory, plus the RedHat/base directory. Ended up with a 128MB iso image
which I copied over the serial line (took ~3.5 hours).
Installation
1. Booted into Windows 95, command-line only
2. changed to \rule\slinky\2.3
3. run "loadlin vmlinuz initrd=rootfs.gz root=/dev/ram0 mem=12M"
4. at the busybox prompt, did:
"cd /mnt"
"mkdir win d2"
"mount -t vfat /dev/hda1 /mnt/win"
"mount -t ext2 /mnt/win/rule/slinky/2.3/disk2.img /mnt/d2 -o loop"
"cd /scripts" and "sh setup.sh"
5. chose the "image" install option. setup asked for the iso image and I
pointed it at hda1/rh.iso
6. chose "cfdisk" as the partitioning tool. cfdisk didn't like my partition
setup (the partitions are not in order) and exited. setup didn't see a swap
partition and exited.
7. restarted setup and chose fdisk instead. changed the type of the hda2
partition to "Linux Swap".
8. setup proceeded and wanted the second disk.
9. I switched to the second terminal and did
"mount -t ext2 /mnt/win/rule/slinky/2.3/disk2.img /mnt/floppy -o loop"
setup tried to mount /dev/fd0 on /mnt/floppy and didn't succeed
10. setup continued, prompting for packages to install. I believe I said
"yes" to some packages that weren't actually on the iso image.
11. setup prompted for root password and gateway IP
12. setup boot config: I answered "no" to both lilo install and create boot
floppy.
13. setup asked if I wanted to reboot and I answered "no"
14. I copied vmlinuz-2.4.7-10 and System.map-2.4.7-10 to /mnt/win/rule, then
rebooted into Windows, changed to the rule directory and did
"loadlin vmlinuz root=/dev/hda3 ro mem=32M"
15. Red Hat came up but complained about /proc/mounts and the swap device.
16. Did the install over, but
-used fdisk instead of cfdisk
-mounted disk2.img on /mnt/floppy
-just installed base_packages and dialup_packages
-answered "yes" when setup asked to reboot
...and, on reboot, got a working Red Hat 7.2 system....finally!
_______________________________________________
Rule Project HOME PAGE: http://www.rule-project.org/rule/
Original Rule Development Site http://savannah.gnu.org/projects/rule/Rule-list at mail.freesoftware.fsf.org
http://mail.freesoftware.fsf.org/mailman/listinfo/rule-list
This full static mirror of the Run Up to Date Linux Everywhere Project mailing list, originally hosted at http://lists.hellug.gr/mailman/listinfo/rule-list, is kept online by Free Software popularizer, researcher and trainer Marco Fioretti. To know how you can support this archive, and Marco's work in general, please click here