I upgraded the disk in my home PC a few weeks back. I made partitions
the same size as the old ones, then ran "dd if=/dev/olddisk
of=/dev/newdisk" for each of them. A little messing with lilo.conf, and
linux started booting up again.
However, I can't get windows booting. I was warned that it could be
because I didn't have a /boot partition last time (windows was hda1,
linux / was hda2 - new disk has windows hda2, linux /boot hda1).
So, I deleted my new windows partition and my boot partition, and
recreated them so that even though /boot still started at cylinder 1, it
was hda2, and windows was hda1 again.
However, that's not booting either. I get nothing when I try and boot
it - not even a broken windows bootloader. I still have the old disk
hanging around, as I expected this to happen...any ideas how I fix it?
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!