Sponsored Content
Top Forums UNIX for Advanced & Expert Users Grub - how to boot a copy of Linux (full system backup) Post 302765975 by coolatt on Monday 4th of February 2013 02:55:05 AM
Old 02-04-2013
Quote:
Originally Posted by Praveen_218
Its easy, a two step process.
You only need to edit grub.conf to add another boot option only for the vmlinux image you get into SystemBackup02/boot directory. Run 'install-grub /dev/<device holding SystemBackup02>'.

Hope both primary and backup machines have same architecture & device configurations!!!

A word of caution: It's a bit risky with little scope for mistakes; however don't assume that you are doomed on your mistake (until you delete your own data), if the backup system doesn't boot. You'll need to re-boot them again with a backup CD images and mount the drives temporarily and re-do the process correctly, BUT this time differently (mind that mounting may change paths). I've landed into mess and bounced back too but tensions run always high.
Do I need to absolutely reinstall Grub? (Its a bit scary for me even though its not a PROD Machine Smilie )

Also note that the "SystemBackup02" is just another directory on the same disk /dev/sda.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Can't get GRUB to boot Linux!!!

I have installed Linux 7.2 on a IBM xseries 235 server with 5 scsi hard drives and ServerRaid-5i Ultra320 scsi controller. I started my installation by configuring the raid controller. I created 2 arrays, raid 1 and raid5. I then proceeded to install Linux and load the drivers. After the... (2 Replies)
Discussion started by: cstovall
2 Replies

2. Red Hat

linux will not boot, boot to grub prompt

my redhat 9 will not boot. We had a power failure and when the power came back, my redhat linux will not boot. The machine come up to grub prompt. I tried the following from grub prompt root (hd0, then press tab key partition num:0 filesystem type unknown, partition type 0x83... (7 Replies)
Discussion started by: hassan2
7 Replies

3. UNIX for Dummies Questions & Answers

Full System Backup / Cloning HPUX

I am new to UNIX and need help in cloning a HPUX 10.2 Ace 5, can anybody please guide me in making a full system backup. Real Chess (0 Replies)
Discussion started by: real-chess
0 Replies

4. Linux

full system backup script

Please help. I am new to linux. I wrote a script to run the backup on lunix machine but the job gave me an error. I am using Linux 2.6.14.3. Below is the sample of my script can anyone tell me where went wrong? Thanks in advance. #!/bin/sh dat=$(date +%d%b%y)... (5 Replies)
Discussion started by: clement
5 Replies

5. UNIX for Dummies Questions & Answers

System full backup to tape

hi, Recently, I had receive one system. it's run on the unix tru64 server. I looking some log files when i know don't work few months age system backup to tape. Below error: INFO:Tape backups to tape tape0 starting for backup list: slot2:/disk4 Backup Command Variable... (0 Replies)
Discussion started by: Tlg13team
0 Replies

6. Solaris

full system backup

I have unix server with OS 5.8 ,,, I tried ufsdump 0ua -f /dev/rmt/0 / to perform full system backup on tape but I failed could any one give a procedure for full system backup on solaris machine using tapes??? (1 Reply)
Discussion started by: mm00123
1 Replies

7. UNIX for Dummies Questions & Answers

Full System Backup Sco 5.0.5

I would like to know if I can do a full system back up on my Unix Sco openserver 5.0.5 Machine. If so, What is the syntax to do this or where can I find this information at? Also, is it possible to make this tape bootable so that I can easily do a full system restore? Any information on... (2 Replies)
Discussion started by: nellenodrog
2 Replies

8. HP-UX

HP-UX Full System Backup with fbackup

Hello, I'm still new in HP-UX backup and I want to do a FULL BACKUP of HP-UX server to TAPE device. After reading on several forums and posts, i have list down several steps on how to do a full backup on HP-UX with fbackup. I would like the gurus here to comment/advise on the steps below 1)... (4 Replies)
Discussion started by: miskin
4 Replies

9. UNIX for Advanced & Expert Users

how to make a full system backup excluding data and restoring it to a new system

Hi, In order to have a sand box machine that I could use to test some system changes before going to production state, I'd like to duplicate a working system to a virtual one. Ideally, I'd like to manage to do it this way : - Make a full system backup excluding the user file system (this... (7 Replies)
Discussion started by: pagaille
7 Replies

10. Solaris

Help - Chosing backup way (full system + zones)

Hello i am new on Solaris, and i need to migrate my old AIX 5.3 to Solaris 11.2 Now i have all apps working fine but i have the backup cause i was reading and i have not idea about what method must i choose. Btw on AIX i had a mksysb backup to restore all system and obviously another backups to... (4 Replies)
Discussion started by: thorin666
4 Replies
BOOTCDBACKUP(1) 						   bootcd utils 						   BOOTCDBACKUP(1)

NAME
bootcdbackup - create a bootable offline backup of a unix system SYNOPSIS
bootcdbackup [-i] [-v] [-s] [-c <config directory>] [-url <url] [-nomount] [-2diskconf <file>] <dev> <name> <builddir> DESCRIPTION
bootcdbackup creates a offline backup from a installed system. You need a running bootcd to boot the system with. This CD/DVD is booted on the system and bootcdbackup creates a bootable CD/DVD with the bootcd kernel and the backup disk as tar-file. To restore or clone the system, boot the CD/DVD image and install it with bootcd2disk -c <name> on the system. bootcdbackup can try to discover the disk partition by searching for fstab on the given partition. A other way to backup the partition ta- ble is the program bootcdmk2diskconf which creates a configuration file on a running system. OPTIONS
-i The bootcdbackup runs in interactive mode and you can run each function manually. This option is useful for debugging. -v The option "-v" (verbose) adds messages on running. -s This option can be used to disable interactive questions and to try to ignore errors. -c <config directory> The configuration directory which includes the file "bootcdbackup.conf", default is "/etc/bootcd". -url <url> If bootcdbackup is slow on your system (because of a slow CD/DVD drive or the HP ILO virtual CD interface), you can use an image server to get the image from. bootcdbackup use the SWAP partition of your upcoming system as temporary space and copy the image from the configured image server to this partition and use it as image. The image server url is configured with this option. -nomount The target disk should not be mounted and no search for fstab is done. --cpio Normally as backup tool star will be used if selinux files have to be backed up and cpio will be used if not. With this option the usage of cpio can be forced. --star Normally as backup tool star will be used if selinux files have to be backed up and cpio will be used if not. With this option the usage of star can be forced. -2diskconf <file> The parameter configures a bootcd2disk.conf for the restore of the system done by bootcd2disk. The configuration file can be created with the command bootcdmk2diskconf. <dev> Configures the device where bootcdbackup finds the file "fstab" and discover the configuration for the restore. <name> The name of the backup (no blanks!) is used on the creation time and to restore the backup with bootcd2disk -c <name>. <builddir> Builddir is an directory on the backup system where bootcdbackup build the backup CD/DVD. Space for the CD/DVD image, for compression and the data is needed! All other configuration has to be done in the config files. FILES
/etc/bootcd/bootcdbackup.conf Configuration for bootcdbackup. SEE ALSO
Documentation in bootcdbackup.conf bootcdbackup.conf(5), bootcd(1), bootcdflopcp(1), bootcdwrite(1) AUTHOR
This manual page was written by Bernd Schumacher <bernd.schumacher@hp.com> and Carsten Dinkelmann <Carsten.Dinkelmann@foobar-cpa.de> for the Debian GNU/Linux system (but may be used by others). bootcdbackup 2007-07-05 BOOTCDBACKUP(1)
All times are GMT -4. The time now is 11:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy