Problem No boot with users computer

Discussion in 'Software' started by greenbrucelee, Jan 12, 2010.

  1. greenbrucelee
    Highly Decorated Member Award

    greenbrucelee Zettabyte Poster

    14,292
    265
    329
    I have a user who has come to me for help, I am pretty sure I have the solution I just wanted to see what you guys thought.

    The user dual runs Windows 7 and Debian, he used partition magic to create a new partition from the space that it freed up (no reason given for why he did this).

    GRUB gets loaded but it stalls at the OS booting screen and the system will boot perfectly fine with the Live CD.

    However loading from the hard drive the system just stalls trying Windows or Linux.

    I have tried a repair install of Windows 7 however it says there is nothing wrong.

    When booting to Linux this measage appears Memory: 4059460k/4980736k available (2228k kernel code, 132280k reserved, 1081k data, 392k init) There is only 4GB ram in the system.

    I have tried swapping the ram about and trying new dimms which has the same result.

    I tried a CMOS reset which resulted in the system rebooting on its own 3 times before loading GRUB.

    I have also ran the hard drive makes diagnostic utlity which revealed nothing wrong with the hdd and this leads me to believe that the MBR has became corrupted during the resizing and creation of the new partition.

    Do you think I am correct in assuming that? or is there anything else I could try?
     
    Certifications: A+, N+, MCDST, Security+, 70-270
    WIP: 70-620 or 70-680?
  2. zr79

    zr79 Byte Poster

    199
    1
    17
    Has it ever worked as i am pretty sure you have to have Linux installed first if you are to dual boot Linux and Windows due to bootloader requirments.
     
    Certifications: A+
  3. greenbrucelee
    Highly Decorated Member Award

    greenbrucelee Zettabyte Poster

    14,292
    265
    329
    Didn't think of that I will ask him.
     
    Certifications: A+, N+, MCDST, Security+, 70-270
    WIP: 70-620 or 70-680?
  4. zebulebu

    zebulebu Terabyte Poster

    3,748
    330
    187
    Really? That's news to me - and the twenty or so dual-boot systems I've set up in the past
     
    Certifications: A few
    WIP: None - f*** 'em
  5. greenbrucelee
    Highly Decorated Member Award

    greenbrucelee Zettabyte Poster

    14,292
    265
    329
    do you think his MBR is fooked?
     
    Certifications: A+, N+, MCDST, Security+, 70-270
    WIP: 70-620 or 70-680?
  6. supernova

    supernova Gigabyte Poster

    1,422
    21
    80
    if you turn off AHCI (Advanced Host Controller Interface) in the BIOS will it allow you to boot?

    Have you tried restoring GRUB?
     
    Certifications: Loads
    WIP: Lots
  7. soundian

    soundian Gigabyte Poster

    1,460
    71
    107
    It's possible to do it either way round.
     
    Certifications: A+, N+,MCDST,MCTS(680), MCP(270, 271, 272), ITILv3F, CCENT
    WIP: Knuckling down at my new job
  8. supernova

    supernova Gigabyte Poster

    1,422
    21
    80
    Yes , i think you need to restore the grub mbr.

    after you install windows you have to restore the grub mbr.

    Grub2 will be different but i expect its using a legacy version
     
    Last edited: Jan 12, 2010
    Certifications: Loads
    WIP: Lots
  9. greenbrucelee
    Highly Decorated Member Award

    greenbrucelee Zettabyte Poster

    14,292
    265
    329
    Tried restoring GRUB but no luck, I'll see what AHCI does when I get home.
     
    Certifications: A+, N+, MCDST, Security+, 70-270
    WIP: 70-620 or 70-680?
  10. zebulebu

    zebulebu Terabyte Poster

    3,748
    330
    187
    Yep - sounds like it
     
    Certifications: A few
    WIP: None - f*** 'em
  11. greenbrucelee
    Highly Decorated Member Award

    greenbrucelee Zettabyte Poster

    14,292
    265
    329
    thats what I thought as everything else I tried should have sorted it.
     
    Certifications: A+, N+, MCDST, Security+, 70-270
    WIP: 70-620 or 70-680?
  12. ThomasMc

    ThomasMc Gigabyte Poster

    1,507
    49
    111
    What process did you use to restore grub?
     
    Certifications: MCDST|FtOCC
    WIP: MCSA(70-270|70-290|70-291)
  13. greenbrucelee
    Highly Decorated Member Award

    greenbrucelee Zettabyte Poster

    14,292
    265
    329
    just with the boot disk as normal, don't know if there are any other ways.
     
    Certifications: A+, N+, MCDST, Security+, 70-270
    WIP: 70-620 or 70-680?
  14. ThomasMc

    ThomasMc Gigabyte Poster

    1,507
    49
    111
    So once you loaded up the disk what did you do i.e issue a command like boot=/dev/hda1 or manually edit file etc etc
     
    Certifications: MCDST|FtOCC
    WIP: MCSA(70-270|70-290|70-291)
  15. dmarsh
    Honorary Member 500 Likes Award

    dmarsh Petabyte Poster

    4,305
    503
    259
    Sounds like you need to fix the grub config to me.

    Hardware probing can change device / volume Id's if you change the system in terms of drives or partitions.
     
  16. greenbrucelee
    Highly Decorated Member Award

    greenbrucelee Zettabyte Poster

    14,292
    265
    329
    I did manually retype the GRUB menu settings.
     
    Certifications: A+, N+, MCDST, Security+, 70-270
    WIP: 70-620 or 70-680?
  17. dmarsh
    Honorary Member 500 Likes Award

    dmarsh Petabyte Poster

    4,305
    503
    259
    Yeah but did you pick the right Id's for the partitions ? They have probably changed.
     
  18. ThomasMc

    ThomasMc Gigabyte Poster

    1,507
    49
    111
    Have a shoofty over here
     
    Certifications: MCDST|FtOCC
    WIP: MCSA(70-270|70-290|70-291)
  19. Sparky
    Highly Decorated Member Award 500 Likes Award

    Sparky Zettabyte Poster Moderator

    10,718
    543
    364
    Cant say Ive every dual booted a Linux and Windows OS before but this may be of some use to get the Windows OS to boot...


    Boot from CD:
    System Recovery
    Command Prompt

    bootcfg /rebuild
    fixmbr
    fixboot
     
    Certifications: MSc MCSE MCSA:M MCSA:S MCITP:EA MCTS(x5) MS-900 AZ-900 Security+ Network+ A+
    WIP: Microsoft Certs
  20. dmarsh
    Honorary Member 500 Likes Award

    dmarsh Petabyte Poster

    4,305
    503
    259
    Sparky your approach will allow booting into windows but will kill grub and stop it being a dual boot machine.

    You can also then run Bcdedit.exe, but as far as i'm aware the windows boot loader only supports variants of windows.

    Thomas has the correct idea, either use a tool or recovery CD or boot off the linux live CD and then fix the config in linux manually.
     
    Last edited: Jan 12, 2010

Share This Page

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.