LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Dual boot Kubuntu 13.04 and XP (https://www.linuxquestions.org/questions/ubuntu-63/dual-boot-kubuntu-13-04-and-xp-4175476208/)

colorpurple21859 09-10-2013 11:28 AM

open up a terminal with the installer cd and then:
Code:

mount /dev/sda5 /mnt
mount --bind /dev /mnt/dev
mount ‐‐bind /proc /mnt/proc
mount ‐‐bind /sys /mnt/sys

Code:

chroot /mnt
Code:

grub-install /dev/sda

starsage77 09-10-2013 11:35 AM

Quote:

Originally Posted by colorpurple21859 (Post 5025354)
open up a terminal with the installer cd and then:
Code:

mount /dev/sda5 /mnt
mount --bind /dev /mnt/dev
mount ‐‐bind /proc /mnt/proc
mount ‐‐bind /sys /mnt/sys

Code:

chroot /mnt
Code:

grub-install /dev/sda

I'll have to try that once I'm home again tonight.
I just don't understand why; through multiple attempts, Grub never configures
properly during install and doesn't become bootable after 'repair'

starsage77 09-10-2013 06:45 PM

Tried it, still no dice. Reboots to Grub Rescue prompt again

colorpurple21859 09-10-2013 07:13 PM

Maybe chrooting back into the ubuntu and try to install the lilo boot loader in grubs place. The only other thing I can think of is there isn't enough room on the hard drive before the Xp partition starts for grub2 to fit.

starsage77 09-16-2013 07:47 PM

Quote:

Originally Posted by colorpurple21859 (Post 5025529)
Maybe chrooting back into the ubuntu and try to install the lilo boot loader in grubs place. The only other thing I can think of is there isn't enough room on the hard drive before the Xp partition starts for grub2 to fit.

How would I make room?

colorpurple21859 09-17-2013 06:45 AM

Take a live cd with gparted and shift the first partition over a small amount. It would be safer to install lilo.

starsage77 09-17-2013 06:51 AM

Quote:

Originally Posted by colorpurple21859 (Post 5029107)
Take a live cd with gparted and shift the first partition over a small amount. It would be safer to install lilo.

How much is 'a small amount'? Should I be able to easily find a guide to installing lilo? Also wondering why previous installations worked with installer loading grub... ponder, ponder

colorpurple21859 09-17-2013 09:22 AM

Quote:

Also wondering why previous installations worked with installer loading grub... ponder, ponder
I don't know? I'm not even sure if installing lilo will fix the problem. I had a similar problem at various occasions and these are two fixes that I come up with. Should be able to install lilo with package apt- get. You may be able to install from the installation cd.
Quote:

How much is 'a small amount'?
If I remember correctly it was about 1Mb - 2Mb.

starsage77 09-17-2013 09:25 AM

Quote:

Originally Posted by colorpurple21859 (Post 5029200)
I don't know? I'm not even sure if installing lilo will fix the problem. I had a similar problem at various occasions and these are two fixes that I come up with. Should be able to install lilo with package apt- get. You may be able to install from the installation cd.
If I remember correctly it was about 1Mb - 2Mb.

Would my existing XP (NTFS) partition even be bootable afterward?
I'm familiar with the fixmbr options from Windows Recovery

colorpurple21859 09-17-2013 10:00 AM

Quote:

Would my existing XP (NTFS) partition even be bootable afterward?
With lilo Yes(the safer option). Moving/shrinking the xp partition it should, however I have found out that what works for me sometimes causes major headaches for others. (lol)

starsage77 09-17-2013 10:13 AM

Quote:

Originally Posted by colorpurple21859 (Post 5029230)
With lilo Yes(the safer option). Moving/shrinking the xp partition it should, however I have found out that what works for me sometimes causes major headaches for others. (lol)

Ok, I'll try loading Lilo later tonight. Do you know of any documentation you'd recommend on the subject?

starsage77 09-18-2013 09:26 AM

I looked up an old friend (who just so happens to be a Linux Admin with his employer) and he suggested that merely installing Lilo in place of Grub wouldn't solve my problems.. that; since I was being greeted by a grub rescue; at the conclusion of install.. I'd be best to start over.
So I used Gparted to delete all of my partitions and reinstalled XP.. then let the installer for Kubuntu 13.04 handle repartitioning and.. VOILA! Now everything works as it should. Thanks for the input folks

colorpurple21859 09-18-2013 10:12 AM

At least you got it going, sometimes a reinstall will end up being the faster fix lol.


All times are GMT -5. The time now is 08:00 AM.