LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-06-2005, 09:41 AM   #1
mandrakelinux
Member
 
Registered: Apr 2005
Posts: 55

Rep: Reputation: 15
problem installing LILO


i've problem starting my slack . (dual boot ) win xp
1- i installed slack 10.1 from bootable cd without any problems but when
reached lilo step it failed .
2- i decided to install it from cd . i booted the 1st cd and i typed bare.i /dev/hda4 no initrd as my slack partition is hda4 in order to boot as root and tryed to type lilo and this what happend
Code:
root@slackware:/# lilo
/etc/lilo.conf : no such file or directory
3-i also tried to see if there is any problem in fstab
Code:
:/# /etc/fstab 
permission denied
4- i've toggled a bootable flag to linux partition
i've tried a lot of things but can't remember it now . really i'm frustrated
any idea will be appreciated
 
Old 11-06-2005, 10:23 AM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
For the error 2 : you have to create the /etc/lilo.conf file

For the error 3 : you typed "/etc/fstab" at the prompt, so the shell
believed it is a command and tried to execute it, however as
this file has not the executable bit set, the shell has no permission
to execute it.

To display a file, try : cat /etc/fstab
 
Old 11-06-2005, 11:58 AM   #3
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
1,2) try to run " liloconfig " , pick the " expert " option and install in the mbr.
( this will also produce a lilo.conf file )
if it fails, can you post the error-message here ( if any ).

4) the bootable flag should be on your wintendo partition.
linux doesn't care.

egag
 
Old 11-06-2005, 12:39 PM   #4
mandrakelinux
Member
 
Registered: Apr 2005
Posts: 55

Original Poster
Rep: Reputation: 15
thanks to everyone
i tried liloconfig command but at last step it said
Quote:
lilo install error #1
sorry but the attempt to install lilo has returned an error , so lilo has not been installed , u will have to use bootdisk............
 
Old 11-06-2005, 01:30 PM   #5
mandrakelinux
Member
 
Registered: Apr 2005
Posts: 55

Original Poster
Rep: Reputation: 15
this is my /etc/lilo.conf
Quote:
# Lilo configuration file
# generated by 'liloconfig'
#
# Start lilo global section
boot = /dev/fd2
# compact #faster , but won't work on all systems.
prompt
# timeout = 300
# vesa framebuffer console @ 800*600*32k
vga = 787
# Normal vga console
# vga = normal
# vesa framebuffer console @ 1024*768*64k
# vga=791
# vesa framebuffer console @ 1024*768*32k
# vga=790
# vesa framebuffer console @ 1024*768*256
# vga=773
# vesa framebuffer console @ 800*600*64k
# vga=788
# vesa framebuffer console @ 800*600*32k
# vga=787
# vesa framebuffer console @ 800*600*256
# vga=771
# vesa framebuffer console @ 640*480*64k
# vga=785
# vesa framebuffer console @ 640*480*32k
# vga=784
# vesa framebuffer console @ 640*480*256
# vga=769
# ramdisk = 0 # paranoia setting
# end lilo global section
 
Old 11-06-2005, 02:06 PM   #6
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
you didn't add a linux and windows partition.
run liloconfig again, and this time make sure you do :

-start with new header
-add linux partition
-add windows partition
- install in the mbr

that should work.

egag
 
Old 11-06-2005, 02:25 PM   #7
mandrakelinux
Member
 
Registered: Apr 2005
Posts: 55

Original Poster
Rep: Reputation: 15
sorry i forgot to write the rest of /etc/lilo.conf
this is my whole lilo.conf
Quote:
# Lilo configuration file
# generated by 'liloconfig'
#
# Start lilo global section
boot = /dev/fd2
# compact #faster , but won't work on all systems.
prompt
# timeout = 300
# vesa framebuffer console @ 800*600*32k
vga = 787
# Normal vga console
# vga = normal
# vesa framebuffer console @ 1024*768*64k
# vga=791
# vesa framebuffer console @ 1024*768*32k
# vga=790
# vesa framebuffer console @ 1024*768*256
# vga=773
# vesa framebuffer console @ 800*600*64k
# vga=788
# vesa framebuffer console @ 800*600*32k
# vga=787
# vesa framebuffer console @ 800*600*256
# vga=771
# vesa framebuffer console @ 640*480*64k
# vga=785
# vesa framebuffer console @ 640*480*32k
# vga=784
# vesa framebuffer console @ 640*480*256
# vga=769
# ramdisk = 0 # paranoia setting
# end lilo global section
# linux bootable partition config begins
image = /boot/vmlinuz
root =
label = slack
read-only # Non-umsdos filesystems should be mounted read-only for
# linux bootable partition config ends
# windows bootable partition config begins
other = /dev/hda1
label = winxp
table = /dev/hda
3windows bootable partition config ends
 
Old 11-06-2005, 02:38 PM   #8
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
--------
#
# Start lilo global section
boot = /dev/hda <-------change this line
# compact #faster , but won't work on all systems.
prompt
---------

---------
# linux bootable partition config begins
image = /boot/vmlinuz
root =/dev/hda? <----------fill in your Slack-partition
label = slack
----------

save the file and type " lilo"
watch the output ( should be " added slack, added winxp" or so )

egag
 
Old 11-06-2005, 04:51 PM   #9
mandrakelinux
Member
 
Registered: Apr 2005
Posts: 55

Original Poster
Rep: Reputation: 15
which text editor slackware uses ?
or
how do i change these lines
i'm slackware nowbie my friend
 
Old 11-06-2005, 05:16 PM   #10
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
oh...pico will do
-type " pico /etc/lilo.conf "
-do the editing
-ctrl-o and then " enter " to save
-ctrl-x to exit.

commands are also listed on the bottom of the screen.

egag
 
Old 11-06-2005, 06:03 PM   #11
mandrakelinux
Member
 
Registered: Apr 2005
Posts: 55

Original Poster
Rep: Reputation: 15
a lot of thanks egag
here is the last news
when typed pico /etc/lilo.conf . i saw blank page with pico version at the top of page and pico's commands at the bottom of page and it says file /etc/lilo.conf not found
when i tried to view my lilo.conf from expert menu i found it . where has it gone ?
really i do want to know what is happening with me ?
 
Old 11-06-2005, 06:40 PM   #12
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
what is the " expert menu " ?
( i don't understand )

are you sure you didn't make a typo ?
do a : ls -l /etc/lilo.conf
to see if it's there.

egag
 
Old 11-06-2005, 06:47 PM   #13
mandrakelinux
Member
 
Registered: Apr 2005
Posts: 55

Original Poster
Rep: Reputation: 15
expert menu that derives from liloconfig command to install lilo
i did ls -l /etc/lilo.conf and no such file or directory

Last edited by mandrakelinux; 11-06-2005 at 06:48 PM.
 
Old 11-06-2005, 07:07 PM   #14
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
then rerun liloconfig and afterwards check the file.
fill in all the fields correct. ( take it easy )

egag
 
Old 11-06-2005, 07:36 PM   #15
mandrakelinux
Member
 
Registered: Apr 2005
Posts: 55

Original Poster
Rep: Reputation: 15
i tried it a lot of times and this is what happened step by step
1- 3 choices (simple ,expert .skip )and my choice was expert
2- (begin, linux , windows ,install , recycle , skip, view , help )
i clicked begin ,
(afterwards it asks for parameter ) i don't know what it means and i clicked enter
3- screen buffer page , i tried 5 choices
4- target page 3 choices (root, floppy, mbr) i clicked root as i don't need to overwrite mbr
5-lilo timeout , i clicked 30 second
now finished the begin menu
6- i clicked linux and assigned /dev/hda4 and named it as slack
7- i clicked windows and assigned /dev/hda1 and named it win or whatever
8- at the end i clicked install and this error came again (lillo install error #1)
i know you got tired and i've searched a lot of web pages without usefulness
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem installing LILO from YAST jrattner1 SUSE / openSUSE 1 08-06-2005 04:08 AM
How To Keep LILO From Installing philipogletree Debian 1 08-05-2005 06:53 AM
Open bsd messed up my MBR, problem with installing Slackware lilo klemen Slackware 2 04-06-2005 05:37 AM
Lilo vs Grub - PROBLEM with lilo nelsonnery Linux - Software 2 09-09-2004 11:09 AM
Problem with Lilo not updating (yes I ran lilo after changing the conf) webguy Linux - General 2 06-24-2001 07:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration