Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
11-06-2005, 09:41 AM
|
#1
|
Member
Registered: Apr 2005
Posts: 55
Rep:
|
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
|
|
|
11-06-2005, 10:23 AM
|
#2
|
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,798
|
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
|
|
|
11-06-2005, 11:58 AM
|
#3
|
Senior Member
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721
Rep:
|
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
|
|
|
11-06-2005, 12:39 PM
|
#4
|
Member
Registered: Apr 2005
Posts: 55
Original Poster
Rep:
|
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............
|
|
|
|
11-06-2005, 01:30 PM
|
#5
|
Member
Registered: Apr 2005
Posts: 55
Original Poster
Rep:
|
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
|
|
|
|
11-06-2005, 02:06 PM
|
#6
|
Senior Member
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721
Rep:
|
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
|
|
|
11-06-2005, 02:25 PM
|
#7
|
Member
Registered: Apr 2005
Posts: 55
Original Poster
Rep:
|
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
|
|
|
|
11-06-2005, 02:38 PM
|
#8
|
Senior Member
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721
Rep:
|
--------
#
# 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
|
|
|
11-06-2005, 04:51 PM
|
#9
|
Member
Registered: Apr 2005
Posts: 55
Original Poster
Rep:
|
which text editor slackware uses ?
or
how do i change these lines
i'm slackware nowbie my friend 
|
|
|
11-06-2005, 05:16 PM
|
#10
|
Senior Member
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721
Rep:
|
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
|
|
|
11-06-2005, 06:03 PM
|
#11
|
Member
Registered: Apr 2005
Posts: 55
Original Poster
Rep:
|
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 ? 
|
|
|
11-06-2005, 06:40 PM
|
#12
|
Senior Member
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721
Rep:
|
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
|
|
|
11-06-2005, 06:47 PM
|
#13
|
Member
Registered: Apr 2005
Posts: 55
Original Poster
Rep:
|
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.
|
|
|
11-06-2005, 07:07 PM
|
#14
|
Senior Member
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721
Rep:
|
then rerun liloconfig and afterwards check the file.
fill in all the fields correct. ( take it easy )
egag
|
|
|
11-06-2005, 07:36 PM
|
#15
|
Member
Registered: Apr 2005
Posts: 55
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 10:03 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|