It certainly dont like being ghosted between machines!
![]()
It certainly dont like being ghosted between machines!
![]()
Are you quite sure it's GRUB? I can't see any obvious clues...
"Well, there was your Uncle Tiberius who died wrapped in cabbage leaves but we assumed that was a freak accident."
i don't think it's made with ghost in mind - i've used "dd" without issue before
boot some kind of linux livecd, mount your / partition somewhere, chroot /path/you/mounted/to, mount your /proc /boot and /sys, run your distro's grub installer (e.g. grub-install (hd0) on debian to install to the first hard disk on the system)
Kill it with fire!
Is it a dual boot machine? What distro is it?
Firstly it looks as if the MBR is corrupted, so provided the linux partitions are intact, the situation shoulod be retrievable.
Assuming it isn't dual boot and assuming your linux partitions are all intact (and I speak as someone who recently carelessly deleted the boot partition on a dual boot machine! DOH) you could re-iinstall GRUB by making a BRUB boot floppy.
You may be able to do this from your original distro, or from a live CD distro (which will also allow you to inspect the partitions on the HDD to see if the partitions are still intact, as suggested in the previous post)
Once you have created a GRUB boot floppy, you can reboot the machine using the floppy and then re-install GRUB to he HDD using the grub-install script (for the first IDE drive the command would be grub-install /dev/hda . This will re-install GRUB to the MBR and the
/grub directory You should then be able to rebuild (if you have to) the GRUB configuration file.
GRUB is a pretty complex thing - for full details have a look at some online documentation, or "Linux in a Nutshell" (O'Reilly) pages 508 to 534
There is also more info, and you can download GRUB here... http://www.gnu.org/software/grub/
Last edited by peterb; 08-03-2006 at 10:26 AM.
(\__/)
(='.'=)
(")_(")
![]()
Been helped or just 'Like' a post? Use the Thanks button!
My broadband speed - 750 Meganibbles/minute
It was dual boot... not anymore.
Was due for a HDD upgrade, removing win2k/redhat and just winxp installing.
I just wondered how itd survive a ghostcast. The created image was fine, but it hated being ghosted onto a bigger hdd.
Not that Im fussed as it isnt my machine luckily *hugs ubuntu*
If it was win2k, booting from the W2K cd into console mode and running the fixmbr utility will write the MBR so you can access windows. You would still need to install Grub or lilo to access linux
(\__/)
(='.'=)
(")_(")
![]()
Been helped or just 'Like' a post? Use the Thanks button!
My broadband speed - 750 Meganibbles/minute
There are currently 1 users browsing this thread. (0 members and 1 guests)