LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 06-03-2005, 05:23 AM   #1
hassan2
LQ Newbie
 
Registered: Oct 2004
Location: London, England
Posts: 23

Rep: Reputation: 15
mount iso image


mount iso image
I would like to mount an iso CD image on my Suse linux (SLES 9), the image has been copied to my suse linux machine.

am able to mount the iso image manually by

mount -oloop /iso/SLES-9-i386-CD1.iso /free

but I would like to put the above entry in /etc/fstab so that when the machine is rebooted, the image will be mounted automatically.

How can i mount the iso image automatically with the option mount -oloop in /etc/fstab the CD image has been copied locally.

Can you help? please

Thanks
 
Old 06-03-2005, 05:33 AM   #2
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
personally, in a case like this i would just add the known-good command to my /etc/rc.d/rc.local file instead of using /etc/fstab... i think the suse equivalent of /etc/rc.d/rc.local is /etc/init.d/boot.local in case you're interested in doing it that way...

just my ...


Last edited by win32sux; 06-03-2005 at 06:17 AM.
 
Old 06-03-2005, 06:07 AM   #3
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
Add this to your fstab:

Code:
/iso/SLES-9-i386-CD1.iso    /free   iso9660   loop,auto   0 0
In theory this should work. Tell me if it did
 
Old 06-06-2005, 05:47 AM   #4
hassan2
LQ Newbie
 
Registered: Oct 2004
Location: London, England
Posts: 23

Original Poster
Rep: Reputation: 15
Thanks a lot, it works
 
  


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
mount a iso image rw? nvadekar Linux - Software 2 11-12-2005 02:01 AM
how to mount an iso image as CD? hkl8324 Linux - General 7 07-05-2005 06:43 AM
Mount iso image as user xavatar Debian 2 05-23-2005 04:27 AM
Cannot mount more than 8 iso image files as loop device marsim Debian 4 11-09-2004 04:05 AM
How to mount a shared ISO image...? kolt Linux - General 4 03-01-2004 07:39 PM


All times are GMT -5. The time now is 11:28 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration