LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Bootloader problem (https://www.linuxquestions.org/questions/linux-newbie-8/bootloader-problem-636118/)

jestinjoy 04-17-2008 08:39 PM

Bootloader problem
 
In my system two OS' installed.Slackware 11.0 and windows XP. When I re installed XP, the bootloader doesn't came up while booting. Windows XP is loaded straight. How could I make Bootloader come againg,so that I can go to linux.

Is there any bootloader programs in Windows.

Plz Help

{BBI}Nexus{BBI} 04-17-2008 08:51 PM

Use your Slackware installation disc to restore the grub bootloader.

dxqcanada 04-17-2008 08:53 PM

When you installed Windows it created a new MBR. This removed the MBR that booted your previous loader that allowed you to choose between the two OS's.

You could boot with a LiveCD ... then reinstall the boot loader into the MBR.

onebuck 04-17-2008 10:55 PM

Hi,

You can use the Slackware Install cd1 to boot your system.
The easiest way would be to use the install cd1 to boot the system as if you were going to install.

After you get to the login then from the cli (command line);

Code:

~#mkdir /slacktemp                  #temporary mount point
~#mount /dev/your_device /slacktemp  #the device you installed to
~#chroot /slacktemp                  #change to yours
~#cd /slacktemp/etc                  #change to directory with lilo.conf
~#vi lilo.conf                      #edit lilo.conf, if need be
~#lilo -v -t -b /dev/your_device    #sda, hda this will only test
~#lilo -v -b /dev/your_device        #this will write MBR to your_device

You can 'man commands' in the above example to get a full understanding of the commands and options.

You can use 'LINUX MAN PAGES ONLINE' to get command definitions.

This link and others are available from 'Slackware-Links' .

jestinjoy 04-18-2008 01:32 AM

re
 
My problem is that I dont have slackware CD with me. Is there any program in windows which helps to load multiple OS'

SkittleLinux18 04-18-2008 04:21 AM

Quote:

Originally Posted by jestinjoy (Post 3124912)
My problem is that I dont have slackware CD with me. Is there any program in windows which helps to load multiple OS'

Alright, you have two options. 1) you could download a new Slackware .iso file from here, and then burn it. Or 2) you could download SuperGRUB Disk from here and then burn that to disk.

If you go option 2, you'll have to boot to it. Follow the directions on the screen and select the necessary options in the pop-up windows and it should restore it. However, I am not sure if this restore GRUB with Windows in the menu to select. If not, just boot into slackware and reconfigure your bootloader to have Windows in the menu and then reinstall it. Good Luck

mobinskariya 10-10-2008 08:45 AM

insert any of the linux cd.press ctrl+alt+f2
then u will get a shell prompt

enter the following code
Code:


mkdir /linux
mount /dev/sdax /linux
chroot /linux

grub
>root (hd0,x-1)
>setup(hd0)
>quit
>restart

replace x with ur healthy linux partition


All times are GMT -5. The time now is 11:23 PM.