On 6/1/07, Andras Simon <szajmi@xxxxxxxxx> wrote:
I'd like to make room on a new HD for at least two Fedora installs (and perhaps one or two other OS's, though I'd prefer to use them virtualized), so that when F8 appears, I can safely install it without wiping out F7 (and so on, always doing a clean install of F(n+1) on the space used by F(n-1), leaving Fn intact). I'd like to share /home and perhaps /tmp between them, and for the rest, to be able to mount, say Fedora #2's /usr in Fedora #1 as /os2/usr. Is there a sane way of achieving this? Especially wrt grub?
Off course there is, for some definitions of sane ((-: Take a look at my grub.conf, sanitized to remove duplicate kernels. ===<begin>=== title FC3 root (hd0,0) kernel /boot/vmlinuz-2.6.11-1.35_FC3 ro root=LABEL=/ vga=795 noprobe initrd /boot/initrd-2.6.11-1.35_FC3.img title FreeBSD rootnoverify (hd1,0) chainloader +1 title CentOS 4.1 root (hd0,2) kernel /boot/vmlinuz-2.6.9-11.EL ro root=/dev/sda3 vga=795 noprobe initrd /boot/initrd-2.6.9-11.EL.img title FC4 root (hd2,0) kernel /boot/vmlinuz-2.6.15-1.1830_FC4 ro root=/dev/sdc1 vga=795 noprobe initrd /boot/initrd-2.6.15-1.1830_FC4.img title FC5 SMP New root (hd2,1) kernel /boot/vmlinuz-2.6.20-1.2316.fc5smp ro root=/dev/sdc2 vga=795 noprobe initrd /boot/initrd-2.6.20-1.2316.fc5smp.img title FC6 SMP New root (hd2,5) kernel /boot/vmlinuz-2.6.20-1.2948.fc6 ro root=/dev/sdb6 vga=795 noprobe initrd /boot/initrd-2.6.20-1.2948.fc6.img title FC7 root (hd2,6) kernel /boot/vmlinuz-2.6.21-1.3194.fc7 ro root=/dev/sdb7 vga=795 noprobe initrd /boot/initrd-2.6.21-1.3194.fc7.img title SuSE 10.1 root (hd2,2) kernel /boot/vmlinuz-2.6.16.27-0.9-smp ro root=/dev/sdb3 vga=795 noprobe initrd /boot/initrd-2.6.16.27-0.9-smp title FC5 Xen root (hd2,1) kernel /boot/xen-3.0.2-2.gz module /boot/vmlinuz-2.6.16-xen ro root=/dev/sdc2 vga=795 noprobe 3 module /boot/initrd-2.6.16-xen.img #title F7 Install # root (hd2,1) # kernel /boot/vmlinuz-fc7 ro vga=795 noprobe ## kernel /boot/vmlinuz ro root=/dev/sdc2 vga=795 noprobe # initrd /boot/initrd-fc7.img ===<end>=== Now I do not share /home as problems may occur, however my UIDs and GIDs are consistent across distros. I guess you can share /tmp as it is supposed to be cleaned out on reboot. Partitions from different distros are added after I install a new distro and not from the install. I also have a partition, /downloads, that is shared across all distros. That is where I keep the isos I install from. No need to burn them, I install from harddrive. HTH ne... -- Registered Linux User # 125653 (http://counter.li.org) Certified: 75% bastard, 42% of which is tard. http://www.thespark.com/bastardtest Now accepting personal mail for GMail invites.