LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (https://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   LILO boot problem (https://www.linuxquestions.org/questions/slackware-installation-40/lilo-boot-problem-537282/)

akrusm 03-13-2007 11:00 PM

LILO boot problem
 
Hi,

i install slackware 10.2 from cds. i install LILO boot loader for /root, when i restart they did not boot. i give this command

bare.i root=/dev/hda2

then they boot the slackware kindly tell me. how can they boot automatically.

Thanks

bioe007 03-14-2007 02:31 AM

Did you remove the CD? :D

What do you mean they did not boot? Do you get the lilo screen?

When you say 'boot automatically' do you mean by pressing enter at the lilo screen or you don't want to see the lilo screen?

Where did you type 'bare.i root=...' ??

need to see your lilo.conf file.

an example:
Code:

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
message = /boot/boot_message.txt
prompt
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
  reset
# VESA framebuffer console @ 1024x768x256
vga = 773

# End LILO global section
# Linux bootable partition config begins
image = /boot/bzImage-2.6.19.1c
  root = /dev/hda1
  label = Kernel-.19.1c
  read-only

image = /boot/bzImage-2.6.19.1d
  root = /dev/hda1
  label = Kernel-.19.1d
  read-only
image = /boot/vmlinuz
  root = /dev/hda1
  label = Linux
  read-only
# Linux bootable partition config ends


akrusm 03-14-2007 01:04 PM

i boot from slackware CD then i enter this command at boot prompt.

bare.i root=/dev/hda2

and i don't see lilo screen.

onebuck 03-14-2007 02:00 PM

Quote:

Originally Posted by akrusm
i boot from slackware CD then i enter this command at boot prompt.

bare.i root=/dev/hda2

and i don't see lilo screen.

Hi,

If you installed the lilo to the 'MBR' then you don't need to use the install cd to boot. Remove the install cd from your reader. Then reboot the machine. If everything is right then you will see a lilo menu. If not then your install to the 'MBR' may not have been valid.

You can use the install cd to boot then as root;

Code:

#mkdir /slack
#mount /dev/hda# /slack              #change /dev/hda# to yours
#chroot /slack                        #change root
#cd /slack/etc                        #you can edit lilo.conf
#vi lilo.conf                        #I like vi to make changes
                                      #then save
#lilo -v -t -b /dev/hda              #test lilo.conf
#lilo -v -b /dev/hda                  #change /dev/hda to yours
                                      #write 'MBR'

You can now reboot.

akrusm 03-14-2007 07:56 PM

Thanks your help


All times are GMT -5. The time now is 09:50 PM.