vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| My disk was partitioned as: [partition:name: size for discussion purposes] 0: user:5 1: swap:5 2: hog:35 3: user2:5 4: unassigned:5 5: unassigned:5 6: unassigned:5 7: root:5 I needed to increase the size of root, so I changed the partitions to give the space allocated for partitions 5 and 6 to root as follows: Single user Partitions 1, 3, and 7 were level zero dumped (to 8mm tape) In format the partitions sizes were changed to: 0:user:5 1:swap:5 2:hog:35 3:user2:5 4:unassigned:5 5:unassigned:0 6:unassigned:0 7:root:15 E.g., the start point of root was changed. Then label, then quit. Then newfs c0t0d0s7 Then mount /dev/dsk/c0t0d0s7 /mnt cd /mnt restore rf /dev/rmt/0 rm restoresymtable unmount /mnt Seemed to go OK. When I boot the message that the file loaded isn't excecutable comes up. What went wrong and how can I fix it? I have the mini-root up from cdrom. It occurs to me to just reinstall (this is Solaris 8) to get a bootable image and then restore the dump, but install wants to reformat the entire disk. I don't recall how root ended up at s7, probably from the pre-install. Perhaps installing the mini-root in s7 would do it; is so how do I do that? I can mount s0, s3, and s7 and the files are there. Just can't boot. Perhaps the bootblock wasn't backed up and restored. Could any of the variables in eeprom be causing this? BTW, the machine is an Ultra 5. Thank you very much, Rod Miller |
| |||
| Now I know about bookblocks. Problem apparently solved. At least the system came up looking good. Rod "Rod Miller" <hrm@speakeasy.net> wrote in message news:yJadnaPu1PDY1f-iXTWc-g@speakeasy.net... > My disk was partitioned as: [partition:name: size for discussion purposes] > 0: user:5 > 1: swap:5 > 2: hog:35 > 3: user2:5 > 4: unassigned:5 > 5: unassigned:5 > 6: unassigned:5 > 7: root:5 > > I needed to increase the size of root, so I changed the partitions to give > the space allocated for partitions 5 and 6 > to root as follows: > Single user > Partitions 1, 3, and 7 were level zero dumped (to 8mm tape) > In format the partitions sizes were changed to: > 0:user:5 > 1:swap:5 > 2:hog:35 > 3:user2:5 > 4:unassigned:5 > 5:unassigned:0 > 6:unassigned:0 > 7:root:15 > > E.g., the start point of root was changed. > > Then label, then quit. > Then newfs c0t0d0s7 > Then mount /dev/dsk/c0t0d0s7 /mnt > cd /mnt > restore rf /dev/rmt/0 > rm restoresymtable > unmount /mnt > > Seemed to go OK. > > When I boot the message that the file loaded isn't excecutable comes up. > > What went wrong and how can I fix it? I have the mini-root up from cdrom. It > occurs to me to just reinstall > (this is Solaris 8) to get a bootable image and then > restore the dump, but install wants to reformat the entire disk. I don't > recall how root ended up at s7, probably from the pre-install. > > Perhaps installing the mini-root in s7 would do it; is so how do I do that? > > I can mount s0, s3, and s7 and the files are there. Just > can't boot. Perhaps the bootblock wasn't backed up and > restored. > > Could any of the variables in eeprom be causing this? > > BTW, the machine is an Ultra 5. > > Thank you very much, > > Rod Miller > > |
| ||||
| Hopefully one last question. The bootblock was installed after the newfs and the restore of the backup. Where did it go relative to the backup? I ran fsck and was informed of an error in the superblock that it fixed. I am wondering whether the bootblock has to be installed after the newfs and before the restore. Thx Rod Rod Miller wrote: > Now I know about bookblocks. Problem apparently solved. At least the system > came up looking good. > > Rod > > "Rod Miller" <hrm@speakeasy.net> wrote in message > news:yJadnaPu1PDY1f-iXTWc-g@speakeasy.net... > >>My disk was partitioned as: [partition:name: size for discussion >> > purposes] > >>0: user:5 >>1: swap:5 >>2: hog:35 >>3: user2:5 >>4: unassigned:5 >>5: unassigned:5 >>6: unassigned:5 >>7: root:5 >> >>I needed to increase the size of root, so I changed the partitions to give >>the space allocated for partitions 5 and 6 >>to root as follows: >>Single user >>Partitions 1, 3, and 7 were level zero dumped (to 8mm tape) >>In format the partitions sizes were changed to: >>0:user:5 >>1:swap:5 >>2:hog:35 >>3:user2:5 >>4:unassigned:5 >>5:unassigned:0 >>6:unassigned:0 >>7:root:15 >> >>E.g., the start point of root was changed. >> >>Then label, then quit. >>Then newfs c0t0d0s7 >>Then mount /dev/dsk/c0t0d0s7 /mnt >>cd /mnt >>restore rf /dev/rmt/0 >>rm restoresymtable >>unmount /mnt >> >>Seemed to go OK. >> >>When I boot the message that the file loaded isn't excecutable comes up. >> >>What went wrong and how can I fix it? I have the mini-root up from cdrom. >> > It > >>occurs to me to just reinstall >>(this is Solaris 8) to get a bootable image and then >>restore the dump, but install wants to reformat the entire disk. I don't >>recall how root ended up at s7, probably from the pre-install. >> >>Perhaps installing the mini-root in s7 would do it; is so how do I do >> > that? > >>I can mount s0, s3, and s7 and the files are there. Just >>can't boot. Perhaps the bootblock wasn't backed up and >>restored. >> >>Could any of the variables in eeprom be causing this? >> >>BTW, the machine is an Ultra 5. >> >>Thank you very much, >> >>Rod Miller >> >> >> > > |