From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ivan Baldo Subject: Re: Why dosemu can not access internal harddisks while running from latest GRML in live CD mode? Date: Sun, 16 Oct 2011 23:57:13 -0200 Message-ID: <4E9B8B79.8090606@adinet.com.uy> References: <4E96F923.4030805@aristotle.net> <4E974A5E.5080605@deep.cz> <4E976B6B.6020304@sat.dundee.ac.uk> <4E9AB230.2070206@deep.cz> <4E9B3EA4.2010707@sat.dundee.ac.uk> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <4E9B3EA4.2010707@sat.dundee.ac.uk> Sender: linux-msdos-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="iso-8859-1"; format="flowed" To: Paul Crawford Cc: "Mgr. Janusz Chmiel" , ronin@aristotle.net, linux-msdos@vger.kernel.org Hello. The problem with virtualization is that screen readers can't read=20 their screens (I guess). Using DOSEmu in terminal mode allows screen readers to read the=20 screen of the program that it is running and there are recovery program= s=20 for DOS it seems. So, if no virtual machine system allows to use a screen reader the= n=20 it is not useful for Janusz. Does anybody know if there is a virtual machine emulator that has=20 support for screen reading (support for visually impaired people) and=20 raw access to a hard disk? Janusz, isn't there any useful recovery program for Linux that you= =20 can use? Here is a list of programs from my Debian Testing distribution: - chntpw: NT SAM password recovery utility. - gddrescue: the GNU data recovery tool. - gzrt: gzip recovery toolkit. - safecopy: Copy utility ignoring errors. - scalpel: A Frugal, High Performance File Carver. - scrounge-ntfs: Data recovery program for NTFS filesystems. - scrub: writes patterns on magnetic media to thwart data reco= very. - testdisk: Partition scanner and disk recovery tool. - convmv: filename encoding conversion tool. - dosfstools: utilities for making and checking MS-DOS FAT=20 filesystems. - e2undel: Undelete utility for the ext2 file system. - ext3grep: Tool to help recover deleted files on ext3 filesys= tems. - gcp: Advanced command line file copy system. - ntfs-3g: read/write NTFS driver for FUSE. - recover: Undelete files on ext2 partitions. - recoverjpeg: tool to recover JPEG images from a filesystem i= mage. - smartmontools: is to control the S.M.A.R.T. capability of=20 hard disks. All those programs have terminal interfaces. You can read more about them searching on Google or in=20 http://packages.debian.org/ . Hope this helps!!! Bye. El 16/10/11 18:29, Paul Crawford escribi=F3: > Dear Janusz, >> I do not know, how to simulate The boot from The bootable CD or DVD = from >> running Dosemu, i did not understand The command sintax for this=20 >> operation. >> Next isue is, if i will be able to emulate booting from boot media >> successfully, if i will not lost The opportunity to use Speakup scre= en > > I don't think dosemu is the sort of tool that is best suited to=20 > testing or analysing the boot process of a CD/DVD for operating syste= m=20 > recovery. > > dosemu does not emulate every feature of a DOS PC, only the ones=20 > needed so far to run certain DOS programs. As far as I understand it,= =20 > dosemu currently only emulates DMA as used in the sound cards, and no= t=20 > as a full PC behaves. If you were to enable direct hard disk access=20 > and try an operating system it would probably fail as it attempted to= =20 > switch from PIO mode to DMA mode for disk I/O. > > I think you should be looking at a 'virtual machine' such as VMware=20 > (which I have used to run DOS 6.22 and Windows 95 for testing), or on= e=20 > of the others such as Zen, VirtualBox, etc: > > https://help.ubuntu.com/community/VirtualMachines > > I don't know how easy it would be to make a 'live CD' with one packag= e=20 > installed and configured, so I would suggest installing a Linux=20 > distribution on a suitable PC, maybe with a new large HDD (couple of=20 > times the HDD you want to emulate) and plenty of memory (say 512MB=20 > plus the expected memory for the tested operating system), then=20 > installing something like VMware player (which is free, but not open=20 > source) and then trying to create a new blank machine and boot your=20 > CD/DVD and see if it will restore the 'virtual disk' as you want it t= o. > > The advantage of such an approach is you can simply delete the virtua= l=20 > drive and create a new on in minutes, and you can (with some versions= )=20 > create snapshots of the system before installing patches, new=20 > software, etc, or just to mount them to see what the HDD looked like=20 > at that point in time. > > dosemu is really only for running DOS software that is reasonably wel= l=20 > behaved. If you do use it for direct hardware access (which we do)=20 > then it really works best/most reliably for non-operating system=20 > components such as special peripherals. > > Regards, > Paul --=20 Ivan Baldo - ibaldo@adinet.com.uy - http://ibaldo.codigolibre.net/ From Montevideo, Uruguay, at the south of South America. =46reelance programmer and GNU/Linux system administrator, hire me! Alternatives: ibaldo@codigolibre.net - http://go.to/ibaldo -- To unsubscribe from this list: send the line "unsubscribe linux-msdos" = in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html