T.R | Title | User | Personal Name | Date | Lines |
---|
8651.1 | | NABETH::alan | Dr. File System's Home for Wayward Inodes. | Thu Jan 30 1997 13:42 | 7 |
| The first question you should ask is:
"Will the console find a boot block that isn't at the beginning
of a disk?"
I don't know the answer, but it would a good idea to find out
if it is even possible before worrying about how.
|
8651.2 | | DECWET::MARTIN | | Thu Jan 30 1997 13:59 | 4 |
| I'm pretty sure it's not possible. I *think* the only possible boot partition
is partition 'a'. How would you go about specifying at the console level what
partition to use? Doesn't it only ask for the "bootdef_dev", which would be
something like DKE100?
|
8651.3 | good point | STOSS1::HORVATH | | Thu Jan 30 1997 14:33 | 8 |
| Good point. Then another solution to my disk space problem is to use
another disk. I have another available disk rz8. I will edit the
disklabel on this drive to concatenate the a and b partitions, then
restore root_domain in the a partition.
My original question still stands, I'll need a bootblock on this drive.
Thanks,
|
8651.4 | | DECWET::MARTIN | | Thu Jan 30 1997 15:09 | 12 |
| OK. I believe "disklabel -wr -t advfs rz8 rz28" will put an AdvFS boot block on
the disk for you (assuming the disk is an rz28, of course).
This will reset the default partitions on you, so you'll need to edit the
disklabel again to enlarge the size of the a partition.
Also, when you create the new domain on this partition, make sure you use the
"-r" flag with mkfdmn.
Do a test boot with this disk before you absolutely need to boot off of it.
--Ken
|
8651.5 | more thought | STOSS1::HORVATH | | Thu Jan 30 1997 15:40 | 8 |
| Assuming I placed the bootblock on this new disk and modified the
disklabel, and performed a vrestore of the root_domain, when is the
appropriate time to edit /etc/fdmns/root_domain
with new link to rz8, or must I actually perform mkfdmn rz8
root_domain inorder to get the metadata on the disk?
My thinking is boot from cdrom, bcheckrc, then relink root_domain from
rz0a to rz8a. Halt, then boot rz8.
|
8651.6 | | DECWET::MARTIN | | Thu Jan 30 1997 19:48 | 23 |
| Assuming you start from the root disk being rz0, you should:
disklabel -wr -t advfs rz8 rz28
disklabel -e /dev/rrz8c
mkfdmn /dev/rz8a root_backup
mkfset root_backup root
mount root_backup#root /mnt
vdump / | vrestore /mnt
cd /mnt/etc/fdmns
mv root_domain root_oldrz0
mv root_backup root_domain
cd /
umount /mnt
Halt, then boot rz8.
Note that I just typed all of that in from memory. I know that I didn't get the
flags right for vdump/vrestore, and probably not for other steps as well. But
that should be the order in which to do things.
This also assumes that both swap and /usr stay in the same place they were in.
--Ken
|