I have before me not the bottle of choice, but a frontal lobotomy, in the guise of an HP Pavilion 6355, with its stock 4 GB HD and a newly added 40 GB drive. Linux has, of course, been migrated without issue, and I'm in the process of happily converting larger partitions to reiserfs as I write this.
\r\n\r\nDrives are both IDE. 4 GB: /dev/hda, 40 GB: /dev/hdb.
\r\n\r\nWindows is a bitch.
\r\n\r\nObjective: Get More Space for Windows. If nothing else, resize the 1.4 GB partition it's on to give it breathing room on the 4 GB. Preferably, move it to a 10 GB partition allocated at the start of the 40 GB drive. No Partition Magic or wotnot. The only installation media I can find are an HP Pavilion "rescue disk", which I suspect won't do.
\r\n\r\nThe infamous [link|http://support.microsoft.com/default.aspx?scid=KB;en-us;q166172|q166172] MSFT knowledgebase article seems to suggest that a full reinstallation is required, followed by a restore from backups. I don't think this is going to work, given the recovery media available.
\r\n\r\nWhat I've tried so far, unsuccessfuly, is to:\r\n\r\n
- \r\n
- Partition the new drive. \r\n
- Create a DOS filesystem on it, from within Linux: mkdosfs -F 32 /dev/hdb1 \r\n
- Copy contents of old partition to new partition via tar: cd /mnt/oldwindows; tar cvf - --preserve . | ( cd /mnt/windows; tar xvf - --preserve ) \r\n
- Boot the old Windows partition, reboot into DOS, and run sys > d: \r\n
- Attempt booting new partition (using LILO, which works for the old partition). Resulting message is "Operating system not found". \r\n
/etc/lilo.conf. The new Windows boot stanza is the last given.
\r\n\r\n\r\n\r\nlba32\r\nboot=/dev/hda\r\nroot=/dev/hdb3\r\ninstall=/boot/boot.b\r\nmap=/boot/map\r\nmessage=/boot/bootmess.txt\r\n# single-key\r\n prompt\r\n delay=40\r\n timeout=80\r\nvga=6\r\n\r\n# Boot up Windows by default (ugh!).\r\n#\r\ndefault=Windows98\r\n\r\n# Other OS -- Windows98\r\n other=/dev/hda1\r\n label=Windows98\r\n table=/dev/hda\r\n\r\nimage=/vmlinuz\r\n label=linux\r\n initrd=/initrd.img\r\n read-only\r\n vga=6\r\n\r\nimage=/vmlinuz.old\r\n label=linux-old\r\n read-only\r\n optional\r\n\r\nimage=/vmlinuz\r\n label=linux-olddisk\r\n root=/dev/hda5\r\n read-only\r\n optional\r\n append=single\r\n\r\n# Other OS -- Windows98 -- new disk\r\n other=/dev/hdb1\r\n label=Windows98-new\r\n table=/dev/hdb\r\n\r\n