I am installing Ubuntu 10.04 in CentOS 5.4 (dom0), everything ok until it tell me to create a partition. (I am using LVM) Error message: Error informing the kernel about modifications to partition /dev/xvda1p1 -- Invalid argument. This means Linux won''t know about any changes you made to /dev/xvda1p1 until you reboot -- so you shouldn''t mount it or use it in any way before rebooting. Any hints? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
--- On Wed, 8/25/10, Ryan Chan <ryanchan404@gmail.com> wrote:> From: Ryan Chan <ryanchan404@gmail.com> > Subject: [Xen-users] Error during guided partitioning > To: xen-users@lists.xensource.com > Date: Wednesday, August 25, 2010, 8:36 AM > I am installing Ubuntu 10.04 in > CentOS 5.4 (dom0), everything ok until > it tell me to create a partition. > > (I am using LVM) > > > Error message: > > > Error informing the kernel about modifications to > partition > /dev/xvda1p1 -- Invalid argument. This means Linux > won''t know about > any changes you made to /dev/xvda1p1 until you reboot -- > so you > shouldn''t mount it or use it in any way before rebooting. > >Ext4 filesystem is default in 10.04. You will have some trouble with pygrub from C5.4 xen. Change all lucid filesystems to Ext3 are see what happens. -- Mark _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
for completeness see below --- On Wed, 8/25/10, Mark Pryor <tlviewer@yahoo.com> wrote:> From: Mark Pryor <tlviewer@yahoo.com> > Subject: Re: [Xen-users] Error during guided partitioning > To: xen-users@lists.xensource.com > Date: Wednesday, August 25, 2010, 3:14 PM > > > --- On Wed, 8/25/10, Ryan Chan <ryanchan404@gmail.com> > wrote: > > > From: Ryan Chan <ryanchan404@gmail.com> > > Subject: [Xen-users] Error during guided partitioning > > To: xen-users@lists.xensource.com > > Date: Wednesday, August 25, 2010, 8:36 AM > > I am installing Ubuntu 10.04 in > > CentOS 5.4 (dom0), everything ok until > > it tell me to create a partition. > > > > (I am using LVM) > > > > > > Error message: > > > > > > Error informing the kernel about modifications > to > > partition > > /dev/xvda1p1 -- Invalid argument. This means > Linux > > won''t know about > > any changes you made to /dev/xvda1p1 until you > reboot -- > > so you > > shouldn''t mount it or use it in any way before > rebooting. > > > > > > Ext4 filesystem is default in 10.04. You will have some > trouble with pygrub from C5.4 xen. > > Change all lucid filesystems to Ext3 are see what happens. >In your 5.4 dom0, do #cat /proc/filesystems | grep -i ext odds are ext4 is absent. Even if you have a custom kernel which supports ext4, there is still the question of pygrub ext4 support. Before posting I checked the gitco xen 3.4.2 libs pygrub ext4 support is provided by /usr/lib64/libfsimage.so.1.0.0 ------------ snip ---------- # rpm -ql xen-libs | grep -i libfsimage /usr/lib64/libfsimage.so.1.0 /usr/lib64/libfsimage.so.1.0.0 ---------------- cut --------- The only rough way to tell if there is ext4 support in this lib is by size. In 3.4.2 the size is # ls -al /usr/lib64/libfsimage.so.1.0.0 -rwxr-xr-x 1 root root 12448 Nov 11 2009 /usr/lib64/libfsimage.so.1.0.0 suse 11.3 xen 4.0 does have ext4 support in pygrub there the size is 14k+ I have pointed 3.4.2 pygrub at an ext4 /boot and it fails. -- Mark _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Aug 25, 2010 at 10:36 PM, Ryan Chan <ryanchan404@gmail.com> wrote:> I am installing Ubuntu 10.04 in CentOS 5.4 (dom0), everything ok until > it tell me to create a partition. > > (I am using LVM) > > > Error message: > > > Error informing the kernel about modifications to partition > /dev/xvda1p1 -- Invalid argument. This means Linux won''t know about > any changes you made to /dev/xvda1p1 until you reboot -- so you > shouldn''t mount it or use it in any way before rebooting.Looks like you''re mapping the LV as xvda1. Don''t do that if you''re using OS installer. Map it as xvda instead. You should only map block devices as (xv/s/h)da1 if you''re using tools like debootstrap/yum or doing manual copy from an existing system. Also if you want to use ext4 as "/", don''t forget to have a separate /boot with ext3 since like Mark said, by default Centos'' pygrub doesn''t support ext4. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users