Alasdair P Mclean
2007-Oct-17 08:52 UTC
[Xen-users] Xen Install: "No filesystem could mount root, tried: ext2"
Hey guys, first time install, would appreciate any help. On booting up the following error occurs: "No filesystem could mount root, tried: ext2. Kernel panic - not syncing: VFS unable to mount root fs on unknown-block(0,0)" Like I say, any ideas very much appreciated. I''ve copied my menu.lst entry for Xen below if it''s any use, Cheers, Ali grub menu.lst: title Xen 3.0 / XenLinux 2.6 root (hd0,0) module /boot/xen-3.1.gz dom0_mem=262144 noreboot module /boot/vmlinuz-2.6-xen root=/dev/hda1 ro console=tty module /boot/initrd-2.6-xen _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Dan VerWeire
2007-Oct-17 11:21 UTC
Re: [Xen-users] Xen Install: "No filesystem could mount root, tried: ext2"
Hi Ali, I had the same error before. I tried two things and I''m not sure which one was the actual solution. I changed root=/dev/hda1 to root=/dev/hdb1 (or sdb1). The second thing I did was to compile in the drivers for my SATA and the Ext3 file system into the kernel. Where did you get your vmlinuz-2.6-xenfrom? Hth, Dan On 10/17/07, Alasdair P Mclean <mcleanap@dcs.gla.ac.uk> wrote:> > Hey guys, first time install, would appreciate any help. > > On booting up the following error occurs: "No filesystem could mount root, > tried: ext2. Kernel panic - not syncing: VFS unable to mount root fs on > unknown-block(0,0)" > > Like I say, any ideas very much appreciated. I''ve copied my menu.lst entry > for Xen below if it''s any use, > > Cheers, > Ali > > grub menu.lst: > > title Xen 3.0 / XenLinux 2.6 > root (hd0,0) > module /boot/xen-3.1.gz dom0_mem=262144 noreboot > module /boot/vmlinuz-2.6-xen root=/dev/hda1 ro console=tty > module /boot/initrd-2.6-xen > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Dan VerWeire
2007-Oct-17 12:45 UTC
Re: [Xen-users] Xen Install: "No filesystem could mount root, tried: ext2"
Hey Ali, I built my domU kernel from Ubuntu sources so I''m not exactly sure what you need to do since your sources are from Xen. But I''ll take a guess. If you go into your Xen source directory, probably something like /usr/src/xen-3.0.3, there might be a sub directory called linux-2.6.18-xen. Go to that directory and try ''make menuconfig''. Then you will need to go to ''File systems'' and press ''Y'' next to each file system that you want to be compiled into the kernel. ''Y'' will compile it in, ''M'' will compile it as a module and ''N'' will exclude it from being built. You may need to do the same thing for other things found in ''Device Drivers'' depending on your hardware setup. To be honest, I didn''t know what needed to be compiled in specifically, so I just tried a bunch of logical options until it worked. If you have a working kernel that you can boot the system with, you may want to try running ''lspci'' to get a list of devices such as your IDE, SATA or SCSI and try to find a driver that might match that device and compile it in. Hope this helps, Dan On 10/17/07, Alasdair P Mclean <mcleanap@dcs.gla.ac.uk> wrote:> > Hey Dan, > > The vmlinuz-2.6-xen I compiled myself from Xen 3.0.3 source (although I > have tried the pre-compiled one and it has the same problem). > > Could you tell me how I can go about compiling the drivers into the kernel > please? > > Thanks, > Ali > > > > -----Original Message----- > From: Dan VerWeire [mailto:dverweire@gmail.com <dverweire@gmail.com>] > Sent: Wed 10/17/2007 12:21 PM > To: Alasdair P Mclean > Cc: xen-users@lists.xensource.com > Subject: Re: [Xen-users] Xen Install: "No filesystem could mount root, > tried: ext2" > > Hi Ali, > > I had the same error before. I tried two things and I''m not sure which one > was the actual solution. I changed root=/dev/hda1 to root=/dev/hdb1 (or > sdb1). The second thing I did was to compile in the drivers for my SATA > and > the Ext3 file system into the kernel. Where did you get your > vmlinuz-2.6-xenfrom? > > Hth, > > Dan > > On 10/17/07, Alasdair P Mclean <mcleanap@dcs.gla.ac.uk> wrote: > > > > Hey guys, first time install, would appreciate any help. > > > > On booting up the following error occurs: "No filesystem could mount > root, > > tried: ext2. Kernel panic - not syncing: VFS unable to mount root fs on > > unknown-block(0,0)" > > > > Like I say, any ideas very much appreciated. I''ve copied my menu.lstentry > > for Xen below if it''s any use, > > > > Cheers, > > Ali > > > > grub menu.lst: > > > > title Xen 3.0 / XenLinux 2.6 > > root (hd0,0) > > module /boot/xen-3.1.gz dom0_mem=262144 noreboot > > module /boot/vmlinuz-2.6-xen root=/dev/hda1 ro console=tty > > module /boot/initrd-2.6-xen > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users