Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
i need to find out if there is a way i am able to install GRUB after i've installed windows. i don't care which version of GRUB i just want ...
  1. #1
    Linux Enthusiast flipjargendy's Avatar
    Join Date
    Aug 2004
    Location
    Xanadu, Titan, Saturn
    Posts
    610

    Installing ONLY Grub...

    i need to find out if there is a way i am able to install GRUB after i've installed windows. i don't care which version of GRUB i just want to be able to dual boot. i wanted to install Windows last because i was using an install CD that was no good and i have to reinstall Windows. i know each time i do so Windows overwrites the boot loader.

    i'm running Windows XP and Kubuntu 6.10

    Thanks in advance.
    Running Linux Since 2001®
    Registered Linux User #430868 - Since 9•12•06

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    boot up through Ubuntu LiveCD and execute this
    Code:
    sudo grub-install /dev/hda
    in case Harddisk is SATA, replace hda with sda.. GRUB will be back in bussiness.





    Casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Linux Enthusiast flipjargendy's Avatar
    Join Date
    Aug 2004
    Location
    Xanadu, Titan, Saturn
    Posts
    610
    The only problem is that when i have this problem i cannot access Linux. Do you think i could it from the command line of the install CD?
    Running Linux Since 2001®
    Registered Linux User #430868 - Since 9•12•06

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    The only problem is that when i have this problem i cannot access Linux. Do you think i could it from the command line of the install CD?
    you are right. after Window re-install, machine will boot up Windows only.
    boot up from any Linux LiveCD and execute 'grub-install' command in terminal.





    Casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Linux Enthusiast flipjargendy's Avatar
    Join Date
    Aug 2004
    Location
    Xanadu, Titan, Saturn
    Posts
    610
    Well, i've been waiting a bit to do it i needed a liveCD. Here's the printout from Konsole:

    Code:
    sudo grub-install /dev/hda
    Could not find device for /boot: Not found or not a block device.
    Running Linux Since 2001®
    Registered Linux User #430868 - Since 9•12•06

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    do you have SATA harddisk? as i suggested earlier, if you have SATA harddisk, replace hda with sda in grub-install command.
    Code:
    sudo grub-install /dev/sda




    Casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #7
    Linux Enthusiast flipjargendy's Avatar
    Join Date
    Aug 2004
    Location
    Xanadu, Titan, Saturn
    Posts
    610
    No go on that.

    Code:
    ubuntu@ubuntu:~$ sudo grub-install /dev/sda
    /dev/sda: Not found or not a block device
    Running Linux Since 2001®
    Registered Linux User #430868 - Since 9•12•06

  8. #8
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    post the output of 'sudo fdisk -l'.







    Casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  9. #9
    Linux Enthusiast flipjargendy's Avatar
    Join Date
    Aug 2004
    Location
    Xanadu, Titan, Saturn
    Posts
    610
    Code:
    ubuntu@ubuntu:~$ sudo fdisk -l
    
    Disk /dev/hda: 80.0 GB, 80060424192 bytes
    255 heads, 63 sectors/track, 9733 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/hda1               1         802     6442033+  83  Linux
    /dev/hda2             803        8651    63047092+   5  Extended
    /dev/hda3   *        8652        9732     8683132+   7  HPFS/NTFS
    /dev/hda5             803         926      995998+  82  Linux swap / Solaris
    /dev/hda6             927        8651    62051031   83  Linux
    Running Linux Since 2001®
    Registered Linux User #430868 - Since 9•12•06

  10. #10
    Linux Enthusiast flipjargendy's Avatar
    Join Date
    Aug 2004
    Location
    Xanadu, Titan, Saturn
    Posts
    610
    i used this.

    In the printout it said it was successful. i'll reboot now and we'll find out.

    UPDATE: - It worked, now i just need to edit my grub file so windows is included... i think.

    Thanks for the help
    Running Linux Since 2001®
    Registered Linux User #430868 - Since 9•12•06

Page 1 of 2 1 2 LastLast

Posting Permissions

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