From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Williamson Subject: Re: Re: Using Debian packages Date: Sat, 19 Mar 2005 03:32:16 +0000 Message-ID: <200503190332.16546.maw48@cl.cam.ac.uk> References: <200503182223.17347.lars-xendev@dangvard.dk> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit In-Reply-To: <200503182223.17347.lars-xendev@dangvard.dk> Content-Disposition: inline Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: "Lars E. D. Jensen" Cc: mark.williamson@cl.cam.ac.uk, xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org Here's the difference: This one works... > title Debian GNU/Linux, kernel 2.4.27-2-386 > root (hd0,0) > kernel /vmlinuz-2.4.27-2-386 root=/dev/sda6 ro ------------------^ No /boot here. This one doesn't... > title XenLinux 2.0.5 SMP > root (hd0,0) > kernel /boot/xen.gz dom0_mem=131072 ------------------^ Path includes /boot Bear in mind the "root (hd0,0)" directive doesn't tell grub "this is my / (root) filesystem", it means "interpret path references relative to the root of this partition's filesystem". > # > proc /proc proc defaults 0 0 > /dev/sda6 / ext3 defaults,errors=remount-ro 0 > 1 /dev/sda1 /boot ext3 defaults 0 2 On your system /dev/sda1 == (hd0,0) and is your boot partition, so you only need to specify the location of a kernel / module within this partition. Try this in your menu.lst: title XenLinux 2.0.5 SMP root (hd0,0) kernel /xen.gz dom0_mem=131072 module /xen-linux-2.6.10 root=/dev/sda6 ro console=tty0 HTH, Mark > /dev/sda5 none swap sw 0 0 > /dev/hdd /media/cdrom0 iso9660 ro,user,noauto 0 0 > /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0 > > > > I more or less just pasted the menu.lst from documentation with a few > > > changes. And noticed that xen kernerl xen.gz is missing in /boot > > > directory. I've then tried to copy xen.gz from xen binary distribution, > > > but I still get error 15. > > > > Hrm... Copying it in should work. Could you please do an ls -l of your > > /boot? > > I all ready posted that in a former mail, except from that I copied xen.gz > from binary xen distribution into /boot/... ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click