All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Williamson <maw48@cl.cam.ac.uk>
To: "Lars E. D. Jensen" <lars-xendev@dangvard.dk>
Cc: mark.williamson@cl.cam.ac.uk, xen-devel@lists.sourceforge.net
Subject: Re: Re: Using Debian packages
Date: Sat, 19 Mar 2005 03:32:16 +0000	[thread overview]
Message-ID: <200503190332.16546.maw48@cl.cam.ac.uk> (raw)
In-Reply-To: <200503182223.17347.lars-xendev@dangvard.dk>

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".

> # <file system> <mount point>   <type>  <options>       <dump>  <pass>
> 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

  reply	other threads:[~2005-03-19  3:32 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-16  8:17 Using Debian packages Ian Pratt
2005-03-17 15:48 ` Lars E. D. Jensen
2005-03-17 19:55   ` Nuutti Kotivuori
2005-03-18 16:12     ` Lars E. D. Jensen
2005-03-18 17:13       ` M.A. Williamson
2005-03-18 21:23         ` Lars E. D. Jensen
2005-03-19  3:32           ` Mark Williamson [this message]
2005-03-19 10:45             ` Lars E. D. Jensen
2005-03-19 11:14               ` Nuutti Kotivuori
2005-03-19 12:06                 ` Lars E. D. Jensen | DCmedia
2005-03-20 17:34                   ` Nuutti Kotivuori
2005-03-20 18:30                     ` Tommi Virtanen
2005-03-20 18:51                       ` Nuutti Kotivuori
2005-03-19 15:48                 ` Lars E. D. Jensen
2005-03-20 17:43                   ` Lars E. D. Jensen
2005-03-21 16:49                   ` Adam Heath
2005-03-17 22:26   ` michal urbanski

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=200503190332.16546.maw48@cl.cam.ac.uk \
    --to=maw48@cl.cam.ac.uk \
    --cc=lars-xendev@dangvard.dk \
    --cc=mark.williamson@cl.cam.ac.uk \
    --cc=xen-devel@lists.sourceforge.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.