ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Тимощенков Павел Васильевич" <piton@eva.dp.ua>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] как правильно перенести корень FS с одного раздела на другой
Date: Tue, 10 Apr 2007 09:49:38 +0300
Message-ID: <461B3382.7050207@eva.dp.ua> (raw)
In-Reply-To: <200704100941.26567.skompan@kspu.kr.ua>

Serge пишет:
> Здравствуйте!
> Есть следующая таблица разделов
> Partition Table for /dev/sda
>
>                First       Last
>  # Type       Sector      Sector   Offset    Length   Filesystem Type (ID)Flag
> -- ------- ----------- ----------- ------ ----------- ------------------------
>  3 Primary           0     2104514     63     2104515 Linux (83)          None
>  2 Primary     2104515    12594959      0    10490445 Linux (83)  None
>  4 Primary    12594960    36708524      0    24113565*Extended (05)  None
>  5 Logical    12594960    20980889     63     8385930 Linux (83)     None
>  6 Logical    20980890    33559784     63    12578895 Linux (83)         None
>  7 Logical    33559785    35664299     63     2104515 Linux (83)        None
>  8 Logical    35664300    36708524     63     1044225 Linux (83)          None
>  1 Primary    36708525    38813039      0     2104515 Linux (83)         None
>    None       38813040   488392064      0   449579025 Unusable        None
>
> Как правильно сейчас в sisyphus перенести корневую файловую систему 
> с /dev/sda1 на /dev/sda3
> Когда удаляю раздел /dev/sda1 то раньше нумерация разделов менялась (и 
> раздел /dev/sda3 автоматоически ставал /dev/sda1). Теперь этого не происходит
>
> Какие должны быть шаги по переносу корневой файловой системы с одного раздела 
> на другой
> Система: sisyphus x64 - текущий
> _______________________________________________
> Sisyphus mailing list
> Sisyphus@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/sisyphus
Лучше сделать привязку по UUID в fstab, чтобы не зависеть от сигнатур 
типа /dev/sda#
Узнай UUID раздела, скажем, по blkid и пропиши в fstab что-то вроде:
 UUID="057b4a7b-09a3-4375-9539-2918ccdacd2a      /                       
ext3    defaults        1       1
Ну а в остальном переноси, как обычно, копирование и chroot

-- 
С уважением, Тимощенков Павел Васильевич
ООО "РУШ"
Системный администратор
8(056)726-27-46
8(066)444-7777
piton@eva.dp.ua
ICQ: 201695057




  reply	other threads:[~2007-04-10  6:49 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-10  6:41 Serge
2007-04-10  6:49 ` Тимощенков Павел Васильевич [this message]
2007-04-10  9:20   ` Serge
2007-04-10  9:40     ` Epiphanov Sergei
2007-04-10 11:19       ` Serge
2007-04-10 11:43         ` Epiphanov Sergei
2007-04-10  9:40     ` Тимощенков Павел Васильевич
2007-04-11  2:50       ` Хихин Руслан
2007-04-11  6:08         ` Тимощенков Павел Васильевич
2007-04-11  6:12         ` Epiphanov Sergei
2007-04-11  6:31           ` Хихин Руслан
2007-04-10 18:04 ` Michael Shigorin
2007-04-11  4:48   ` Serge
2007-04-11  5:01     ` Хихин Руслан

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=461B3382.7050207@eva.dp.ua \
    --to=piton@eva.dp.ua \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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