Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Problem With Grub, error code: 16
ebbinger_413
post Oct 14 2005, 02:25 PM
Post #1


Administrator [level 69]
Group Icon

Group: Members
Posts: 240
Joined: 12-April 05
From: USA
Member No.: 3,911



this was a confusing topic to post...it is a mixture of problems...both hardware and software. and it has to deal with both linux and windows...but i decided to put it here because the main problem is the linux.

i had dual booted my machine with linspire 5.0 and windows xp...since i did linspire 5.0 last...like i am suppose to, it used the grub boot loader. i decided after a while to get rid of linspire and just use vpc within windows to mess around with it. so i formated the partition within windows (prolly not the best idea). this got rid of the os but kept the bootload (which i had expected and was fine with). so when i turn my computer on it brings up the grub boot loader and has me choose between linspire 5.0, diag tools, redect, or windows xp....well...linspire is obviously gone so that just freezes...duh...the diag tools and redect tool still works obviously but does no good. so i just select windows xp and i was fine with that and didnt feel like puting the windows boot loader back on. but then just the other day i swapped my cd burner with a dvd burner to burn amityville horror for my g/f and i started windows copied the cd...no problems what so ever. i shut it down afterwards and went to bed. this morning when i woke up i started my computer and it started loading the grub boot loader and came up with an error (pissing me off to no point) it said loading grub v. w/e then said failure to load (or sumtin) and error 16...thats it...didnt do nuttin else. i restarted a couple times...same thing obvoiusly....

what is error 16!!!! was this caused by the hardware switch ? or is this just sum timeout with linspire's grub boot loader or what !

I NEED MY COMPUTER BACK sad.gif unsure.gif
Go to the top of the page
 
+Quote Post
abhiram
post Oct 14 2005, 05:27 PM
Post #2


Hedonist at large
Group Icon

Group: Members
Posts: 610
Joined: 30-July 05
From: another realm
Member No.: 7,524



You shouldn't have any problem with this one if you still have the your windows installation CD. You've actually removed the files necessary for grub to function properly, hence it isn't working now. I had the same problem a year ago. This can be fixed by restoring the windows Master Boot Record (MBR).

Boot from the Windows XP CD and let all the initial information whiz past. When you come to the first interactive screen, it says 'Press R to start recovery console'. Press R there and then it takes you to a black screen asking to select the type of keyboard. Don't press anything if you've got the default keyboard. Next it shows you the windows installations you've got. Since you've got only one windows installation, it should show something like:

CODE


1. C:\WINDOWS

Enter your choice:


Enter '1' (one) as your choice and then it asks you for your adminstrator password. Enter the adminstrator password and you're then given a command prompt. At the command prompt you have to type the following command as it is:

CODE

fixmbr


After this, type 'exit' and the system will reboot. Remove the CD and you should boot into Windows without any problems.

To get more information you can go here.

Another way would be to get some Linux rescue disk (I used Mandrake 10.1 install disk) and boot into rescue mode and select 'Restore Windows boot partition'.
Go to the top of the page
 
+Quote Post
ebbinger_413
post Oct 14 2005, 06:07 PM
Post #3


Administrator [level 69]
Group Icon

Group: Members
Posts: 240
Joined: 12-April 05
From: USA
Member No.: 3,911



thanx...that refreshes my memory too...cause i had used the mandrake cd to restore the mbr before...but i have never seen it done with the windows xp cd...i actually thought they were stupid enough not to have a way to fix it.... thanks....but my real question is why did it do it all of a sudden, cause i had rebooted it tons of times after i had deleted the linspire partition and then all of a sudden the thing quit on me...it makes no sense to me...but w/e...i figured just maybe the hardware change trigered sumtin...but what would i know (im no linux pro)
Go to the top of the page
 
+Quote Post
abhiram
post Oct 14 2005, 06:34 PM
Post #4


Hedonist at large
Group Icon

Group: Members
Posts: 610
Joined: 30-July 05
From: another realm
Member No.: 7,524



That's something I don't know smile.gif. I had the same problem with LILO when I formatted my Linux partition from windows. It would just display 'LI' on the screen and hang up.
Go to the top of the page
 
+Quote Post
yordan
post Oct 14 2005, 10:09 PM
Post #5


Way Out Of Control - You need a life :)
Group Icon

Group: [MODERATOR]
Posts: 1,980
Joined: 16-August 05
Member No.: 7,896



QUOTE
i figured just maybe the hardware change trigered sumtin...but what would i know (im no linux pro)

I simply think that when you installed your DVD, Win XP tried to write some info on the MBR. And the MBR was not exactly as XP expected it to be (never modified by something other than Microsoft), and the no-standard thing which happened to work did not work any more.
Go to the top of the page
 
+Quote Post
evought
post Oct 15 2005, 01:51 AM
Post #6


Advanced Member
Group Icon

Group: Members
Posts: 199
Joined: 3-October 05
Member No.: 8,888



QUOTE(ebbinger_413 @ Oct 14 2005, 01:07 PM)
thanx...that refreshes my memory too...cause i had used the mandrake cd to restore the mbr before...but i have never seen it done with the windows xp cd...i actually thought they were stupid enough not to have a way to fix it.... thanks....but my real question is why did it do it all of a sudden, cause i had rebooted it tons of times after i had deleted the linspire partition and then all of a sudden the thing quit on me...it makes no sense to me...but w/e...i figured just maybe the hardware change trigered sumtin...but what would i know (im no linux pro)
*



It has to do with the fact that Windows did a partial format. Rather than erase every byte, it just put an allocation table at the top of the disk which said the rest was free space. Now, grub had a disk offset stored in the bootloader which pointed to the space where your linux partition used to be and where the bootloader files just happened to still exist. Grub does not deal with file systems per se, just the hard physical addresses, so it had no way to know that file had been 'deleted', and it continued to function just fine.

Now, at some point, Windows actually allocated and used those blocks of disk, probably for the mpeg you were burning. Now, all of a sudden, grub looks for its data and finds *video* and has a fit.

It is basically a random time bomb. Some of the viruses that can unformat themselves work essentially the same way.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. No Sound On Creative Pci 128..(7)
  2. Grub Error After Reinstalled Winxp(11)
  3. Restoring Grub Boot Loader(9)
  4. Using Ndiswrapper In Fedora Core 6(4)
  5. Ubuntu 7.10 + Windows Xp Dual Boot(6)
  6. Strange Error When Trying To Install Fedora Core 9(5)
  7. Linux Basic Command - For Storing Compilation Error To File(1)


 



- Lo-Fi Version Time is now: 7th September 2008 - 11:26 PM