ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Michael A. Kangin" <mak@rsmu.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] óÏÚÄÁÎÉÅ ÕÓÔÁÎÏ×ÏÞÎÏÇÏ USB flash ÄÉÓËÁ
Date: Sat, 1 Nov 2008 10:53:49 +0300
Message-ID: <200811011053.50191.mak@rsmu.ru> (raw)
In-Reply-To: <ge7nno$fv9$1@ger.gmane.org>

On 28 октября 2008 Igor Zakhrebetkov wrote:

>  > Распаковать и примонтировать install-flash.img (с опцией loop ?),
>
> примонтировать altlinux-4.1.0-desktop-i586-install-flash.img
> также не удалось, требует определить тип файловой системы

Кстати о примонтировать: это можно проделать с опцией offset (man losetup), 
пропустив N байт на всякие там MBRы до начала файловой системы. 
Число N можно подсмотреть fdisk'ом:
$ echo -en "x\np\n" |fdisk altlinux-4.1.0-desktop-i586-install-flash.img
...
#  AF Гол Сек  Цил Гол Сек  Цил    Начало      Разм ID
 1 80 130   3    0  24  24  984       8192    3960832 0b

Тут видно, что начало раздела на 8192 секторе.
Теперь монтируем: 
# mount -o loop,offset=$((8192*512)) \
altlinux-4.1.0-desktop-i586-install-flash.img mountpoint/

-- 
wbr, Michael A. Kangin
OIOS, RSMU

  parent reply	other threads:[~2008-11-01  7:53 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-28 14:15 Igor Zakhrebetkov
2008-10-28 19:04 ` [Comm] " Igor Zakhrebetkov
2008-10-28 19:42   ` [Comm] " Motsyo Gennadi aka Drool
2008-11-01  7:53   ` Michael A. Kangin [this message]
2008-11-01 12:34     ` [Comm] Creating USB flash disk Igor Zakhrebetkov
2008-10-28 19:28 ` [Comm] ....USB flash Yura Kalinichenko
2008-10-28 20:34   ` Igor Zakhrebetkov
2008-10-29  5:44     ` Serge
2008-10-29  6:22       ` Igor Zakhrebetkov
2008-10-31  9:10   ` Michael A. Kangin
2008-10-30  8:23 ` [Comm] óÏÚÄÁÎÉÅ ÕÓÔÁÎÏ×ÏÞÎÏÇÏ USB flash ÄÉÓËÁ Guest007
2008-10-31  9:11   ` Michael A. Kangin

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=200811011053.50191.mak@rsmu.ru \
    --to=mak@rsmu.ru \
    --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