ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Olvin <olvin@rambler.ru>
To: ALT Linux Community <community@altlinux.org>
Subject: Re: [Comm] Вопрос по образам qemu
Date: Fri, 18 Nov 2005 12:38:06 +0200
Message-ID: <437DAF0E.4050606@rambler.ru> (raw)
In-Reply-To: <20051118172738.7f299361.alexei@taf.ru>

Alexei Takaseev wrote:
> Что-то меня простая задача поставила в тупик - как можно подмонтировать
> образы, созданные qemu для беспрепяственного лазания по его содержимого?
> 
> Просто mount image ./dir -o loop не прокатывает, file на образ ругается
> как image: x86 boot sector, fdisk, натравленый на этот файл, говорит,
> что там есть один раздел с id:82 (а там и правда по условию должна быть
> ext2), но монтироваться никак не хочет.

Так и должно быть :)
Вы пытаетесь подмонтировать не раздел с файловой системой, а как бы 
винчестер целиком. А он содержит файловую систему не с самого начала, а 
лишь начиная с некоторого сектора.

Возможно, без losetup не обойтись, т.к. только у неё есть опция -o 
(offset - смещение), у mount такого, AFAIR, нет...



      parent reply	other threads:[~2005-11-18 10:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-18  9:27 Alexei Takaseev
2005-11-18 10:17 ` Yuri N. Glibovetz
2005-11-18 10:38 ` Olvin [this message]

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=437DAF0E.4050606@rambler.ru \
    --to=olvin@rambler.ru \
    --cc=community@altlinux.org \
    --cc=community@lists.altlinux.org \
    /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