linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: "Dieter Stüken" <stueken@conterra.de>
To: ramsis farhat <sismar2002@yahoo.fr>,
	LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] root partition
Date: Sun, 30 Jul 2006 13:15:20 +0200	[thread overview]
Message-ID: <44CC94C8.1080306@conterra.de> (raw)
In-Reply-To: <20060729081733.88249.qmail@web26602.mail.ukl.yahoo.com>

ramsis farhat wrote:
> Hello every body. I'm student and I have training in a company that wants to put LVM partitions in its server.
> The problem is that they do not want to format the hard disk.
> For the moment, I'm working on a virtual machine with Red Hat Entreprise 3.
> I'm working with 2 hard disks of 8GB. The first is partitioned like this
> sda1 boot (101 MB)
> sda2 /      (7400MB)
> sda3 swap (573 MB)
>  
> I followed exactly the steps in the LVM-HOWTO excepted that I added the second Hard disk sdb.
> I made a lvm partion sdb1 and I put all the root data on it.
> Then, I had 2 problems. The first is that the RAM disk can't be created because of the lack of space ( I'm not sure of that)
> And the second is that the server is using GRUB and not LILO, so I don't know How rebooting on the new root file.

What do you mean by "RAM disk"? Is it a problem while preparing the
ramdisk (initrd) by mkinited, or is it a problem to startup the
ramdisk during boot?

Both, grub and lilo need sda1 (/boot) to boot, load the kernel and
the initrd (ram disk). There are two things you should verify:
1) For the new root partition (more correct: root LV), be sure,
/boot still comes from /dev/sda1 (should be, as it was before).
2) the initrd (ram disk) created by mkinitrd, must know about
using LVM. This may be achieved either via some configuration
(my SuSE system looks into /etc/sysconfig/kernel) or by "-f lvm2".
See "man mkinitrd".

Dieter.

  reply	other threads:[~2006-07-30 11:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-29  8:17 [linux-lvm] root partition ramsis farhat
2006-07-30 11:15 ` Dieter Stüken [this message]
2006-08-03  8:08   ` [linux-lvm] booting on a new " ramsis farhat
2006-08-03 11:38     ` Dieter Stüken

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=44CC94C8.1080306@conterra.de \
    --to=stueken@conterra.de \
    --cc=linux-lvm@redhat.com \
    --cc=sismar2002@yahoo.fr \
    /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;
as well as URLs for NNTP newsgroup(s).