Find the answer to your Linux question:
Results 1 to 9 of 9
Hey guys I just updated my windows side of the computer to windows 7. Prior to the update I was also running Ubuntu 9.10 and when I would boot up ...
  1. #1
    Just Joined!
    Join Date
    Jan 2010
    Posts
    12

    Windows 7 Upgrade, where is grub?

    Hey guys I just updated my windows side of the computer to windows 7. Prior to the update I was also running Ubuntu 9.10 and when I would boot up the grub would come up asking me which I would like to boot. However, since the upgrade to windows 7 I no longer am getting this choice, the computer just automatically boots into windows 7. How to I get the grub back?!

    Thanks Guys!

    -Matt

  2. #2
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,073
    Yeah, Windows has a knack of taking over.
    You just need to reinstall GRUB.
    This link should get you going: Installing GRUB natively - GNU GRUB Manual 0.97

    If you run into any problems, post the output of:
    Code:
    fdisk -l
    and we'll get you fixed up.

    That's a lower case 'L', not a '1'
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.

  3. #3
    Just Joined!
    Join Date
    Jan 2010
    Posts
    12
    Quote Originally Posted by jayd512 View Post
    Yeah, Windows has a knack of taking over.
    You just need to reinstall GRUB.
    This link should get you going:

    If you run into any problems, post the output of:
    Code:
    fdisk -l
    and we'll get you fixed up.

    That's a lower case 'L', not a '1'
    How do I get into linux to do this? As I said the computer default boots to windows 7.

    Thanks!

  4. #4
    Linux Guru rokytnji's Avatar
    Join Date
    Jul 2008
    Location
    Pecos, Texas
    Posts
    2,946
    How do I get into linux to do this
    Boot up your Ubuntu 9.10 Live CD. If Unavailable. Download Ubuntu 9.10 in Windows 7 and burn a new CD.

    Edit: Another option is to use Super Grub Disk Homepage to repair Grub Bootloader.
    Linux Registered User # 475019
    Lead,Follow, or get the heck out of the way
    AntiX,Puppy,Ubuntu,Windows 7=(cuz of scooters)
    Open CourseWare for Linux Geeks

  5. #5
    Just Joined!
    Join Date
    Jan 2010
    Posts
    12
    Quote Originally Posted by rokytnji View Post
    Boot up your Ubuntu 9.10 Live CD. If Unavailable. Download Ubuntu 9.10 in Windows 7 and burn a new CD.

    Edit: Another option is to use Super Grub Disk Homepage to repair Grub Bootloader.
    I have the CD and I put it in, but which option do I choose? Boot from CD? if so then when I install the new grub does it actually install to my hard drive since I am booting from the CD?

    thanks

  6. #6
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    1,946
    I have the CD and I put it in, but which option do I choose? Boot from CD?
    Yes, boot from CD. Which CD are you referring to,Ubuntu or SuperGrub?

    if so then when I install the new grub does it actually install to my hard drive since I am booting from the CD?
    Yes, it should install to the hard drive. You should post your partition information as suggested above using the command from Ubuntu CD if that's what you are using: sudo fdisk -l (lower case Letter L in command) You could then get specific instructions on what to do from someone here.

  7. #7
    Just Joined!
    Join Date
    Jan 2010
    Posts
    12
    Here you go, someone help please!!

    ubuntu@ubuntu:~$ sudo fdisk -l

    Disk /dev/sda: 120.0 GB, 120034123776 bytes
    255 heads, 63 sectors/track, 14593 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x282d282d

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 12934 103892323+ 7 HPFS/NTFS
    /dev/sda2 12936 14462 12265627+ c W95 FAT32 (LBA)
    /dev/sda3 14463 14593 1052257+ d7 Unknown

    Disk /dev/sdb: 120.0 GB, 120034123776 bytes
    255 heads, 63 sectors/track, 14593 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x8ab6c477

    Device Boot Start End Blocks Id System
    /dev/sdb1 1 10678 85771003+ 7 HPFS/NTFS
    /dev/sdb2 10679 14593 31447237+ 5 Extended
    /dev/sdb5 10679 14426 30105778+ 83 Linux
    /dev/sdb6 14427 14593 1341396 82 Linux swap / Solaris

  8. #8
    Just Joined!
    Join Date
    Jan 2010
    Posts
    12
    They are both 120GB internal laptop hard drives.

  9. #9
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,073
    You should be able to install GRUB from any LiveCD.

    Boot up, and from a terminal, execute:
    Code:
    grub-install                            You'll get a grub prompt.
    root (hd1,0)                            This should set the root device as sdb1.
    setup (hd0)                             Installs GRUB to the MBR of the second drive.
    Post back if you have any issues.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.

Posting Permissions

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