| Author |
Message |
heavytull *nix forums addict
Joined: 05 Apr 2006
Posts: 62
|
Posted: Tue Jul 18, 2006 11:43 pm Post subject:
install slack 10.2 from Hard drive
|
|
|
I'm trying to install slack 10.2 on an old system which has no cdrom
drive.
I managed to copy the content of cd1 and cd2 into a directory at the
root of the target partition.
for booting I used 3 disketttes (one for boot (bare.i) and the 2 others
are root diskettes (install.1 and install.2))
so I'm in a live linux;
and mount the hard drive on which I copied the content of the cds
I start by typing: setup
when I reach "SOURCE" in the setup menu I select "4. Install from a
pre-mounted directory"
and do what is required
but it fails
and I get back on the main setup menu
i think it failed because the source files were on the target
partition.
is it? |
|
| Back to top |
|
 |
Milan Babuskov *nix forums addict
Joined: 23 Feb 2005
Posts: 59
|
Posted: Wed Jul 19, 2006 10:11 am Post subject:
Re: install slack 10.2 from Hard drive
|
|
|
heavytull wrote:
| Quote: | i think it failed because the source files were on the target
partition.
is it?
|
I did it, but differently. I copied the .iso files to a separate
partition, mounted that on /install, created symlink and installed as if
it was from CD. Here's how:
Let's assume partition with .iso files is /dev/hda3:
mkdir /install
mount /dev/hda3 /install
Make fake entry in /dev:
ln -s /install/slack1.iso /dev/mycd
Edit the installer to use -o loop. Open the file:
/usr/lib/setup/INSCD
Find the part where it says:
while [ 0 ]; do # time to mount the CD/DVD device:
mount -o ro -t iso9600 $DRIVE_FOUND /var/log/mount 1> $RDIR 2> $RDIR
Change "-o ro" with "-o ro,loop"
Run "setup", select CDROM as installation media, type the path manually
"/dev/mycd". When installer asks for disc2, just open the other console
(Alt+F2) and mount it:
mount /dev/mycd -o ro,loop /var/log/mount/
Enjoy.
--
Milan Babuskov
http://njam.sourceforge.net
http://swoes.blogspot.com |
|
| Back to top |
|
 |
Jeffrey Froman *nix forums addict
Joined: 21 Feb 2005
Posts: 57
|
Posted: Wed Jul 19, 2006 2:46 pm Post subject:
Re: install slack 10.2 from Hard drive
|
|
|
heavytull wrote:
| Quote: | i think it failed because the source files were on the target
partition.
is it?
|
Yes most likely this is the case. Place the files on a NON target partition,
and mount it somewhere OTHER than /mnt, and it should work better.
Jeffrey |
|
| Back to top |
|
 |
heavytull *nix forums addict
Joined: 05 Apr 2006
Posts: 62
|
Posted: Thu Jul 20, 2006 7:32 pm Post subject:
Re: install slack 10.2 from Hard drive
|
|
|
Milan Babuskov wrote:
| Quote: | heavytull wrote:
i think it failed because the source files were on the target
partition.
is it?
I did it, but differently. I copied the .iso files to a separate
partition, mounted that on /install, created symlink and installed as if
it was from CD. Here's how:
Let's assume partition with .iso files is /dev/hda3:
mkdir /install
mount /dev/hda3 /install
ok
Make fake entry in /dev:
ln -s /install/slack1.iso /dev/mycd
why in /dev/????
Edit the installer to use -o loop. Open the file:
/usr/lib/setup/INSCD
Find the part where it says:
while [ 0 ]; do # time to mount the CD/DVD device:
mount -o ro -t iso9600 $DRIVE_FOUND /var/log/mount 1> $RDIR 2> $RDIR
Change "-o ro" with "-o ro,loop"
thanks for this info |
| Quote: | Run "setup", select CDROM as installation media, type the path manually
"/dev/mycd". When installer asks for disc2, just open the other console
(Alt+F2) and mount it:
not so simple! |
actually I managed to get the two cd images in /hdd1 (by mkdir and
mouting..).
the I ln -s img1 cd_img
when the setup pgrm asks for disc 2 I ln -s img2 cd_img
| Quote: | mount /dev/mycd -o ro,loop /var/log/mount/
so the setup pgrm doesn't mount itself the second disc!? |
I tried without mounting but it didn't work
so I retried after having mounted the disc. it went on fine.
yes
|
|
| Back to top |
|
 |
Milan Babuskov *nix forums addict
Joined: 23 Feb 2005
Posts: 59
|
Posted: Fri Jul 21, 2006 9:07 am Post subject:
Re: install slack 10.2 from Hard drive
|
|
|
heavytull wrote:
| Quote: | Make fake entry in /dev:
ln -s /install/slack1.iso /dev/mycd
why in /dev/????
|
I can't remember (I did it about a year ago, so I just copy/pasted from
my notes I made back then).
| Quote: | mount /dev/mycd -o ro,loop /var/log/mount/
so the setup pgrm doesn't mount itself the second disc!?
|
I thought it would (reading the script seemed that way) but it didn't.
Perhaps the "eject" failed since it was mounted via loop and it had
problems with that.
--
Milan Babuskov
http://njam.sourceforge.net
http://swoes.blogspot.com |
|
| Back to top |
|
 |
heavytull *nix forums addict
Joined: 05 Apr 2006
Posts: 62
|
Posted: Fri Jul 21, 2006 12:01 pm Post subject:
Re: install slack 10.2 from Hard drive
|
|
|
Milan Babuskov wrote:
| Quote: | heavytull wrote:
Make fake entry in /dev:
ln -s /install/slack1.iso /dev/mycd
why in /dev/????
I can't remember (I did it about a year ago, so I just copy/pasted from
my notes I made back then).
mount /dev/mycd -o ro,loop /var/log/mount/
so the setup pgrm doesn't mount itself the second disc!?
I thought it would (reading the script seemed that way) but it didn't.
Perhaps the "eject" failed since it was mounted via loop and it had
problems with that.
fortunately we could go head on setup
--
Milan Babuskov
http://njam.sourceforge.net
http://swoes.blogspot.com |
|
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|