Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-30-2006, 11:44 AM   #1
Registered: Jun 2006
Distribution: Ubuntu
Posts: 35

Rep: Reputation: 16
No boot sector problem

I am running Fedora 5. I tried to create an image of my working partition, but did something wrong. Now the
computer states "No boot sector found."

I looked on line, found that by using my knoppix 5 live cd, I can boot as "linux rescue." I then can go into
a shell and using fdisk -l /dev/hda show a table that indicates that my boot partition is still there (hda1) and an unused partition that is uninitialized (/hda2). I tried to restore first grub then lilo, the bash shell does not find the commands.

However, as a beginner, I am stuck. I don't know what to do or search on further. I don't mind searching further; any suggestions on keywords so that I can learn a little and get the problem fixed? The solution would also be appreciated.


Old 11-30-2006, 12:26 PM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
What application or command-line tool did you use to make the image?

If it was command-line, what outputs did you see on the screen? Any errors?

Have you tried booting from the Fedora install cd? There may be a system repair option there.

You could also boot Knoppix and try to mount both partitions. Mount one, then cd to that partition's mount point. Do you see the file system there? Do the same with the second partition.

If you see the filesystem, cd to /var/log and check the contents of log files there, looking at the last couple of hundred lines of each. Do you see any errors?

Last edited by bigrigdriver; 11-30-2006 at 12:30 PM.
Old 11-30-2006, 12:39 PM   #3
Registered: Aug 2002
Posts: 20,653

Rep: Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652
Fedora default install creates two partitions. /boot and a LVM partition which contains everything else i.e. / and swap. As previously posted try booting the Fedora 1st install and boot rescue mode. You should be able to restore grub.
Old 12-01-2006, 11:30 AM   #4
Registered: Jun 2006
Distribution: Ubuntu
Posts: 35

Original Poster
Rep: Reputation: 16
Problem Solved-Thanks

Thank you for your assistance. I went back to the Fedora install DVD, and booted to linux rescue. Then I did a
chroot /mnt/sysimage,
then _,
then grub-intall /dev/hda.

Wonder of wonders, it worked and the system is back up to booting without a problem.

My next job is to learn to backup the hda1 so in the case of a problem, I will be able to start over without reinstalling everything.

Just as an aside, I did look in the /var/log folder, and under the boot logs (total of five) only one had an entry, and it was for something that was updated a week or so before the problem. The good news is now I see where log files are for a lot of items, and I will be able to look there for additional info. Thanks.

Old 12-01-2006, 01:51 PM   #5
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741
Newbie gold medal here:
  • writes well
  • takes initiative
  • says thank you


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Utterly fascinating boot sector problem: "Differences: (offset:original/backup)" Bert Linux - Software 4 07-01-2013 06:29 PM
cannot find boot sector for dual boot darinbolson Linux - General 21 02-05-2006 04:42 PM
Boot Sector Problem Synesthesia Linux - Software 1 11-01-2005 07:49 PM
"Boot sector" problem GruiX Linux - Software 3 11-09-2004 10:49 AM
Boot Sector on dual boot PC. Remove Mandrake and replace with FreeBSD Phin666 *BSD 1 10-30-2004 06:02 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:25 AM.

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