Simon Dickson wrote:
> I have used parted before to copy partitions, didnt do the boot sector but a
> boot disk and then run lilo/grub will fix that.
>> Simon
>> On Sat, 22 Jun 2002 03:50, Tom Mackey wrote:
>>>Hi,
>>The disc in my Linux machine is almost full and I would like to replace it
>>with a larger one. I can add the new dics to the machine and have it
>>running temporarly on the same IDE as the existing. How do I copy across
>>all the content of the old disc including boot sector, all existing setup
>>etc? The existing disc is just one / partition (+swap). I have tried
>>Google but failed to find a solution.
>>Tom Mackey
>>
Hmm, how about:
1. dd bs=32k if=/dev/hda of=/dev/hdb
2. reboot with new disk and use ext2resize to extend
your 1 partition to fill the disk (shouldn't affect
lilo I think?).
Padraig.
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!