[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bootable system backup



You have to do it that way 
/dev/hda1 minimum install (not necessary but might help) 
/dev/hda2 swap 
/dev/hda3 server1' / 
/dev/hda4 server2' / 
/dev/hda5 server3' / 
 
then start with root=/dev/hda1 
put server's1,2,3 kernels in /boot and write a boot config in lilo.conf for 
each server like : 
 
 
image=/boot/vmlinuz-server1 
	label=server1 
	root=/dev/hda3 
image=/boot/vmlinuz-server2 
	label=server2 
	root=/dev/hda4 
image=/boot/vmlinuz-server3 
	label=server3 
	root=/dev/hda5 
 
and of course one also for the minimum itself, like : 
image=/vmlinuz 
	label=linux 
	root=/dev/hda1 
 
then start lilo 
 
you can now boot with your hard drive, at lilo prompt just give server1 if you 
want to start the hard drive as server1, for example. 
 
Also, there some file you have to care about like /etc/fstab 
juste set in the /etc/fstab of server1 that / is /dev/hda3 and swap hda2, in 
server2 / is /dev/hda4 and swap hda2 and so on. 
This because, everything is going to be on the slash an not partitioned into 
different file systems (/, /usr, /var/, /tmp, /home, /whatever). 
 
JM 
 
 
 
 
 
Quoting Russell <rjshaw@iprimus.com.au>: 
 
> Hi, 
>  
> I want to make a complete bootable backup of my debian 3 system 
> on to a removeable hard disk. I've got one swap partition, and 
> a main partition for everything else (ext2). 
>  
> How do i copy any boot files that need to be on a certain 
> part of the hard-disk? The hard disks are different sizes. 
>  
>  
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact 
> listmaster@lists.debian.org 
 
 
--  
Q: What is the difference between open-source and commercial software?  
A: If you have a problem with commercial software you can call a phone  
   number and they will tell you it might be solved in a future version.  
   For open-source sofware there isn't a phone number to call, but you  
   get the solution within a day.

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/



Reply to: