On 3/18/07, Leslie Katz <lesliek(a)ozemail.com.au> wrote:
Hello again, Ian.
Well, gparted worked as advertised on ext3 file systems. Thanks so much
again for drawing it to my attention.
I have some questions arising, though, if I may.
Here's what the output of fdisk now shows for the relevant drive.
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 13 104391 83 Linux
/dev/hdb2 14 1318 10482412+ 83 Linux
/dev/hdb3 1319 1449 1052257+ 82 Linux swap
/dev/hdb4 1450 4865 27439020 5 Extended
/dev/hdb5 1450 1462 104391 83 Linux
/dev/hdb6 1463 4865 27334566 83 Linux
hdb1 and hdb2 are respectively my original /boot and / partitions for
FC3, with hdb2 now shrunk from 35 GB to 10GB. hdb3 is my new swap
partition--it's functioning and I've added it my fstab file.
However, I'm not quite sure what to do now about hdb5 and hdb6. I want
them respectively to serve the same function for FC6 as hdb1 and hdb2
now do for FC3.
In my fstab file, the entries for hdb2 and hdb1 respectively are as follows:
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
Do I make hdb5 bootable, label hdb5 and hdb6 respectively /bootfc6 and
/fc6 and then mount them on mountpoints corresponding to their labels?
Or (as often happens with Linux) am I missing some fundamental point
OK - To me it sounds like you're wanting to have two separate installs
of FC on your machine and be able to read them from each other but
still keep them separate. Correct me if wrong.
In this case you will have two /etc/fstab s - one in FC3 and one in
FC6. In your FC3 you would have it as you outline.
In your copy of /etc/fstab under FC6 you would label /dev/hdb1
/bootfc3 and /dev/hdb2 /fc3 and /dev/hdb5 /boot and /dev/hdb6 /
As you seem to have worked out swap can be shared as it's just
temporary data for virtual memory.
grub should take care of working out where each is loaded but if it
doesn't edit /boot/grub/menu.lst to put a root=/dev/hdb5 for your FC6
and root=/dev/hdb1 for your FC3.
For example here is part of my grub menu.lst file:
title Debian GNU/Linux, kernel 2.6.20final_dccp
kernel /boot/vmlinuz-2.6.20final_dccp root=/dev/sda2 ro
(It is sda2 because it is a Serial ATA drive and a newer kernel)
WAND Network Research Group