# fdisk -l host.img
You must set cylinders.
You can do this from the extra functions menu.
Disk host.img: 0 MB, 0 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
host.img1 * 1 73 586341 83 Linux
host.img2 74 136 506047+ 82 Linux swap / Solaris
host.img3 137 209 586372+ 83 Linux
host.img4 210 4865 37399320 83 Linux
Partition 4 has different physical/logical endings:
phys=(1023, 254, 63) logical=(4864, 254, 63)
# /sbin/fdisk -lu host.img
You must set cylinders.
You can do this from the extra functions menu.
Disk host.img: 0 MB, 0 bytes
255 heads, 63 sectors/track, 0 cylinders, total 0 sectors
Units = sectors of 1 * 512 = 512 bytes
Device Boot Start End Blocks Id System
host.img1 * 63 1172744 586341 83 Linux
host.img2 1172745 2184839 506047+ 82 Linux swap / Solaris
host.img3 2184840 3357584 586372+ 83 Linux
host.img4 3357585 78156224 37399320 83 Linux
Partition 4 has different physical/logical endings:
phys=(1023, 254, 63) logical=(4864, 254, 63)
# mount -o loop,offset=$((3357585*512)) /home/sergei/22/host.img /home/sergei/22/mnt/
и все вроде ок, но...
/22/mnt# ls
bin cdrom etc initrd lost+found mnt proc sbin sys usr
boot dev home lib media opt root srv tmp var
нет доступа к директориям:
/etc
/initrd
/sys
/usr
/opt
/root
/srv
/var
Ко всему остальному доступ есть на чтение-запись...
i/o error говорит о том что фс у вас битая, а точнее образ.
Такое ощущение что партиция с фс у вас "обрезана" с конца. Попробуйте скопировать нужную вам партицию в отдельный файл (dd в помощь) и проделать с ней fsck
у вас скорее всего образ из двух или более частей состоит. >Partition 4 has different physical/logical endings:
>phys=(1023, 254, 63) logical=(4864, 254, 63)
Следующее: никто не знает что за файл валялся неподалеку hosn.img.cow???
Покаовыряв скрипты понял что он тоже как-то относится к образу... файл типа User mode linux COW file...
В образе изменения сохраняются... а вот при старте этой вирт.машины ничего... чую этот файл к этому какое-то отношение имеет... но какое именно и как это применить пока понять не могу...