Originally Posted by Randux
> During the installation what option was chosen, MBR or
> Was the device that you selected active/enable to boot?
Yes, I just installed everything on the device prior to doing this step.
> Sometime the SPL will get scrambled or corrupted. You can fix
> this for XP by using the boot repair.
What's an SPL and what is boot repair?
>By chance did you allow/select the mount of your XP during
I used the "expert" option and added XP first, then the new slackware distro.
> What happens when you do the following while in your distro;
> lilo -v -t -b /dev/hdp# # p# should be your device
> If you get no errors then;
> lilo -v -b /dev/hdp# #as above.
I don't know how to get the distro to come up.
I can boot XP or a live CD.
> This is explicit and will write the boot. Provide output for
> both above command.
How? I don't know how to capture console output.
> I like to boot from /dev/fd0 first to make sure everything is
> working. I then boot from my /dev/hda1 since it is my boot. I
> will then use other active partitions to boot using the other=
> lilo option to select another install. Sure I get another boot
> lilo menu but this can be defeated if you want. But this gives
> visual feedback for the selection of choice.
I don't have a floppy- it's a laptop. And I have no DOS boot disk.
> In order to assist in the diagnosis of your problem, please
> provide any error information outputted. Your lilo.conf, fdisk
> -l and your dmesg after boot would help.
I think it's pretty clear from reading the postings here that there is a major problem with lilo and/or slackware 10.2 installation. Many people are reporting the same symptom: MBR is NOT getting updated by lilo during slackware 10.2 installation.
I didn't receive any messages.
It would help to know why lilo won't write an MBR.
I have to figure out how to get the slackware 10.2 installation setup to point to my installation so it can use the lilo.conf it created (but never installed). And then I can use the commands you gave.
First look at my sig for some good reference. Use this to help you get through some of the elementary needs. Another good reference is 'Linux in a Nutshell A Desktop quick reference' By Ellen Siever from O'Reilly.
Now to get you to boot to your distro if it is there;
Put the installation cd1 in and boot to the boot screen;
bare.i root=/dev/hda1 noinitrd ro #you can chose the kernel of choice
# I assume you used the bare.i for
#ide boot kernel & that root is
#indeed on /dev/hda1
If the system then boots, you can login then do the lilo commands as suggested.
If you still can't write the lilo? Do you have your BIOS set for virus check or inhibit/prevent/disable MBR writes?
As for spl 'simple program loader' Some people use 'Standard program loader' and ipl 'initial program loader'. I'm showing my old habits with DEC on some of my terminology.
Ranish is a great tool to have, it includes a boot manager plus a means of disc maintenance. You can get SystemRescueCD which contains a lot of other useful tools. Slax is another good maintenance cd.
As for boot repair, that is a maintenance option for windows/xp.
If your installation didn't go well;
For the setup option during Slackware install. Did you follow the screen instructions to partition the Hard drive with cfdisk or fdisk?
I like to do my own by;
then partition (my system requires a different config), do your own as dictated by your system. I would suggest at this point to put all of / on one partition (PV suggest 3GB+) allow for growth. Create a swap.
Make /dev/hda1 active then Write to disk!
Then reboot to update partition table!
After reboot of install cd then; note: the # is your system prompt and
# is used for my comments
#mke2fs -c /dev/hda1 #this should be the partition you created
#with cfdisk/fdisk If win/xp is on your first
#drive then it would be /dev/hdb1. If it is
#second drive. If the partition was created
#at the end of drive 1 then it would be the
#next partition number /dev/hda2
#mkswap -c /dev/hda2 #same goes for the swap
#swapon /dev/hda2 #turns the swap on
You can select the reformat options without a hitch.
Do a full install.
It will give you an option to create a bootdisk. If you have a floppy then create one. You can use it to boot if a problem occurs.
Just let lilo do a simple install!
Select either MBR or superblock. This will be written to the active boot device.
As for output redirection from the stdout device;
#dmesg | less # | is the shift \
#will pipe the output to less to allow you to see
#kernel ring buffer (system messages)
#dmesg >mydmesg.txt #will redirect output to a file named mydmesg.txt
#cat lilo.conf >mylilo.conf # redirect lilo.conf to mylilo.conf
These can then be posted for diagnosis.
As suggested before read either the references or man pages
Man is a little hard to understand for a noob but you should use it and get familiar with the commands. Heck I still have to reference for switches/parameters at times, so man is frequently used by me. The 'Linux in a NUTSHELL' is a great help for cli (command line interface) users.