Results 1 to 8 of 8

Thread: Think I broke GRUB

  1. #1
    Time for Walkies... Atomic's Avatar
    Join Date
    Apr 2004
    Location
    Norfolk, UK
    Posts
    1,959
    Thanks
    0
    Thanked
    0 times in 0 posts

    Think I broke GRUB

    It certainly dont like being ghosted between machines!


  2. #2
    Ah, Mrs. Peel! mike_w's Avatar
    Join Date
    Oct 2003
    Location
    Hertfordshire, England
    Posts
    3,326
    Thanks
    3
    Thanked
    9 times in 7 posts
    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."

  3. #3
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS
    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)

  4. #4
    One skin, two skin......
    Join Date
    Jul 2003
    Location
    Durham
    Posts
    1,705
    Thanks
    0
    Thanked
    1 time in 1 post
    Kill it with fire!

  5. #5
    The late but legendary peterb - Onward and Upward peterb's Avatar
    Join Date
    Aug 2005
    Location
    Looking down & checking on swearing
    Posts
    19,378
    Thanks
    2,892
    Thanked
    3,403 times in 2,693 posts
    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

  6. #6
    Gentoo Ricer
    Join Date
    Jan 2005
    Location
    Galway
    Posts
    11,048
    Thanks
    1,016
    Thanked
    944 times in 704 posts
    • aidanjt's system
      • Motherboard:
      • Asus Strix Z370-G
      • CPU:
      • Intel i7-8700K
      • Memory:
      • 2x8GB Corsiar LPX 3000C15
      • Storage:
      • 500GB Samsung 960 EVO
      • Graphics card(s):
      • EVGA GTX 970 SC ACX 2.0
      • PSU:
      • EVGA G3 750W
      • Case:
      • Fractal Design Define C Mini
      • Operating System:
      • Windows 10 Pro
      • Monitor(s):
      • Asus MG279Q
      • Internet:
      • 240mbps Virgin Cable
    grub-install isn't always sucessful, I find the grub shell more hassle free.. by any means, overwrite grub on your boot disk. that should fix it.
    Quote Originally Posted by Agent View Post
    ...every time Creative bring out a new card range their advertising makes it sound like they have discovered a way to insert a thousand Chuck Norris super dwarfs in your ears...

  7. #7
    Time for Walkies... Atomic's Avatar
    Join Date
    Apr 2004
    Location
    Norfolk, UK
    Posts
    1,959
    Thanks
    0
    Thanked
    0 times in 0 posts
    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*

  8. #8
    The late but legendary peterb - Onward and Upward peterb's Avatar
    Join Date
    Aug 2005
    Location
    Looking down & checking on swearing
    Posts
    19,378
    Thanks
    2,892
    Thanked
    3,403 times in 2,693 posts
    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. A bit just broke off my x850 xt pe - help!
    By derthballs in forum Graphics Cards
    Replies: 12
    Last Post: 05-05-2005, 07:56 PM
  2. My Airport Express broke :(
    By Basher in forum Apple Mac
    Replies: 2
    Last Post: 21-01-2005, 02:40 PM
  3. shuttle sn45g broke?
    By mt50 in forum Help! Quick Relief From Tech Headaches
    Replies: 9
    Last Post: 27-06-2004, 06:16 PM
  4. GRUB dual boot problem
    By Steve in forum Software
    Replies: 2
    Last Post: 21-05-2004, 11:00 AM
  5. SATA Drive broke, need support asap!!!
    By royce in forum PC Hardware and Components
    Replies: 10
    Last Post: 20-05-2004, 12:48 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •