[RULE] Install Report (slinky 3.95 with Red Hat variant)
Raymundo Q. Baquirin
rayb at apc.edu.ph
Fri Jun 27 13:28:50 EEST 2003
Hi, all,
I tried to use slinky to install a local distribution (Lorma Linux
http://linux.lorma.edu/
, based on Red Hat 9). Here's what happened:
1. I tried to install using the Lorma LInux installer (Anaconda, don't know
if it's stock Red Hat or modified). The installer crashed after the Disk
Druid stage where I had defined a mount point for / and for /boot.
2. Downloaded slinky 3.95 and the corresponding disk2.img. Copied the
disk2.img to my windows partition. Extracted the vmlinuz and rootfs.gz files
from the slinky img and copied these to my windows partition.
3. Rebooted into windows 98 and then did a restart to MS-DOS
4. Booted slinky using loadlin:
loadlin vmlinuz initrd=rootfs.gz ramdisk_size=2048 root=/dev/ram rw
5. Copied slinky.config.example to slinky.config. Edited slinky.config,
choosing an image install with disk2 files coming from floppy.
6. Switched to a second terminal, where I created a directory /mnt/win and
mounted /dev/hda1 on it:
mount -t vfat /dev/hda1 /mnt/win
7. Loop-mounted the Lorma Linux iso:
mount -t iso9660 /mnt/win/lorma/lorma_v.3.iso /mnt/cdrom -o loop
8. Loop-mounted disk2.img:
mount -t ext2 /mnt/win/rule/slinky/3.95/disk2.img /mnt/floppy -o loop
9. Switched back to terminal 1 and run install.sh.
10. Got error messages:
Trying to mount /dev//dev/hda1
mount: Mounting /dev//dev/hda1 failed: No such file or directory
Failed to mount /dev//dev/hda1
mount: ioctl: LOOP_SET_FD: Bad file descriptor
mount: could not setup loop device
Failed to mount /dev//dev/hda1//lorma/lorma_v.3.iso
umount: /mnt/loop: Invalid argument
Located the RedHat/RPMS/ directory! success.
unmounting /dev//dev/hda1//lorma/lorma_v.3.iso
11. The installation proceeds, but then stops and says the image can't be
found and to switch to another terminal and manually mount it (sorry, I
failed to write the exact message). I switch to terminal 2. mount shows that
the hda1 partition is no longer mounted, and in fact the directory I created,
/mnt/win is no longer there. Again I create /mnt/win, mount hda1 on that and
loop-mount the lorma iso on /mnt/cdrom
12. I switch back to terminal 1 and hit return. The install proceeds...but
then I ge another bunch of error messages:
/root/base-install.sh: cat: No such file or directory
repeated with grep, etc. in place of cat
13. The install appears to hang at this point. I reboot with my regular
linux kernel but pointing to a root file system on hda7. I get a panic with
init not found.
14. I reboot, then mount hda7 and have a look. A bunch of directories with
some files has been created (but obviously not a complete install).
15. I found a couple of install.log's which I've attached.
Thanks for putting up with this long post.
Ray
-------------- next part --------------
Failed to mount /dev//dev/hda1//lorma/lorma_v.3.iso.
-------------- next part --------------
Configuration file exists:
#!/bin/sh
## Copyright (C) 2002 Michael Fratoni
## <Devon at tuxfan.homeip.net>
## Copyright (C) The "RULE" project
## http://www.freesoftware.fsf.org/rule
## This program is free software; you can redistribute it and/or
## modify it under the terms of the GNU General Public License
## as published by the Free Software Foundation; either version 2
## of the License, or (at your option) any later version.
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
## The GNU General Public License is also available online:
## http://www.gnu.org/licenses/gpl.html
#############################################################################
## This is the configuration file for the slinky installer.
## Variables which are defined in this file will be used during
## installation. Variables not defined here will be prompted for
## by the installer.
## Variables
## Uncomment and edit these variables for your specific needs.
## Please, uncomment only one in each section!
## Lines containing a single # are the valid options.
#############################################################################
## What version of Red Hat Linux would you like to install?
# version="7.2"
# version="7.3"
# version="8.0"
version="9"
## ******** Next define ******** ##
## Where can the installer find it's second stage scripts?
## If installing via floppies, then
stage2="floppy"
## If you have burned the slinky.iso to a cdrom:
# stage2="cdrom"
## ******** Next define ******** ##
## Installation method. Where will the installer find the rpm packages?
## FTP installs.*User must bring up network manually*
# method="ftp"
## HTTP installs *User must bring up network manually*
# method="http"
## NFS installs. *User must bring up network manually*
## All rpm packages must be in the same exported directory.
# method="nfs"
## image installs
## ISO files must be available on a local hardrive, and
## must be on a partition that will not be used in the install.
method="image"
## RPM installs
## RPM files must be available on a local hardrive, and
## must be on a partition that will not be used in the install.
# method="rpms"
## CDROM installs
## Install via local CDROM drive.
## This is the default!
# method="cdrom"
## ******** Next define ******** ##
## What type of filesystems shall we create?
## ext2 and ext3 are supported.
# fstype="ext3"
fstype="ext2"
## ******** Next define ******** ##
## What disk device shall we install on?
## Examples:
## /dev/hda for the first hard drive on the primary IDE controller.
## /dev/hdb for the second drive on the primary IDE controller.
## /dev/hdc for the first hard drive on the secondary IDE controller.
## /dev/hdd for the first hard drive on the secondary IDE controller.
## /dev/sda for the first SCSI drive, etc.
## Note /dev/ is prepended by the installer, do not add it here!
## SELECT ONLY ONE!
device="hda"
# device="hdb"
# device="hdc"
# device="hdd"
# device="sda"
# device="sdb"
# device="sdc"
# device="sdd"
## ******** Next define ******** ##
## Use additional devices for this installation? If you want
## to use another device, uncomment "use_additional_device="yes"", and
## select the device here.
## Do NOT select the same device selected above!
# use_additional_device="yes"
## Select the device if you uncommented the above line.
## SELECT ONLY ONE!
# device2="hda"
# device2="hdb"
# device2="hdc"
# device2="hdd"
# device2="sda"
# device2="sdb"
# device2="sdc"
# device2="sdd"
## ******** Next define ******** ##
## If you selected multiple drives above, which drive should the
## installer consider bootable? We need to know to install lilo
## later. You can choose NOT to install lilo later in the config file.
## Note /dev/ is prepended by the installer, do not add it here!
# lilo_dev="hda"
## ******** Next define ******** ##
## The installer can allow you to partition the above devices.
## Select a partition tool here, or set it to "none" to skip partitioning.
## Note that you must have at least one linux partition, and one swap partition.
# partition_tool="fdisk"
# partition_tool="cfdisk"
partition_tool="none"
## ******** Next define ******** ##
## Define which partition should be mounted as "/"
## This partition must either exist, or be created
## with a partitioning tool during install.
ROOT_PART="hda7"
# ROOT_PART="hda2"
# ROOT_PART="hdb1"
# ROOT_PART="hdb2"
## etc. Select one of the above, or edit one as required.
## ******** Next define ******** ##
## Shall we format the / partition? It is strongly suggested
## that you allow the root device to be formatted during
## installation. This is here only to allow the option of not
## formatting in certain situations. Uncomment this to slip
## formatting.
# SKIP_FORMAT_ROOT=1
## ******** Next define ******** ##
## FIXME
## Individual mount points must be entered during install.
## Deal with it! ;)
## ******** Next define ******** ##
## The following defines are for stage 2, and must be exported.
## locale support
## Configure languages to install here.
## A list of allowable values is:
## af:sq:ar:eu:be:bs:br:ca:zh:kw:hr:cs:da:nl:en:et:fo:fi:fr:gl:de:el:kl:he
## hi:hu:is:id:ga:it:ja:ko:lv:lt:mk:ms:mt:gv:mr:se:no:nn:oc:fa:pl:pt:ro:ru
## sr:sk:sl:es:sv:tl:ta:te:th:tr:uk:ur:uz:wa
## Default is to install all locales.
## Uncomment and edit the following to install only specific locales.
## This must be a colin (:) separated list.
export LANGS="en"
## List of predefined package subsets to install.
## Uncomment each subset you want to install.
## Uncomment the next line if you want to use any of the
## following predefined packages.
export use_package_set="yes"
## Then select individual packages below.
## Laptop support packages.
# export LAPTOP="1"
## Networking support packages.
export NETWORK="1"
## Dialup networking support packages.
# export DIALUP="1"
## DHCP client support packages.
# export DHCP="1"
## Various web tools and communication packages.
export WEBTOOLS="1"
## Openssh server packages
export OPENSSH="1"
## Sendmail server packages.
# export SENDMAIL="1"
#########################################
## Packages below are only for Red Hat 9!
#########################################
## TinyX packages (Xservers and fluxbox window manager)
# export TINYX="1"
## AbiWord packages (Word processor)
# export ABIWORD="1"
## Mozilla packages (Web Browser)
export MOZILLA="1"
## OpenOffice Packages (Office Suite)
export OPENOFFICE="1"
## Printing (cups) packages
export PRINTING="1"
## Date/time configuration packages
export DATECONFIG="1"
#################################
## End Red Hat 9 only limitation
#################################
#################################################
## Do not enable the following X related packages
## if you selected TinyX above.
#################################################
## Basic X server packages.
export XFREE86="1"
## Basic KDE desktop packages
# export KDE="1"
## Basic Gnome desktop packages.
# export GNOME="1"
## ******** Next define ******** ##
## Select a hostname for this machine.
## Only used if networking is installed.
export hostname="scooby"
## ******** Next define ******** ##
## If on a network, and you need to use a gateway, define it here.
export gateway="10.106.2.1"
End configuration file.
Fri Jun 27 17:03:35 UTC 2003 Slinky installer starting.
Command line used:
ramdisk_size=2048 root=/dev/ramdisk rw BOOT_IMAGE=vmlinuz
Processor info:
processor : 0 vendor_id : AuthenticAMD cpu family : 5 model : 8 model name : AMD-K6(tm) 3D processor
Memory info:
total: used: free: shared: buffers: cached: Mem: 122109952 4567040 117542912 0 180224 2768896 Swap: 0 0 0 MemTotal: 119248 kB MemFree: 114788 kB
User selected version 9.
User selected stage2 location: floppy.
User selected image install type.
Failed to mount /dev//dev/hda1.
Failed to mount /dev//dev/hda1//lorma/lorma_v.3.iso.
Filesystem type selected = ext2
file system options = -q -m 3
Available devices = hda
PART_DEV= /dev/hda
INSTALL_DEV= /dev/hda
partition_tool=
SWAP_DEV=/dev/hda6
Available partitions = hda3 hda5 hda7 hda8 hda9
############# FDISK OUTPUT ###############
Disk /dev/hda: 255 heads, 63 sectors, 2491 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1246 10008463+ c Win95 FAT32 (LBA)
/dev/hda2 1247 2151 7269412+ 5 Extended
/dev/hda3 2152 2491 2731050 83 Linux
/dev/hda5 1247 1248 16033+ 83 Linux
/dev/hda6 1249 1264 128488+ 82 Linux swap
/dev/hda7 1265 1386 979933+ 83 Linux
/dev/hda8 1387 1629 1951866 83 Linux
/dev/hda9 1630 1872 1951866 83 Linux
/dev/hda10 1873 2115 1951866 83 Linux
/dev/hda11 2116 2151 289138+ 83 Linux
########### END FDISK OUTPUT #############
ROOT_PART_SELECTED=hda7
ROOT_DEV=/dev/hda7
Mount points=
Error reported while installing glibc-common-2.3.2-11.9.i386.rpm.
Error reported while installing glibc-2.3.2-11.9.i386.rpm.
Error reported while installing bzip2-libs-1.0.2-8.i386.rpm.
Error reported while installing cracklib-2.7-21.i386.rpm.
Error reported while installing db4-4.0.14-20.i386.rpm.
Error reported while installing e2fsprogs-1.32-6.i386.rpm.
Error reported while installing gdbm-1.8.0-20.i386.rpm.
Error reported while installing glib-1.2.10-10.i386.rpm.
Error reported while installing glib2-2.2.1-1.i386.rpm.
Error reported while installing openssl-0.9.7a-2.i386.rpm.
Error reported while installing openldap-2.0.27-8.i386.rpm.
Error reported while installing cyrus-sasl-2.1.10-4.i386.rpm.
Error reported while installing libuser-0.51.7-1.i386.rpm.
Error reported while installing libacl-2.2.3-1.i386.rpm.
Error reported while installing libattr-2.2.0-1.i386.rpm.
Error reported while installing libgcc-3.2.2-5.i386.rpm.
Error reported while installing parted-1.6.3-11.i386.rpm.
Error reported while installing pcre-3.9-10.i386.rpm.
Error reported while installing popt-1.8-0.69.i386.rpm.
Error reported while installing slang-1.4.5-16.i386.rpm.
Error reported while installing newt-0.51.4-1.i386.rpm.
Error reported while installing libtermcap-2.0.8-35.i386.rpm.
Error reported while installing bash-2.05b-20.i386.rpm.
Error reported while installing libstdc++-3.2.2-5.i386.rpm.
Error reported while installing ncurses-5.3-4.i386.rpm.
Error reported while installing zlib-1.1.4-8.i386.rpm.
Error reported while installing info-4.3-5.i386.rpm.
error: open of /mnt/cdrom/RedHat/RPMS/kernel-BOOT-2.4.20-8.i386.rpm failed: No such file or directory
-------------- next part --------------
_______________________________________________
Rule Project HOME PAGE: http://www.rule-project.org/en/
Rule Development Site: http://savannah.gnu.org/projects/rule/
Rule-list at nongnu.org
http://mail.nongnu.org/mailman/listinfo/rule-list
More information about the Rule-list
mailing list