LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-15-2004, 11:55 AM   #1
Rohan_mk1
LQ Newbie
 
Registered: Aug 2004
Posts: 27

Rep: Reputation: 15
How to back up boot sector?


I usually perform a quick Windows reinstall to avoid the long installation process: I restore a saved Windows partition image. The problem is that sometimes installation goes wrong and the Windows bootloader is deleted, so I have to reinstall it manually (this is quite problematic with an HP version, and the image doesn't include the bootloader).
I have 2 disks with several partitions. The most important ones:

/dev/hda9/ - Linux
/dev/hdb1/ - Windows
My machine boots from hda, by lilo

How do I save the Windows boot loader and is it in MBR?
 
Old 12-15-2004, 01:07 PM   #2
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
dd if=/dev/hdb of=bootsect.img bs=512 count=1
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Boot Sector phoenix7 Linux - General 1 11-25-2004 10:22 AM
Boot Sector on dual boot PC. Remove Mandrake and replace with FreeBSD Phin666 *BSD 1 10-30-2004 05:02 PM
using DD to copy the boot sector in and out antken Linux - General 5 04-03-2004 06:30 PM
No boot sector found, error at boot areeves88 Linux - General 3 01-18-2003 08:13 PM
How do I restore the old boot sector with... jblaven Linux - Newbie 45 06-01-2002 03:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration