This is a discussion on install slack 10.2 from Hard drive within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I'm trying to install slack 10.2 on an old system which has no cdrom drive. I managed to copy ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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? |
| |||
| 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 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 |
| |||
| heavytull wrote: > 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 |
| |||
| Milan Babuskov wrote: > 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 > 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 > 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. > > Enjoy. yes > > -- > Milan Babuskov > http://njam.sourceforge.net > http://swoes.blogspot.com |
| |||
| 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. -- Milan Babuskov http://njam.sourceforge.net http://swoes.blogspot.com |
| ||||
| Milan Babuskov wrote: > 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 |