From: Hihin Ruslan <ruslandh@gmail.com>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: [Comm] Перенос LiveFlash на новую флешку
Date: Thu, 12 Mar 2015 08:01:17 +0300
Message-ID: <201503120801.23462@ruslandh> (raw)
[-- Attachment #1: Type: text/plain, Size: 950 bytes --]
Здравствуйте !
Потребовалось перенести рабочую флешку объёмом 4Gb на флешку в 8
Gb.
Имеется флешка, размером в 4 Гб, с
altlinux-p7-tde-20141212-x86_64.iso и домашним каталогом.
Перенёс с помощью dd (не важно, можно и с помощью qemu-img,
если хранить в формате vdi) образ на новую флеш большего
размера.
При использовании gparted, он при расширении третьего раздела
(условно /dev/sdg3), убивает её (теряется раздел /dev/sdg1).
Решил проблему следующим образом.
1. Сохранил с помощью fsarhiver раздел /dev/sdg3
fsarchiver savefs my_hlash_home /dev/sdg3
2. В fdisk удалил раздел /dev/sdg3 и потом создал такой-же, но
большего размера.
3. Восстановил содержимое раздела /dev/sdg3
fsarchiver restfs my_hlash_home.fsa id=0,rest=/dev/sdg3
Всё Ок.
PS Может кому-то пригодится.
--
А ещё говорят так (fortune):
Правая Рука - друг индейца
________________________________________________________________________
С уважением Хихин Руслан
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
next reply other threads:[~2015-03-12 5:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-12 5:01 Hihin Ruslan [this message]
2015-03-12 9:38 ` Michael Shigorin
2015-03-12 20:08 ` Hihin Ruslan
2015-03-12 22:22 ` Michael Shigorin
2015-03-13 4:02 ` Hihin Ruslan
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=201503120801.23462@ruslandh \
--to=ruslandh@gmail.com \
--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