niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » Linux » Distributions » Slackware
install slack 10.2 from Hard drive
Post new topic   Reply to topic Page 1 of 1 [6 Posts] View previous topic :: View next topic
Author Message
heavytull
*nix forums addict


Joined: 05 Apr 2006
Posts: 62

PostPosted: Tue Jul 18, 2006 11:43 pm    Post subject: install slack 10.2 from Hard drive Reply with quote

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

PostPosted: Wed Jul 19, 2006 10:11 am    Post subject: Re: install slack 10.2 from Hard drive Reply with quote

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

PostPosted: Wed Jul 19, 2006 2:46 pm    Post subject: Re: install slack 10.2 from Hard drive Reply with quote

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

PostPosted: Thu Jul 20, 2006 7:32 pm    Post subject: Re: install slack 10.2 from Hard drive Reply with quote

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.
Quote:

Enjoy.

yes
Quote:

--
Milan Babuskov
http://njam.sourceforge.net
http://swoes.blogspot.com
Back to top
Milan Babuskov
*nix forums addict


Joined: 23 Feb 2005
Posts: 59

PostPosted: Fri Jul 21, 2006 9:07 am    Post subject: Re: install slack 10.2 from Hard drive Reply with quote

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

PostPosted: Fri Jul 21, 2006 12:01 pm    Post subject: Re: install slack 10.2 from Hard drive Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [6 Posts] View previous topic :: View next topic
The time now is Sun Nov 23, 2008 2:47 pm | All times are GMT
navigation Forum index » *nix » Linux » Distributions » Slackware
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Install suse from USB without BIOS support vjy04 Suse 0 Tue Jun 24, 2008 8:57 am
No new posts Install suse from USB without BIOS support vjy04 Suse 0 Tue Jun 24, 2008 8:56 am
No new posts Install suse from USB without BIOS support vjy04 Suse 0 Tue Jun 24, 2008 8:56 am
No new posts Install suse from USB without BIOS support vjy04 Suse 0 Tue Jun 24, 2008 8:55 am
No new posts Need help getting Sony DAT tape drive to work on Irix 6.5 trebor SGI/IRIX 1 Sun Apr 13, 2008 3:19 am

Nationwide Building Society | Mortgages | Loans | skincare-istore.com | MPAA
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1972s ][ Queries: 16 (0.1063s) ][ GZIP on - Debug on ]