lastletter 发表于 2007-06-18 12:25

dd启动时提示

在系统下执行
dd if=/ dev/ rdsk/ c0t2d0s2 of=/ dev/ rdsk/ c0t3d0s2 bs=1024k count=1

用c0t3d0启动提示如下:
Rebooting with command: boot disk3                                    
Boot device: /pci@1f,4000/scsi@3/disk@3,0File and args:
Boot load failed.
The file just loaded does not appear to be executable.



解决办法:
boot cdrom -s

# fsck /dev/rdsk/c0t3d0s0
** /dev/rdsk/c0t3d0s0
BAD SUPER BLOCK: BAD VALUES IN SUPER BLOCK
USE AN ALTERNATE SUPER-BLOCK TO SUPPLY NEEDED INFORMATION;
eg. fsck [-F ufs] -o b=#
where # is the alternate super block. SEE fsck_ufs(1M).

#fsck -y -F ufs -o b=32 /dev/rdsk/c0t3d0s0



# mount /dev/dsk/c0t0d0s0 /a
    # cp /platform/`uname -m`/ufsboot /a/platform/`uname -m`/
    # umount /a
    # reboot

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/40476/showart_323601.html
页: [1]
查看完整版本: dd启动时提示