Author Topic: Linux/Virutal Drive question  (Read 6972 times)

Steve

  • This 49%er supports Romney
  • Just a Jackass
  • *
  • Posts: 16120
  • Karma: +31/-410
  • Mr. Mom
Linux/Virutal Drive question
« on: September 21, 2008, 02:59:51 PM »
I have a windows game im attempting to setup in linux so i can play it. The instructions read:

1) disable UAC on Vista
2) extract .rar archive to NORMAL/SHORT PATH , somewhere like D:\Games
3) run setup.bat
4) Mount both .mds & .isz Mini-Images in DAEMON Tools v4.30.1
5) Use Y.A.S.U v1.3, to avoid blacklisting of DAEMON Tools.

#1 i can toss, #2 is a no brainer, #3 i assume gets ignored.

#4 it gets tricky. I have absolutely no idea how to mount these two images in linux or how i can use them. Can i run DT through Wine, and install then use wine to install the game?

In windows i never even looked at the directions but this is different
hey ethic if you and i were both courting lily allen..... oh wait, which one of us has a relationship that lasted more than the bus ride home?

Dumah

  • Jackass IV
  • Posts: 960
  • Karma: +21/-6
Re: Linux/Virutal Drive question
« Reply #1 on: September 21, 2008, 03:17:15 PM »
Never used DAEMON TOOLS so I don't really know what you are trying to achieve.

If you want to run a cd from the hard drive then that's easy - use a loopback. Rip the CD/DVD to an image, then mount it with the "loop" option.

Quote
cd
dd if=/dev/cdrom of=/my_image.iso
mkdir cd_mount
sudo mount -o loop Harry.iso cd_mount

Now the cd_mount folder has the contents of the image mapped to it - go to WINE config and add it as a CDROM drive


Steve

  • This 49%er supports Romney
  • Just a Jackass
  • *
  • Posts: 16120
  • Karma: +31/-410
  • Mr. Mom
Re: Linux/Virutal Drive question
« Reply #2 on: September 21, 2008, 03:44:37 PM »
its basically just that. DT emulates a cd from an iso. The tricky part is i have two images to mount for this one, an .mds and a .isz which are a deamon tools format. DT would mount them both and combine them as one, like an iso...
hey ethic if you and i were both courting lily allen..... oh wait, which one of us has a relationship that lasted more than the bus ride home?

Dumah

  • Jackass IV
  • Posts: 960
  • Karma: +21/-6
Re: Linux/Virutal Drive question
« Reply #3 on: September 21, 2008, 04:17:56 PM »
Cant you mount them both, drag the contents into a folder and make a new image of that?

Steve

  • This 49%er supports Romney
  • Just a Jackass
  • *
  • Posts: 16120
  • Karma: +31/-410
  • Mr. Mom
Re: Linux/Virutal Drive question
« Reply #4 on: September 21, 2008, 04:19:23 PM »
hmm....

so basically mount both, put contents of both images in one folder, and use the command line (i assume) to compile it to an iso, then use the command line to mount it?
hey ethic if you and i were both courting lily allen..... oh wait, which one of us has a relationship that lasted more than the bus ride home?

Dumah

  • Jackass IV
  • Posts: 960
  • Karma: +21/-6
Re: Linux/Virutal Drive question
« Reply #5 on: September 21, 2008, 04:24:56 PM »
Worth a try...

You can use "mkisofs" to create an image from a mounted filesystem.

Quote
mkisofs -o my_image.iso my_folder/

Steve

  • This 49%er supports Romney
  • Just a Jackass
  • *
  • Posts: 16120
  • Karma: +31/-410
  • Mr. Mom
Re: Linux/Virutal Drive question
« Reply #6 on: September 21, 2008, 04:31:30 PM »
sweet i'll give it a try tonight
hey ethic if you and i were both courting lily allen..... oh wait, which one of us has a relationship that lasted more than the bus ride home?

Steve

  • This 49%er supports Romney
  • Just a Jackass
  • *
  • Posts: 16120
  • Karma: +31/-410
  • Mr. Mom
Re: Linux/Virutal Drive question
« Reply #7 on: September 22, 2008, 04:12:54 PM »
playing with it now:

steve@CM-Laptop:~$ cd
steve@CM-Laptop:~$ dd if=/dev/cdrom of=/home/steve/Documents/Downloads/Pure/#readme#/PURE_Mini_Images/NS-PURE_ASSISTENT-poseden.isz
dd: opening `/dev/cdrom': No medium found
steve@CM-Laptop:~$
hey ethic if you and i were both courting lily allen..... oh wait, which one of us has a relationship that lasted more than the bus ride home?

Dumah

  • Jackass IV
  • Posts: 960
  • Karma: +21/-6
Re: Linux/Virutal Drive question
« Reply #8 on: September 22, 2008, 04:23:53 PM »
Not /dev/cdrom, try see if we can find it -

Quote
ls /dev/cd*

Worst comes to the worst, put a cd in and run

Quote
df -H

This shows everything that's mounted. Find your mount point for the cd in the last column, and the device will appear in the first column

Steve

  • This 49%er supports Romney
  • Just a Jackass
  • *
  • Posts: 16120
  • Karma: +31/-410
  • Mr. Mom
Re: Linux/Virutal Drive question
« Reply #9 on: September 22, 2008, 04:39:28 PM »
oh....duh me haha.

steve@CM-Laptop:~$ ls /dev/cd*
/dev/cdrom  /dev/cdrw
steve@CM-Laptop:~$

so i need to use /dev/cdrw correct?
hey ethic if you and i were both courting lily allen..... oh wait, which one of us has a relationship that lasted more than the bus ride home?

Dumah

  • Jackass IV
  • Posts: 960
  • Karma: +21/-6
Re: Linux/Virutal Drive question
« Reply #10 on: September 22, 2008, 06:02:59 PM »
cdrom usually works.

Steve

  • This 49%er supports Romney
  • Just a Jackass
  • *
  • Posts: 16120
  • Karma: +31/-410
  • Mr. Mom
Re: Linux/Virutal Drive question
« Reply #11 on: September 22, 2008, 06:28:41 PM »
neither /dev/cdrom or /dev/cdrw work. ima have to find a cd
hey ethic if you and i were both courting lily allen..... oh wait, which one of us has a relationship that lasted more than the bus ride home?

Dumah

  • Jackass IV
  • Posts: 960
  • Karma: +21/-6
Re: Linux/Virutal Drive question
« Reply #12 on: September 23, 2008, 03:07:17 AM »
/dev/cdrom0

?

Steve

  • This 49%er supports Romney
  • Just a Jackass
  • *
  • Posts: 16120
  • Karma: +31/-410
  • Mr. Mom
Re: Linux/Virutal Drive question
« Reply #13 on: September 23, 2008, 09:32:18 AM »
that one gave a new error....

steve@CM-Laptop:~$ dd if=/dev/cdrom0 of=/home/steve/Documents/Downloads/Pure/#readme#/PURE_Mini_Images/NS-PURE_ASSISTENT-poseden.isz
dd: opening `/dev/cdrom0': No such file or directory

wth lol. in computer i right clicked on the icon and in properties the location is listed as "computer:///" but thats normal right? because the icon is in computer...
hey ethic if you and i were both courting lily allen..... oh wait, which one of us has a relationship that lasted more than the bus ride home?

Dumah

  • Jackass IV
  • Posts: 960
  • Karma: +21/-6
Re: Linux/Virutal Drive question
« Reply #14 on: September 23, 2008, 09:51:08 AM »
So if you do it with if=/dev/cdrom what error do you get?