public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Thufir <hawat.thufir@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user]  migrating to LVM
Date: Wed, 17 Oct 2007 05:20:13 +0000 (UTC)	[thread overview]
Message-ID: <ff462c$i0c$1@ger.gmane.org> (raw)

I have a working gentoo install which I don't want to muck with too much, 
except to change over to LVM.  I understand that I can use dd so that 
everything will be in a LVM, but I'm unclear on the outline.  The LVM is 
created, the root partition is copied over to the LVM, then grub, fstab 
and initrd and edited to reflect the changes?


arrakis ~ # 
arrakis ~ # fdisk /dev/hda

The number of cylinders for this disk is set to 9729.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1        1912    15358108+  83  Linux
/dev/hda2            1913        1925      104422+  83  Linux
/dev/hda3            1926        9729    62685630   8e  Linux LVM

Command (m for help): q

arrakis ~ # 
arrakis ~ # fdisk /dev/hdb

The number of cylinders for this disk is set to 59582.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hdb: 30.7 GB, 30750031872 bytes
16 heads, 63 sectors/track, 59582 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1               1         203      102280+  83  Linux
/dev/hdb2             204        2109      960624   82  Linux swap / 
Solaris
/dev/hdb3            2110       59579    28964880   83  Linux

Command (m for help): q

arrakis ~ # 
arrakis ~ # date
Tue Oct 16 22:10:22 PDT 2007
arrakis ~ # 



thanks,

Thufir

-- 
gentoo-user@gentoo.org mailing list



             reply	other threads:[~2007-10-17  5:36 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-17  5:20 Thufir [this message]
2007-10-17  5:56 ` [gentoo-user] migrating to LVM Dirk Heinrichs
2007-10-17 15:35   ` Albert Hopkins
2007-10-18  7:08     ` [gentoo-user] " Thufir
2007-10-18  8:26       ` Dirk Heinrichs
2007-10-19  6:55         ` Thufir
2007-10-19 12:11           ` Don Jerman
2007-10-19 18:56             ` Thufir
2007-10-20 20:24             ` Neil Bothwick
2007-10-21  0:04               ` Albert Hopkins
2007-10-21 11:29               ` Don Jerman
2007-10-21 20:28                 ` Neil Bothwick
2007-10-22  4:16             ` Thufir

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='ff462c$i0c$1@ger.gmane.org' \
    --to=hawat.thufir@gmail.com \
    --cc=gentoo-user@lists.gentoo.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox