This following section assumes that you’ve backed up to DVD-R using dar in the way detailed in my previous Linux backup article, which I’ve been citing above.
I did the system restore (as described below) using the gnome desktop. If this doesn’t work the first time, you can try the "failsafe terminal session" that you access at the login prompt under Sessions that does not include a Desktop.
After installing a minimal FC2 installation:
Restoring the Boot Partition
As way of background, the boot partition is the portion of the primary hard drive that stores the information required for a Linux workstation to boot Linux. The use of “partition” here actually means the same as it does on a Windows system, though the labeling is a bit different. On Windows, it’s likely to be C: and a logical D: drive. On a Linux box, it’s likely to be hda1 and hda2.
If you’ve never changed the boot setup on your regular desktop, skip to the next section, “Main Partition Restore.” Otherwise:
Copy the boot directory.
Note: adding mount point directory is not necessary.
(bootzip is a temporary directory to unzip the boot.zip directory to. The actual boot directory is in /mnt/temp inside the boot.zip file.)
Do a
The files are now copied. If you want to check, do this:
Now leave the /mnt/temp directory so you can unmount the boot directory:
In terminal mode, the lines in the command history can be read back via the up and down arrows. Any command you find that way can be entered with the Enter key. This is good for dealing with repetitive commands, such as the ones described in the next section.
mount /mnt/cdrom
mkdir /mnt/temp
mount -t ext3 /dev/hdb1 /mnt/temp
cd /
mkdir bootzip
cd bootzip
cd mnt
cd temp
ls
and you'll see the original boot directory. Now, copy the boot files into the boot partition:
cp -af --reply=yes * /mnt/temp
cd /mnt/temp
ls
cd /
umount /dev/hdb1
Page 3:
Main Partition Restore
![]()
« Previous Page
|
1
|
2
|
3
Next Page »
Stay connected and informed by visiting our Enterprise IT Community!

Become a member today for instant access to free InformationWeek research, expert advice, peer perspectives, and more on the following topics:
- Application Performance Management (APM)
- Security Management
- Mainframe 2.0
- IT Automation
- Service Assurance
Also, visit our Government, Retail and Financial Services groups to see how these technologies apply specifically to those industries.
NOTE: Offer valid for U.S., U.S. possessions, & Canada only.