LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-01-2006, 06:47 PM   #1
madniceness
LQ Newbie
 
Registered: Sep 2006
Posts: 7

Rep: Reputation: 0
problems installing with loopback


problems installing with loopback

after trying with vmware, i see installing slackware was going to be too much to do that way, so i tried it with loop back. i typed in all the following commands:

mkdir -p /dos
mount -t vfat /dev/hda1 /dos
cd /dos
mknod /dev/loop0 b 7 0
mkdir /INSTALL
mount -o loop /dos/install.iso /INSTALL (my iso is named install1.iso)

but once i get to the last line, it says install1.iso not found. the file is in my C:, so i dont understand whats going on.
 
Old 09-01-2006, 08:26 PM   #2
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
I don't quite understand what you're trying to do. What are you running these commands in, do you have another Linux system installed, and what partition did you want to install to? You don't need loop device to do this if you allready have a Linux system installed. Just mount the iso and use the utilities on the CD to install the packages. (pkgtools if you are new to Slackware). You might need to mount the initrd on the CD, to get to these tools, but I could be wrong. It's been while since I picked apart a Slackware CD.

regards,
...drkstr
 
Old 09-01-2006, 09:14 PM   #3
madniceness
LQ Newbie
 
Registered: Sep 2006
Posts: 7

Original Poster
Rep: Reputation: 0
after i run the boot disk and the two root disks, i put those commands. im doing this from the FAQ on the slackware website (question 2). and no i dont have a linux distro already installed.

Last edited by madniceness; 09-01-2006 at 09:19 PM.
 
Old 09-01-2006, 11:19 PM   #4
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 544Reputation: 544Reputation: 544Reputation: 544Reputation: 544Reputation: 544
Quote:
mkdir -p /dos
mount -t vfat /dev/hda1 /dos
cd /dos
mknod /dev/loop0 b 7 0
mkdir /INSTALL
mount -o loop /dos/install.iso /INSTALL (my iso is named install1.iso)
In your mount command you did not specify -t iso9660. Additionally, if the ISO image is named install1.iso then the correct syntax would be: mount -t iso9660 loop,ro /dos/install1.iso /INSTALL.

Quote:
and no i dont have a linux distro already installed.
Have you resized your Windows partition(s) so you will have room to install a distro?
 
Old 09-02-2006, 12:03 AM   #5
madniceness
LQ Newbie
 
Registered: Sep 2006
Posts: 7

Original Poster
Rep: Reputation: 0
oh, yes i did.
 
Old 09-02-2006, 12:26 AM   #6
madniceness
LQ Newbie
 
Registered: Sep 2006
Posts: 7

Original Poster
Rep: Reputation: 0
well that mount command did work, however, im not sure what to put for source media. i chose premounted directory, typed /INSTALL (wasnt sure) attempted to install, but nothing installed.
 
Old 09-02-2006, 12:29 AM   #7
debiant
Member
 
Registered: Jul 2006
Distribution: Source Mage 0.9.6
Posts: 196

Rep: Reputation: 30
INSTALL should be the direcory in which the installation files are located. *.iso file contains a directory structure. Once you are in the Install directory (cd INSTALL) dir or ls and see if there is some kind of setup.bin install.sh something to that effect then do

./<install file>

Last edited by debiant; 09-02-2006 at 12:32 AM.
 
Old 09-02-2006, 12:49 AM   #8
madniceness
LQ Newbie
 
Registered: Sep 2006
Posts: 7

Original Poster
Rep: Reputation: 0
well it seems i have a problem. this command:

mount -t vfat /dev/hda1 /dos

is not the partition where my iso is located, that partition is for the windows system recovery. however, when i put hda2 instead, it says something to the effects of "cannot find signature" and something of "invald format"
 
Old 09-02-2006, 12:55 AM   #9
debiant
Member
 
Registered: Jul 2006
Distribution: Source Mage 0.9.6
Posts: 196

Rep: Reputation: 30
The INSTALL directory should be located in the root directory of the filesystem you are issuing the command from. After you issued the mount you should just type cd /INSTALL from whereever you issued the mount -t iso9660 loop,ro /dos/install1.iso /INSTALL command
 
Old 09-02-2006, 01:14 AM   #10
madniceness
LQ Newbie
 
Registered: Sep 2006
Posts: 7

Original Poster
Rep: Reputation: 0
the problem is that im mounting a partition that doesnt have the iso (hda1). but the one that does (hda2) cant be mounted because it isnt vfat.
 
Old 09-02-2006, 08:27 AM   #11
debiant
Member
 
Registered: Jul 2006
Distribution: Source Mage 0.9.6
Posts: 196

Rep: Reputation: 30
Quote:
Originally Posted by Woodsman
In your mount command you did not specify -t iso9660. Additionally, if the ISO image is named install1.iso then the correct syntax would be: mount -t iso9660 loop,ro /dos/install1.iso /INSTALL.


Have you resized your Windows partition(s) so you will have room to install a distro?

Ok how about mount -t iso9660 loop,ro /dos/install.iso /dos/INSTALL
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
loopback ip swodniw Programming 11 01-16-2006 01:27 PM
loopback problems kevinm2 Linux - Networking 10 06-17-2005 11:09 AM
Loopback won't come up Paul_assheton Linux - Networking 8 05-20-2003 08:31 AM
loopback problems Ismark Linux - Newbie 1 01-04-2002 06:05 PM
Loopback problems Ismark Linux - Networking 4 01-03-2002 09:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration