ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Vitaly Lipatov <LAV@VL3143.spb.edu>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] Loopback filesystem, VMVARE & MS-DOS
Date: Tue Jan 15 12:39:37 2002
Message-ID: <20020115093226.646CBEF04@VL3143.spb.edu> (raw)
In-Reply-To: <5810340058.20020115113534@on-line.jar.ru>

On 15 January 2002 04:35, A. Demenev wrote:
>
> dd if=/dev/urandom of=/etc/cryptfile bs=1M count=40
> losetup -e serpent /dev/loop0 /etc/cryptfile
> mkfs -t msdos /dev/loop0
>

Здесь вы монтировали /dev/loop0 и всё было нормально?
На /dev/loop0 у вас хранится РАЗДЕЛ диска

> Запускаю VMWARE, устанавливаю в качестве primary master /dev/loop0
> Смотрю доступные разделы - вижу MBR.
А вы его указали в качестве диска ЦЕЛИКОМ. А на разделе нет MBR

>
> Запускаю виртуальную машину, гружу DOS с дискеты.
> FDISK показывает размер диска 8 ГБ хотя вроде бы должно быть 40 МБ
> Самое интересное, что в системе установлен HDD 6 ГБ
>
> Ладно, создаю Primary DOS partition размером 40 МБ.
> Выключаю виртуальную машину, запускаю снова. Говорит, что информация
> в конфигурационном файле не соответствует таблице разделов диска.
> Меняю конфигурацию (теперь видна MBR & Primary DOS partition).
> Снова загружаю DOS, форматирую диск C, создаю на нем несколько файлов.
> Снова выключаю виртуальную машину.
>
> mount -t msdos /dev/loop0 /mnt/crypt
>
> Захожу в /mnt/crypt, вижу кучу мусора.
Так и должно быть.
Но вновь запустив ДОС, вы же увидите вновь свои файлы?

-- 
Lav
Виталий Липатов
ФГУП "ЦНИИ Судовой Электротехники и Технологии", Санкт-Петербург
GNU! Linux! LaTeX! LyX!



  parent reply	other threads:[~2002-01-15 12:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-15  4:38 A. Demenev
2002-01-15  8:29 ` "Баталов Григорий"
2002-01-15  8:57   ` Re[2]: " A. Demenev
2002-01-15  9:03     ` Re[3]: " "Баталов Григорий"
2002-01-15  9:18       ` Re[4]: " A. Demenev
2002-01-15  9:45         ` Re[5]: " "Баталов Григорий"
2002-01-15 13:13           ` Re[6]: " A. Demenev
2002-01-15 14:18             ` Re[7]: " "Баталов Григорий"
2002-01-15 12:39 ` Vitaly Lipatov [this message]
2002-01-15 13:13   ` Re[2]: " A. Demenev
2002-01-16  0:28     ` Vitaly Lipatov
2002-01-16  0:28     ` Vitaly Lipatov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020115093226.646CBEF04@VL3143.spb.edu \
    --to=lav@vl3143.spb.edu \
    --cc=mandrake-russian@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git