[Rule-list] install from slinky with no cd
hairylarry at deltaboogie.com
hairylarry at deltaboogie.com
Fri Mar 15 04:51:06 EET 2002
Hi,
I just installed slinky v0.1.2 without using a cd. Instead I used
disk1.iso on a hard drive.
On a system with a CD I attached an ide drive at hdb. I formatted it
and mounted it to /mnt/hdb then i did this.
dd if=/dev/cdrom of=/mnt/hdb/disk1.iso
This put the disk 1 iso on the hard drive.
Then on the system where I wanted to install to hda I put this same
drive on at hdb. I booted slinky and followed all instructions until I
came to the mount CD prompt. Then I hit Ctrl-C and did this stuff.
I added this line to fstab
/dev/hdb1 /mnt/hdb ext2 defaults 2 1
Then I issued these commands.
mkdir /mnt/hdb
mkdir /mnt/disk1
mount /mnt/hdb
mknod /dev/loop0 b 7 0
mount -o loop /mnt/hdb/disk1.iso /mnt/disk1
this gave me on /mnt/hdb - disk1.iso
and on /mnt/disk1 - the redhat disk1 CD files
I edited base_install.sh taking out everything from the second line to
the rpm path. This was a mistake. Of course I lost my shell variables
when I broke out.
But the install went fine and all the rpms got installed down to
anacron. Then I got thrown out to a prompt. I said what the hey and I
tried it.
The boot was not clean. I had to hit Ctrl-C once right before it
detected new hardware. But it did boot to a login and I was able to
log on as root and run nano, grep, etc.
I'm going to do it again without such radical surgery to
base_install.sh. Maybe I can get a cleaner install that way.
The good news is that it worked. I did not need to use losetup. The
mount -o loop syntax is another way to use loop devices. I have not,
however, tested this syntax with a dos formatted hard drive.
If losetup can be included in the install /sbin it would be good
anyway. It allows you to mount floppy images as well as cd images
which could be handy in a rescue situation.
I ran vi no problem during the install. The termcap is set fine. After
the install is completed no termcap is set and vi reverts to ascii.
Thanks,
Hairy Larry
_______________________________________________
Rule-list mailing list
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