Gentoo Archives: gentoo-hardened

From: "Anthony G. Basile" <basile@××××××××××××××.edu>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] setting up pvgrub on a xen based vps
Date: Tue, 10 Jun 2014 17:43:02
Message-Id: 5397439B.4050203@opensource.dyc.edu
In Reply to: [gentoo-hardened] setting up pvgrub on a xen based vps by Jonathan Aquilina
1 On 06/08/14 15:22, Jonathan Aquilina wrote:
2 > Good evening everyone,
3 >
4 > I am trying to harden a vps further by setting up PAX grsec and SEL.
5 > Currently the vps is using the hosts kernel. My provider has documentation
6 > on how to do this but not on how to do it on gentoo. I have been told i
7 > need the grub legacy format menu.lst. Is there a way I can just generate
8 > my own grub legacy menu.lst or do I need to install grub legacy in its
9 > entirety and use it instead of grub 2? If anyone has a link to a tutorial
10 > that would be greatly appreciated as documentation seems non existent.
11 >
12 > Regards
13 >
14
15 Writing your own menu.lst is easy; just do it manually. Unliked grub2,
16 grub1 (for want of a better name) does not "scan" your system and try to
17 write a menu.lst the way grub2 writes a grub.cfg. So don't install
18 grub1 (and thus overwrite grub2's boot sector code) in the hopes that
19 you'll get some magic script to write your menu.lst for you.
20
21 I'm not sure why you are finding it hard to find resources. I really
22 can't help you more because I don't know your setup. Obviously if you
23 are booting some kernel in your virtual machine using grub1 you already
24 have a menu.lst. Can you use it as a model?
25
26
27
28 --
29 Anthony G. Basile, Ph. D.
30 Chair of Information Technology
31 D'Youville College
32 Buffalo, NY 14201
33 (716) 829-8197

Replies

Subject Author
Re: [gentoo-hardened] setting up pvgrub on a xen based vps Jonathan Aquilina <jaquilina@×××××××××.net>