On Monday 07 September 2009 19:09:25 Alan McKinnon wrote:
> On Monday 07 September 2009 17:39:06 Dale wrote:
> > Peter Humphrey wrote:
> > > On Sunday 06 September 2009 21:12:37 Alan McKinnon wrote:
> > >> On Sunday 06 September 2009 19:31:27 Peter Humphrey wrote:
> > >>> On Sunday 06 September 2009 10:49:13 Alan McKinnon wrote:
> > >>
> > >> Um, dude.... grub selects a kernel. Or an OS. But never a DE.
> > >> The dm does that.
> > >
> > > Depends how you have it set up. On this box I have two separate
> > > installations: one with kde:3 and one with kde:4. I select the one I
> > > want with grub entries.
> >
> > Could you post your grub.conf? I'd like to see how you do that.
>
> Well, I'd do it with a customized init that launches a dm preset to a
> specific xsession. Or selects a specific .xinitrc.
In answer to Dale, here's my grub.conf. Do you (Alan) think your way is
better, or simpler? (Hope you can sort the wrapping out.)
[...]
title=Gentoo Linux 2.6.30-r6
root (hd0,0)
kernel /boot/kernel-x86_64-2.6.30-gentoo-r6 root=/dev/md0 vga=0x31A
video=vesafb:mtrr:3,ywrap fbcon=scrollback:128k splash=silent
memory_corruption_check=1
title=Gentoo Linux 2.6.30-r6, no X
root (hd0,0)
kernel /boot/kernel-x86_64-2.6.30-gentoo-r6 root=/dev/md0 vga=0x317
video=vesafb:mtrr:3,ywrap splash=silent softlevel=no-x
memory_corruption_check=1
title=Gentoo Linux 2.6.30-r6, no network
root (hd0,0)
kernel /boot/kernel-x86_64-2.6.30-gentoo-r6 root=/dev/md0 vga=0x317
video=vesafb:mtrr:3,ywrap splash=silent softlevel=nonetwork
memory_corruption_check=1
[...]
title=Gentoo Test System 2.6.30-r6
root (hd0,0)
kernel /boot/kernel-x86_64-2.6.30-gentoo-r6-testsys root=/dev/sdc3
vga=0x31A video=vesafb:mtrr:3,ywrap splash=silent
title=Gentoo Test System 2.6.30-r6, no X
root (hd0,0)
kernel /boot/kernel-x86_64-2.6.30-gentoo-r6-testsys root=/dev/sdc3
vga=0x317 video=vesafb:mtrr:3,ywrap splash=silent softlevel=no-x
title=Gentoo Test System 2.6.30-r6, no network
root (hd0,0)
kernel /boot/kernel-x86_64-2.6.30-gentoo-r6-testsys root=/dev/sdc3
vga=0x317 video=vesafb:mtrr:3,ywrap splash=silent softlevel=nonetwork
[...]
--
Rgds
Peter