Web Console Access for Azure Virtual Machine? -
there's way access virtual machine boot problems in windows azure ?
i have linux vm , misconfigured swap file causing boot problems azure dont let me check details. in portal have option restart or shutdown or delete.
when google @ problem solution found is:
- download azure hard disk drive attached virtual machinne
- mount locally on virtual instance on pc
- fix configuration , save it
- upload whole hd azure vm , pray.
any other solutions ?
digitalocean has webinterface let see boot procces on vms. there on azure ?
when contact azure support give solution:
as console access not available feature yet in azure, mounting problem os disk data disk on working vm correct changes file system configuration:
a = original vm (inaccessible vm) b = new vm (new temp vm)
1) stop vm via azure management portal
2) delete vm select “keep attached disks”
3) once lease cleared, attach data disk vm b via azure portal, virtual machines, select “a”, attach disk
4) on vm “b” disk attach , can mount it.
5) locate drive name mount, on vm “b” in relevant log file note each linux different.
grep scsi /var/log/kern.log (ubuntu)
6) mount attached disk onto mountpoint /tempmount
df -h mkdir /tempmount mount /dev/sdc1 /tempmount df –h
7) change /etc directory original os disk resides
cd /tempmount/etc/ cp fstab fstab_orig
8) have made backup of fstab can proceed make changes require using vi, nano or preferred text editor.
vi fstab cd / umount /tempmount
9) detach disk vm b via management portal
10) recreate original vm (create vm gallery, select disks) see disk referring vm – select original cloud service name.
i think there best solution now.
Comments
Post a Comment