Quoting Richard Owlett (rowl...@cloud85.net):
> Is your definition of "two root partitions" the same as mine?
> I'm new to *nix and have a have a physical machine set aside for
> "sink or swim" educational experiences.
> I use expert install and manual partitioning such that:
>    first install would be to sda1 with swap on sda6
>    second install would be to sda2 with swap on sda6
>    etc etc
> This gives be multiple independent installs selectable from grub
> menu.
> [When I run out of space, reformat and repeat.]
> Not suitable for all, but it matches my learning style - retirement
> has advantages :)

Yes. I try to keep it as simple as possible. I stick to four primary
partitions with sda3 on /home.

                                 Disk: /dev/sda
             Size: 465.8 GiB, 500107862016 bytes, 976773168 sectors
                       Label: dos, identifier: 0x00090d11

    Device     Boot     Start       End   Sectors   Size Id Type
    /dev/sda1  *           63  58396274  58396212  27.9G 83 Linux
    /dev/sda2        58396275 117178109  58781835    28G 83 Linux
    /dev/sda3       117178110 968944409 851766300 406.2G 83 Linux
    /dev/sda4       968944410 976773167   7828758   3.8G 82 Linux swap / Solaris

sda1 in currently jessie / and sda2 is wheezy /. sda1 is mounted on
/agogj in wheezy and sda2 is /agogw in jessie (agog is the hostname).
To reduce confusion in mc (file manager), I chmod all the mount points
rwx------ so that I can't enter them when nothing's mounted there.

About the only issue in /home is that some of the dotfiles/directories
need to be symbolic links whose names contain the distribution because
different versions can't or shouldn't read each other's configurations,
like mc and mutt. And I copy all the ssh keys between the two
partitions.

Being simple-minded, I adduser on the new system with a script, rather
than mess around with password files. But one important thing to be
aware of is that files owned by system user/groups (like colord,
Debian-exim) will have different numerical owners so they mustn't be
moved by any method that preserves the number.

Lastly, I run grub-install on the newer system's partition only, or
things can get very confusing (because I like to fiddle with grub).

Cheers,
David.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150210030122.ga10...@alum.home

Reply via email to