Mailinglist Archive: opensuse (3784 mails)

< Previous Next >
RE: [SLE] hard disk upgrade
  • From: Richard Booth <richard@xxxxxxxxxxxxxxxxxxxxxx>
  • Date: Mon, 1 Oct 2001 12:03:54 +0100
  • Message-id: <F15DED02B413D5119D0F00E02928D54625FA59@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Will this work with a resier filesystem?

thanks
Rich

> I'd use cpio in passthrough mode in combination with find, such as:
>
> cd /
> find . -xdev | cpio -pm /mnt/newroot
>
> It maintains permissions and does error checking etc... Works for
> everything, including /dev /proc! The -xdev stops find traversing
> devices, i.e. the above only copies the root fs, it doesn't do any
> other partitions mounted on /usr... Just do the same for each
> partition.
>
> With lilo you can do lilo -r /mnt/newroot, no need for a boot floppy!
> The box should then boot from the new disk...
>
> HTH,
>
> Mark

< Previous Next >