grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (still ?) root on LVM problems


From: Robert Millan
Subject: Re: (still ?) root on LVM problems
Date: Sun, 13 Jan 2008 11:57:46 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

On Sun, Jan 13, 2008 at 01:12:42AM +0100, Jean-Christophe Haessig wrote:
> Le dimanche 13 janvier 2008 à 00:26 +0100, Robert Millan a écrit :
> 
> > Try re-running grub-setup with verbose flag on, and see what it prints.
> 
> orion:/test/grub2# /usr/local/sbin/grub-setup --verbose '(hd1)'
> grub-setup: info: prefix = /grub
> grub-setup: info: changing current directory to /dev/mapper
> grub-setup: info: getting the size of /boot/grub/boot.img
> grub-setup: info: reading /boot/grub/boot.img
> grub-setup: info: getting the size of /boot/grub/boot.img
> grub-setup: info: getting the size of /boot/grub/core.img
> grub-setup: info: reading /boot/grub/core.img
> grub-setup: info: getting the size of /boot/grub/core.img
> grub-setup: info: the size of hd1 is 40088160
> grub-setup: info: setting the root device to `vg0-boot'
> grub-setup: info: opening the device `/dev/hdc'
> grub-setup: info: will embed the core image into after the MBR
> grub-setup: info: dos partition is -2, bsd partition is -2, prefix is
> (vg0-boot)/grub
> grub-setup: info: opening the device `/dev/hdc'
> grub-setup: info: opening the device `/dev/hdc'
> grub-setup: info: opening the device `/dev/hdc'
> grub-setup: info: opening the device `/dev/hdc'
> 
> What is this stuff about dos and bsd partitions ? There are no dos nor
> bsd partitions on that disk.

Don't worry about that, it's just unfortunate naming.

> Grub-setup states that it "will embed the core image into after the
> MBR", which I believe is bad, since the lvm data is here.

LVM doesn't reserve any space at the beginning of its partitions?  Most
filesystems do.

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]