Re: moving "/" sda4 --> sdb1
In article <[🔎] Pine.LNX.3.96.981003215117.10250B-100000@brahe.midco.net> you write:
>On Sun, 4 Oct 1998, John Leget wrote:
>
> : greetings,
> :
> : I need to move debian from drive 1 to drive 2 ( just deep sixed NT >;0)
> : ), what are the steps necessary.
>
>login as root
>
>mke2fs /dev/sdb1
>mount /dev/sdb1 /mnt
>cd /
>find . -xdev | cpio -padm /mnt
>umount /mnt
>vi /etc/fstab
>reboot
No, you also need to tell lilo to pass "root=/dev/sdb1" as parameter
(and probably to boot the kernel on /dev/sdb1 as well, else there
will be surprises when /dev/sda4 gets recycled).
Paul Slootman
--
home: paul@wurtel.demon.nl | work: paul@murphy.nl | debian: paul@debian.org
http://www.wurtel.demon.nl | Murphy Software, Enschede, the Netherlands
Reply to: