public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  dual booting 2 gentoo installations
@ 2008-11-24 21:04 Harry Putnam
  2008-11-24 21:32 ` Paul Hartman
  2008-11-24 21:34 ` Alan McKinnon
  0 siblings, 2 replies; 11+ messages in thread
From: Harry Putnam @ 2008-11-24 21:04 UTC (permalink / raw
  To: gentoo-user

I'm just having second doubts about how to dual boot 2 gentoo
installations.

Can I just edit grub from the original install and add the appropriate
kernal  line like:

  title=kernel-2.6.27-r3-0x31a-1280x1024
  root (hd0,0)
  kernel /kernel-2.6.27-r3 root=/dev/hda5 vga=0x31A video=vesafb:mtrr,ywrap
  
  ## add this for new install
  
  title=kernel-2.6.27-r4-0x31a-1280x1024
  root (hd1,1)
  kernel (hd1,1)/boot/kernel-2.6.27-r4 root=/dev/hdb2 vga=0x31A video=vesafb:mtrr,ywrap


I didn't want to just try it in case there is something I've forgotten
that is likely to get screwed up.

I'm not asking if the addressing is right, just asking if in general
this can be done with no problems.




^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: [gentoo-user] Re: dual booting 2 gentoo installations
@ 2008-11-27  8:52 Alan McKinnon
  0 siblings, 0 replies; 11+ messages in thread
From: Alan McKinnon @ 2008-11-27  8:52 UTC (permalink / raw
  To: gentoo-user

On Thursday 27 November 2008 07:20:37 Jorge Peixoto de Morais Neto wrote:
> On Thu, Nov 27, 2008 at 3:06 AM, Jorge Peixoto de Morais Neto
>
> <please.no.spam.here@gmail.com> wrote:
> >> I take it you've already observed that you can also share portage and
> >> distfiles directories? Easiest is if they are on their own partitions
> >> but there are tricks that can get the same effect if not. How to do this
> >> is left as an exercise for the reader :-) with one tip for those who
> >> don't know:
> >>
> >> mount -o bind
> >> --
> >> alan dot mckinnon at gmail dot com
> >
> > I know about mount -o bind.
> > However, (forgive me if this is naive), why not just a symlink? That
> > is the way I do.
> > I want my root partition to be small (for performance reasons), so I
> > put things that don't need speed int its own partion, which I mount in
> > /usr/local/slowpart (the name fits; the partition is at the end of the
> > harddisk and 80% full, so it is slower than the root partion, that is
> > at the beginning of the hard disk and 7% full.
> > In this slowpart, I have DISTDIR, PKGDIR, and some personal files that
> > are not frequently accessed (such as files I will likely never use but
> > kept for safety). I configure DISTDIR and PKGDIR in make.conf, but the
> > personal files are linked to my home via symbolic links.
>


> I guess the advantage of bind-mount is having all of it configured in
> fstab, as instead of having many symlinks.
> (forgive me it this is naive).

I wouldn't call it naive. Sometimes the simple solution is the best one, 
sometimes you need something more complex. So whether to use symlinks or a 
bind mount depends on circumstance.

>
> And there is all that --move, --make-shared, --make-slave,
> --make-private, --make-unbindable stuff, but that seems overkill for a
> desktop user.



-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2008-11-27  8:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-24 21:04 [gentoo-user] dual booting 2 gentoo installations Harry Putnam
2008-11-24 21:32 ` Paul Hartman
2008-11-24 21:34 ` Alan McKinnon
2008-11-24 22:16   ` [gentoo-user] " Harry Putnam
2008-11-24 22:24     ` Chris Thomas
2008-11-24 22:51     ` Alan McKinnon
2008-11-25  6:56       ` Dale
2008-11-26 16:32         ` Galevsky
2008-11-27  5:06       ` Jorge Peixoto de Morais Neto
2008-11-27  5:20         ` Jorge Peixoto de Morais Neto
  -- strict thread matches above, loose matches on Subject: below --
2008-11-27  8:52 Alan McKinnon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox