All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew van de Werken <mvdw73@dingoblue.net.au>
To: parisc-linux@lists.parisc-linux.org
Subject: [parisc-linux] How to install with no network or CD-ROM
Date: Tue, 23 Oct 2001 08:43:51 +1000	[thread overview]
Message-ID: <01102308435104.21423@duey> (raw)

OK, having finally got the debian installer working on my HP-735/99 with
neither network nor CD-ROM, I thought I'd share my experience with others, so
no-one else has to duplicate the effort.

What you will need to do this is the following:

(1) An external (50-pin) SCSI disk to install onto;
(2) A separate, external SCSI disk to put the CD image onto;
(3) A third SCSI disk to put a temporary file system onto;
(4) A working unix/linux machine with a SCSI interface to drive the three
disks (the 'host' - I used an x86 system running Linux, so that's what I'll
use in all my examples);
(5) The Installation .iso image from parisc-linux.org (we'll call it
image.iso for ease of remembrance)

Note that (1) and (3) could be the same disk, as long as it is
pre-partitioned with enough space to put the entire CD-ROM onto (more on this
later). For the sake of the example, we'll call the disks sda, sdb and sdc on
both machines (host and target).

The first thing to do is to hook up all your scsi drives, and boot the host
machine.

'dd' the iso image directly onto disk 2.
# dd if=/<path>/image.iso of=/dev/sdb bs=512

Now make a filesystem on sdc, or use an already-existing one. Note that you
will need to dump the cd data into the top of the filesystem, ie, if it's
mounted on /mnt/hostfs, that's where you need to copy the cd data. We'll need
to set up the loopback device so we can see inside our iso image to get the
data off it.

For the sake of our example, we'll assume sdc already has a filesystem on it,
and sdc3 is blank of all data.

# mkdir /mnt/hostfs
# mkdir /mnt/iso
# losetup /dev/loop0 /<path>/image.iso
# mount -t iso9660 /dev/loop0 /mnt/iso
# mount /dev/sdc3 /mnt/hostfs
# cp -Rv /mnt/iso/* /mnt/hostfs
<waiting, waiting...>

OK, now that the copying is done, unmount the filesystems and close the
loopback device, and shutdown so you can unplug the devices.

# umount /mnt/iso
# umount /mnt/hostfs
# losetup -d /dev/loop0
# shutdown -h now

Remove the disks, and plug them all into your HP box. Also plug in a serial
console. At the boot prompt, choose to boot from p1 (b p1), which will be the
cd-rom image disk. This will start the debian installer.

The trick now is to firstly not mount the hostfs filesystem, and choose to
install from a hard disk partition. This should get you through the
 installer.

I hope this has helped at least someone else,

Cheers,
Matt van de Werken.

-------------------------------------------------------

                 reply	other threads:[~2001-10-22 22:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=01102308435104.21423@duey \
    --to=mvdw73@dingoblue.net.au \
    --cc=parisc-linux@lists.parisc-linux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.