[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] resize file disk iommu xp won't boot



On Fri, Jan 23, 2009 at 5:47 PM, Daniele Palumbo <daniele@xxxxxxxxxxxx> wrote:
> /home/winxp.img is 4 GB, i have to expand it to 8 GB.
>
> i have tried both dd with in append mode and dd another 4 GB file and then cat
> tempfile >> winxp.img.

I hope you have you original winxp.img handy. I have a (hopefuly
wrong) hunch that you've messed up your data.

>
> when i boot xp, i can see the correct disk size, but it stop at "Booting from
> Hard Disk...".
>
> now on, i have tried to dd to zero the first 446 byte with a live cd

446? I thought MBR is 404 bytes?

> still get the error.

Try these, and post the output.
ls -lsh /home/winxp.img
losetup -f /home/winxp.img
losetup -a
fdisk -l /dev/loop0 (or whatever loop holds winxp.img)
losetup -d /dev/loop0

My guess is :
- fdisk still says 4G disk, OR
- you get a big number of cylinders

Regards,

Fajar

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.