dd or cp:
dd if=/dev/hda of=/dev/hdd where /dev/hdd is
a blank disk of equal or larger size. This will overwrite any data
already on /dev/hddcp -ax / /path/to/backup/directory
cd /usr/src/linuxmake menuconfig or make xconfigmake dep && make && make modules &&
make modules_install && make instally to have lilo install
the new kernel.
raidtools2 package.apt-get install raidtools2 If you are using a different
distribution, install the package using your normal package installation
tool. On Debian, you will be asked whether you want to start all RAID
arrays described in /etc/raidtab at system startup. Say
yes to this. Note that for the array to bootable, you will still
need to add it to /etc/lilo.conf. This is explained later in
this document.
raidtools2 package contains the
following tools:arytst |
detect_multipath |
lsraid |
mkraid |
raid0run |
raidhotadd |
raidhotgenerateerror |
raidhotremove |
raidreconf |
raidsetfaulty |
raidstart |
raidstop |
/etc/lilo.conf and
write down its value (look for a line that starts with
default=). In this example, we will assume that the label is
linux
/etc/lilo.conf and write down its
location (look for a line that starts with boot=). In this
example, we will assume that it is /dev/hda
/etc/lilo.conf and write down its
location (look for a line that starts with root=). In this
example, we will assume that it is /dev/hda1