public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  migrating to LVM
@ 2007-10-17  5:20 Thufir
  2007-10-17  5:56 ` Dirk Heinrichs
  0 siblings, 1 reply; 13+ messages in thread
From: Thufir @ 2007-10-17  5:20 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2007-10-22  4:40 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-17  5:20 [gentoo-user] migrating to LVM Thufir
2007-10-17  5:56 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox