about linux installation

6 views
Skip to first unread message

nitin shinde

unread,
Dec 25, 2010, 11:14:14 AM12/25/10
to linuxtalks
hi
i installed windows xp first and then i installed linux(GNU distro) on
my PC.
then due to some problem i again installed XP after that ther is no
option to boot through linux.
so plz help me to access linux os.

reply soon...

shreyas

unread,
Dec 27, 2010, 11:29:15 PM12/27/10
to linuxtalks
Hi Nithin,

Most people have faced this problem. The issue here is that when you
installed windows for the second time it wiped out your
bootloader( may be GRUB ) and installed it's own ( without asking
you ).

Now you just have to reinstall the bootloader that can boot both linux
& windows such as GRUB.

You can boot into a live CD of your distro and go to the terminal and
do,

sudo grub

// GRUB prompt comes

> find /boot/grub/stage1

// gives 1 or more partitions where grub is installed
// in the format (hdx,y)
// x -> hdd number
// y -> partition number

> root(hdx,y)

> setup(hdx)

> quit

now reboot tho see the GRUB menu.
Reply all
Reply to author
Forward
0 new messages