Results 1 to 9 of 9

Thread: Boot manager? Evil XP?

  1. #1
    Join Date
    Oct 2008
    Beans
    9

    Boot manager? Evil XP?

    Not sure if this is the correct forum but here follows my problem.
    I'd been running ubuntu and xp on my laptop for a couple of months (hp nx5000 1g ram) Had to reinstall xp cause of virus' and whatnot. Reinstalled successfully but now the partition running ubuntu (10gig) has completly vanished. I backed my data on the ubuntu partition on an external hd but viewing it from a microsoft OS says the backup folders are empty. Did the Xp instalation do something or is it hardware ? I don't want to reinstall the ubuntu os coz i'd lose my stuff. Can anyone help?

  2. #2
    Join Date
    Jan 2008
    Location
    the space between spaces.
    Beans
    1,654

    Re: Boot manager? Evil XP?

    In Windows XP, go to Run and type
    Code:
    diskmgmt.msc
    and look at the partitions for your main disk... is the Ubuntu partition still there? Or has XP just overwritten GRUB?
    "If a cluttered desk signs a cluttered mind, Of what, then, is an empty desk a sign?" -Albert Einstein.

  3. #3
    Join Date
    Oct 2008
    Beans
    9

    Re: Boot manager? Evil XP?

    Did that (thanks) the partirion is there marked '9.51 Healthy : unknown partition' along with a small 251mb partition which i assume is the 'swap'. What does that mean?

  4. #4
    Join Date
    Jan 2008
    Location
    the space between spaces.
    Beans
    1,654

    Re: Boot manager? Evil XP?

    That means that GRUB was overwritten. Just do the following:
    http://ubuntuforums.org/showthread.php?t=224351
    Good Luck!
    "If a cluttered desk signs a cluttered mind, Of what, then, is an empty desk a sign?" -Albert Einstein.

  5. #5
    Join Date
    Oct 2008
    Beans
    9

    Re: Boot manager? Evil XP?

    Okay, When i boot it doesn't go into the grub options screen. So i figure I need to reinstall the Grub boot manager. Correct? If yes how do i do that?

  6. #6
    Join Date
    Jan 2008
    Location
    the space between spaces.
    Beans
    1,654

    Re: Boot manager? Evil XP?

    The link was in my previous post.
    "If a cluttered desk signs a cluttered mind, Of what, then, is an empty desk a sign?" -Albert Einstein.

  7. #7
    Join Date
    Oct 2008
    Beans
    9

    Re: Boot manager? Evil XP?

    Yeah that looks within my humble abilities. thanks

  8. #8
    Join Date
    Oct 2008
    Beans
    9

    Re: Boot manager? Evil XP?

    After loading grub on the live cd and running Grub in terminal, this is what hasn't worked:

    grub> find /boot/grub/stage1
    (hd0,6)
    (hd0,6)

    grub> root (hd0,6)
    Filesystem type is ext2fs, partition type 0x83

    grub> setup (hd0)
    Checking if "/boot/grub/stage1" exists... yes
    Checking if "/boot/grub/stage2" exists... yes
    Checking if "/boot/grub/e2fs_stage1_5" exists... yes
    Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... success
    Running "embed /boot/grub/e2fs_stage1_5 (hd0,6)"... success
    )
    Running "install /boot/grub/stage1 d (hd0) /boot/grub/stage2 p /boot/grub/menu
    .lst "... failed

    (Followed some other tutes that also didn't work)

    Also found a 'grubconfig' program with a GUI on another linux live cd (puppy linux)
    which lets you re-embed Grub. I clicked all the relevant boxes to but
    it on 'MBR', it said 'success'. Rebooted and it goes ******' XP
    again.. ahhh

    Any Ideas? I mean don't i want it to boot off MBR (hd0) as opposed to
    the OS's respective partition
    (hd0,6)?
    Last edited by w1nst0nsm1th; October 15th, 2008 at 01:36 AM.

  9. #9
    Join Date
    Mar 2008
    Location
    California, USA
    Beans
    8,111

    Re: Boot manager? Evil XP?

    Please post:
    Code:
    sudo fdisk -lu
    It sounds like you might have a problem with your HDD's partition table, but post the above first and we can work from there.

Bookmarks

Posting Permissions

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