aix初始化记录2

强制解除所有占用
sudo fuser -k hdisk0.qcow2 2>/dev/null
sudo rm -f hdisk0.qcow2.lock
完整的一行命令解决方案
sudo lsof | grep hdisk0.qcow2 | awk '{print $2}' | xargs -r sudo kill -9 && sudo rm -f hdisk0.qcow2.lock

完全清除所有可能的锁和占用
sudo rm -f /home/hx2/桌面/qemu/hdisk0.qcow2.lock*  # 删除所有锁文件变种
sudo lsof | grep hdisk0.qcow2 || echo "无进程占用"  # 最终确认


#重新制作 hdisk0.qcow2
qemu-system-ppc64 -cpu POWER8 -machine pseries -m 4096 -serial stdio -drive file=hdisk0.qcow2,if=none,id=drive-virtio-disk0 -device virtio-scsi-pci,id=scsi -device scsi-hd,drive=drive-virtio-disk0 -cdrom /home/hx2/桌面/qemu/AIX7.2镜像/aix_7200-04-02-2027_1of2_072020.iso -prom-env "boot-command=boot cdrom:"

3-3-1-0-1-1-1
3 Entrez 3 pour effectuer l'installation en fran�ais.
3 Activation du mode maintenance pour la reprise
1 Acc�s � un groupe de volumes root
0 Suite
 1)   Volume Group 00000000000000000000019863f79d5d contains these disks:
          hdisk0  20480        00-10
1)   Volume Group 00000000000000000000019863f79d5d contains these disks:
          hdisk0  20480        00-10
Type the number of your choice and press Enter.

   1) Access this Volume Group and start a shell
   2) Access this Volume Group and start a shell before mounting filesystem

cat << EOF > /sbin/helpers/jfs2/fsck64
#!/bin/ksh
exit 0
EOF

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值