LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 04-19-2010, 04:31 PM   #16
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713

It seems much more suitable to use the command line rather than Nautilus.
 
Old 04-19-2010, 04:37 PM   #17
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 141Reputation: 141
I was just about to post that solution. I tried it and it worked for me though.

But rather than use a gui file manager, I just copied DISK2 from the command line.
Code:
sudo cp DISK2.TGZ /media/image
sudo umount /media/image
I also created a virtual machine in VirtualBox and successfully booted it. It asked for you to insert Disk 2 during the boot process. You need to have added your new floppy.img in the virtual media manager. You can then select Devices->Floppy Devices->floppy.img and hit Enter to continue the boot.
 
Old 04-19-2010, 05:17 PM   #18
yeehi
Member
 
Registered: May 2004
Distribution: Debian Wheezy, Parabola, Trisquel
Posts: 78

Original Poster
Rep: Reputation: 15
Ha! That is great news that you got it going!

I must be nearly there, too. Unfortunately I am not quite able to get the second floppy to work properly.

I can see DISK2.TGZ in:

/media/image/DISK2.TGZ

When I use virtual box virtual media manager to navigate to the location of a floppy image, I canīt get it to see a floppy image. It just has a pink screen and there appear to be no floppy images available, except for the DISK1.IMG.

How can I get that floppy image?

Sorry this is so difficult for me!
 
Old 04-19-2010, 05:48 PM   #19
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 141Reputation: 141
Pink screen? No idea what that could be.

This is what I did
Code:
reed@reed-laptop ~/Desktop % dd bs=512 count=2880 if=/dev/zero of=DISK2.img
2880+0 records in
2880+0 records out
1474560 bytes (1.5 MB) copied, 0.0175866 s, 83.8 MB/s
reed@reed-laptop ~/Desktop % sudo mkdir /mnt/floppy
reed@reed-laptop ~/Desktop % mkfs.msdos DISK2.img
mkfs.msdos 3.0.9 (31 Jan 2010)
reed@reed-laptop ~/Desktop % sudo mount -o loop DISK2.img /mnt/floppy
reed@reed-laptop ~/Desktop % sudo cp DISK2.TGZ /mnt/floppy
reed@reed-laptop ~/Desktop % sudo umount /mnt/floppy
Then created the Virtual Box machine, selecting Linux 2.2 as type.

Under the Media Manager, you're selecting the Floppy Image tab, right?

Last edited by reed9; 04-19-2010 at 05:49 PM.
 
Old 04-19-2010, 06:34 PM   #20
yeehi
Member
 
Registered: May 2004
Distribution: Debian Wheezy, Parabola, Trisquel
Posts: 78

Original Poster
Rep: Reputation: 15
I tried following your instructions above.
They should have got it working for me, but I donīt know why, they didnīt. I canīt understand why.
One good thing is that a DISK2 did appear in my folder and this was recognized as a floppy image in the virtual device manager.
When i reached the insert disc 2 and hit enter moment, I got this:

cannot find valid MSDOS file system on dev 02:00
mount: Mounting /dev/fd0 on /fd failed
 
Old 04-20-2010, 07:54 AM   #21
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 141Reputation: 141
I'm at a loss. The error would indicate the filesystem wasn't created correctly.
 
Old 04-20-2010, 09:37 AM   #22
yeehi
Member
 
Registered: May 2004
Distribution: Debian Wheezy, Parabola, Trisquel
Posts: 78

Original Poster
Rep: Reputation: 15
Question

Thanks for helping me with this reed9. Really I should be able to get this thing running by now, but I just canīt. I have tried deleting everything and starting over again from the beginning but that didnīt work either.

Maybe this is the problem:

Some things I havenīt been able to delete, and I am using improperly prepared instances of files. For example, in my directory tree, I can see a place named

1.5 MB Filesystem

That must be the floppy disc or something that was created. I donīt know how to delete this. If I click on it, I get this message:

Unable to mount 1.5 MB Filesystem
Error mounting: mount: /dev/loop0: can't read superblock

Maybe that has something to do with the improper file system. If I could delete it and try what you pasted earlier, that would work. But I donīt know how to delete it.

Also, I have the following:

/media/image/DISK2.TGZ
/media/image2.gz (I created this trying my own ideas)

I would like to delete these 2 things, but I do not know how. I think if I could delete them, getting back to square one, I would then be able to get your procedure to work properly.

Thank you so much for having stayed with me on this problem! I really want to get this to work now!
 
Old 04-20-2010, 10:01 AM   #23
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 141Reputation: 141
Does this not remove the files?
Code:
sudo rm /media/image/DISK2.TGZ
sudo rm /media/image/image2.gz
If you have the floppy image you created still mounted on /media/image, that might be a reason it could not be read by VirtualBox. Does it not successfully unmount?
Code:
sudo umount /media/image
In any case, I wouldn't think those things should prevent you from creating a different image file and mount point to work with.
 
Old 04-20-2010, 11:30 AM   #24
yeehi
Member
 
Registered: May 2004
Distribution: Debian Wheezy, Parabola, Trisquel
Posts: 78

Original Poster
Rep: Reputation: 15
Oh thank you!

I used your instructions to delete the unwanted things. After doing so, I can still see a 1.5 MB Filesystem listed in my tree in media browser.

The following happened:

Quote:
sudo mkdir /mnt/floppy
mkdir: cannot create directory `/mnt/floppy': File exists
I checked the /mnt/floppy folder. It was there and it was empty. I proceeded anyway and completed the procedure you followed.

I then added 2 floppy images to the virtual box floppy media. I selected both these images from my /basiclinux/ folder in which they were created.

Perhaps the problem stems from the 1.5 MB Filesystem, which I seem to be unable to delete.

I completely understand if you donīt want to keep on helping with this - you have been very kind to have gone so far!

I received the same error message as before.
 
Old 04-20-2010, 11:53 AM   #25
itsbrad212
Member
 
Registered: Nov 2009
Location: Chicago
Distribution: Arch and OpenBSD
Posts: 104

Rep: Reputation: 19
Code:
Perhaps the problem stems from the 1.5 MB Filesystem, which I seem to be unable to delete.
Is there an error or anything when you try to remove it?
 
Old 04-20-2010, 12:01 PM   #26
yeehi
Member
 
Registered: May 2004
Distribution: Debian Wheezy, Parabola, Trisquel
Posts: 78

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by itsbrad212 View Post
Code:
Perhaps the problem stems from the 1.5 MB Filesystem, which I seem to be unable to delete.
Is there an error or anything when you try to remove it?
There is an error. When I click on it, I get this:

Quote:
Unable to mount 1.5 MB Filesystem Error mounting: mount: /dev/loop0: can't read superblock
If I right click and try to mount, it says it is unable to mount file system.

If I highlight it and hit delete, nothing happens.
 
Old 02-28-2012, 10:11 AM   #27
Afterglow59
LQ Newbie
 
Registered: Feb 2012
Posts: 1

Rep: Reputation: Disabled
Answer.

For those who had this problem and like me went out there for an answer, it's quite easy to do under Windows.

1. Open up 7-zip
2. Open Tools -> Options
3. Check tgz files
4. open up your tgz file and extract it somewhere
5. open up MagicISO (or something else that does the job, MagicISO is fine)
6. make your .img file with the extracted files from the .tgz
7. Enjoy
 
  


Reply

Tags
basic, convert, dos, floppy, img, linux, tgz


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
how to convert .img to .iso files Rory in Toronto Linux - Software 9 11-03-2013 08:54 AM
[SOLVED] openoffice.org RPMS won't convert to tgz vince4amy Slackware 3 09-16-2009 08:15 AM
How do you convert ISO to img to access RPM files MandrivaUser Linux - Software 1 10-18-2006 10:54 AM
convert .tar.gz to .tgz vivek_nz76 Slackware 6 01-06-2006 04:47 AM
convert tar.gz into .tgz lostnhell Slackware 5 09-05-2005 02:50 PM


All times are GMT -5. The time now is 06:44 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