PC won't boot Puppy or Windows XP (grub appears damaged)
PC won't boot Puppy or Windows XP (grub appears damaged)
My system:
Biostar M7NCG 400 motherboard (FSB running at 266Mhz)
AMD Athlon XP 2000+
Seagate Ultra ATA 100 40Gb
Crucial DDR RAM PC2700
I have a single hard drive partitioned with Windows XP and Puppy (can't remember which version was installed -- oops)
Fdisk shows my partitions:
/dev/sda1 (boot) NTFS
/dev/sda2 Linux
I recently had the cmos battery go bad and upgraded my memory from 500Mb (PC2100) to 2Gb (PC2700). I don't know if these issues are related to my problem, but they might be in some way. I ran memtest and it says the memory is working fine.
So here is my problem...
My pc won't boot. It appears that I managed to damage the Grub installation somehow. I originally thought I had a virus so I deleted both partitions using Testdisk. I thought I would be able to reformat the hard drive after I deleted the partitions. I have since restored the partitions using Testdisk, but I seem to have damaged the boot loader in the process.
Have I destroyed my HD? Can I fix this problem? When I boot the PC, I get Grub error 17 so it seems like part of Grub is there, but it can't find the kernel or something?
Biostar M7NCG 400 motherboard (FSB running at 266Mhz)
AMD Athlon XP 2000+
Seagate Ultra ATA 100 40Gb
Crucial DDR RAM PC2700
I have a single hard drive partitioned with Windows XP and Puppy (can't remember which version was installed -- oops)
Fdisk shows my partitions:
/dev/sda1 (boot) NTFS
/dev/sda2 Linux
I recently had the cmos battery go bad and upgraded my memory from 500Mb (PC2100) to 2Gb (PC2700). I don't know if these issues are related to my problem, but they might be in some way. I ran memtest and it says the memory is working fine.
So here is my problem...
My pc won't boot. It appears that I managed to damage the Grub installation somehow. I originally thought I had a virus so I deleted both partitions using Testdisk. I thought I would be able to reformat the hard drive after I deleted the partitions. I have since restored the partitions using Testdisk, but I seem to have damaged the boot loader in the process.
Have I destroyed my HD? Can I fix this problem? When I boot the PC, I get Grub error 17 so it seems like part of Grub is there, but it can't find the kernel or something?
Re: PC won't boot puppy or windows xp (grub appears damaged)
GRUB has two components - stage1 is in the MBR of your hard drive and stage2 is in the boot partition. So if you deleted your partitions, you have erased stage2 and your system won't boot.boron wrote:I originally thought I had a virus so I deleted both partitions using Testdisk. I thought I would be able to reformat the hard drive after I deleted the partitions. I have since restored the partitions using Testdisk, but I seem to have damaged the boot loader in the process.
Boot off your Puppy CD, go to the System menu and run Gparted.
Delete all your current partitions and rebuild them (assuming that you willing to lose the data).
Then run Grub4Dos Bootloader Config. It will rebuild GRUB for you.
I'm running Lucid Puppy 5.1 and I don't see that option under Menu > System.
I've tried Menu > System > Grub bootloader config and Bootmanager configure bootup. Neither of those choices have worked for me. When I try to run [bootmanager configure bootup], it gives me an error message and says I have to create a personal save file first even though I thought I already had one. Isn't this the same file that is created when you save a file at the end of a session with the bootable cd?
By the way, Gparted says my drive is unallocated. It doesn't show my partitions even though Testdisk and Fdisk show them.
I've tried Menu > System > Grub bootloader config and Bootmanager configure bootup. Neither of those choices have worked for me. When I try to run [bootmanager configure bootup], it gives me an error message and says I have to create a personal save file first even though I thought I already had one. Isn't this the same file that is created when you save a file at the end of a session with the bootable cd?
By the way, Gparted says my drive is unallocated. It doesn't show my partitions even though Testdisk and Fdisk show them.
Are you talking about Grub4Dos? It's definitely in Lupu 528, but maybe the early versions don't have it. You should upgrade to a newer Puppy.boron wrote:I'm running Lucid Puppy 5.1 and I don't see that option under Menu > System.
If Gparted doesn't show any partitions, you need to fix this first. Look in the Gparted menu for Device > Create Partition Table. Then build new partitions.By the way, Gparted says my drive is unallocated. It doesn't show my partitions even though Testdisk and Fdisk show them.
Bootmanager Configure Bootup does not apply to your situation. I don't see how you could already have a working save file when your hard drives are corrupted. Just to be sure, boot off the CD using the "puppy pfix=ram" option.I've tried Menu > System > Grub bootloader config and Bootmanager configure bootup. Neither of those choices have worked for me. When I try to run [bootmanager configure bootup], it gives me an error message and says I have to create a personal save file first even though I thought I already had one. Isn't this the same file that is created when you save a file at the end of a session with the bootable cd?
I tried booting with the pfix=ram option and I got a message saying "could not find kernel."
Gparted won't let me create a new partition table -- it just says "error creating partition table."
I have a cd with Lupu 5.2.8, but it gives me this message after trying to boot: "kernel panic - not syncing: VFS: unable to mount root fs on unknown block (0,12). Does this mean I had a bad iso image when I burned the disk?
Gparted won't let me create a new partition table -- it just says "error creating partition table."
I have a cd with Lupu 5.2.8, but it gives me this message after trying to boot: "kernel panic - not syncing: VFS: unable to mount root fs on unknown block (0,12). Does this mean I had a bad iso image when I burned the disk?
Did you type "puppy pfix=ram"?boron wrote:I tried booting with the pfix=ram option and I got a message saying "could not find kernel."
If you ignore that error, can you still create new partitions in the unallocated space?Gparted won't let me create a new partition table -- it just says "error creating partition table."
You may want to make a CD of Parted Magic and use it to clean up your hard drive.
I can't find any way to ignore the error in Gparted about creating a new partition. It doesn't give me any options after I try to create a new partition -- it just says "error while creating table" and then I just click OK.
I downloaded Wary Puppy 5.3 and tried running Grub4Dos. The only way I was able to run this successfully was by installing it on a usb flash drive. I tried booting Windows after I booted Grub from the flash drive. Here's the message that was posted:
(hd1,0)
will boot NTLDR from drive=0x81, partition=0x0 (hidden sectors=0x3f)
It left a cursor next to a # prompt. Does that mean it booted into DOS or should it have booted Windows GUI?
The Grub4DOS boot menu did not list my Linux partition.
I am able to save the pup file because it saves to my usb flash drive not to the hard drive.
I was able to boot Puppy using the puppy pfix=ram command. I goofed the first time and didn't type "puppy" first. When I run Puppy totally in RAM, it is mounting/showing my Windows partition on the desktop, but when I click on the icon nothing happens. It won't open to show me any files.
I downloaded Wary Puppy 5.3 and tried running Grub4Dos. The only way I was able to run this successfully was by installing it on a usb flash drive. I tried booting Windows after I booted Grub from the flash drive. Here's the message that was posted:
(hd1,0)
will boot NTLDR from drive=0x81, partition=0x0 (hidden sectors=0x3f)
It left a cursor next to a # prompt. Does that mean it booted into DOS or should it have booted Windows GUI?
The Grub4DOS boot menu did not list my Linux partition.
I am able to save the pup file because it saves to my usb flash drive not to the hard drive.
I was able to boot Puppy using the puppy pfix=ram command. I goofed the first time and didn't type "puppy" first. When I run Puppy totally in RAM, it is mounting/showing my Windows partition on the desktop, but when I click on the icon nothing happens. It won't open to show me any files.
Last edited by boron on Thu 29 Nov 2012, 23:42, edited 1 time in total.
Thanks for all the help yesterday!
I tried using Partedmagic yesterday, but had trouble booting it. I get the first menu which gives me access to some programs.
I'm running a scan of my hard drive right now using the MHDD program. The scan is showing a lot of errors. Should I go ahead and erase everything? If I do, what is the next step? I just want a clean hdd so I can install Puppy. I am not going to partition the drive after all this mess. I'm kicking Windows to the curb.
I tried using Partedmagic yesterday, but had trouble booting it. I get the first menu which gives me access to some programs.
I'm running a scan of my hard drive right now using the MHDD program. The scan is showing a lot of errors. Should I go ahead and erase everything? If I do, what is the next step? I just want a clean hdd so I can install Puppy. I am not going to partition the drive after all this mess. I'm kicking Windows to the curb.
Last edited by boron on Fri 30 Nov 2012, 16:48, edited 1 time in total.
Try this first: Boot off a Puppy CD and run
Does that generate error messages?
Then run Gparted again and try to make a new partition table.
Code: Select all
dd if=/dev/zero of=/dev/sda bs=512 count=1
Then run Gparted again and try to make a new partition table.