Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Misc > Archive::Off Topic

Archive::Off Topic Archive area for Off Topic's posts that were moved here after an inactivity period of 90 days.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 07-29-2003, 01:01 AM
velns
Fire Beetle
 
Join Date: Apr 2003
Posts: 10
Default

For any of those running linux, I just read a good article on backing up / restoring the boot sector on a disk, in a TechRepublic linux tips email. I will paste the contents here =>

BACK UP YOUR BOOT SECTOR

While there are many ways to back up your file system, such as rsync for
remote backups and tar or dd for local backups, there aren't as many
options for backing up your boot sector. However, having a backup of your
boot sector is equally important in the event of a system crash. For this
procedure, the dd tool is your best bet.

LILO, or any other boot loader, is generally installed on the boot
sector of the boot drive. After you've installed or modified your boot
sector and verified that it works, back it up by writing it to a file on
your hard drive or a floppy disk. For example:

# dd if=/dev/hda of=bootsector.img bs=512 count=1

or:

# dd if=/dev/hda of=/dev/fd0 bs=512 count=1

The first command writes the boot sector of your boot drive (in this
case, /dev/hda) to a file called bootsector.img in the current directory.
Replace /dev/hda with your boot drive, such as /dev/sda if you have a SCSI
drive, or /dev/hde if you boot off the first device on the third
controller, such as an ATA100 controller in a system with onboard ATA66
controllers.

If you ever need to restore from these images, reverse the "infile" (if)
and "outfile" (of) destinations. For example:

# dd if=bootsector.img of=/dev/hda

If it's stored on a floppy, use this:

# dd if=/dev/fd0 of=/dev/hda

Make sure that you use the right source and destination. If you
mistakenly write the floppy to the hard drive when you make a backup, you'll
damage your boot sector and won't be able to boot.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 12:45 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3