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.
|
|
08-12-2004, 09:53 AM
|
#1
|
LQ Newbie
Registered: Aug 2004
Posts: 8
Rep:
|
Problem with Lilo, /dev/hda1 have no valid bootsector
Hello
During the installation of my Slackware 10 system, Lilo could not install succefuly.
I get into my system with a bootdisk.
Lilo puts out this error message:
********************************************************
bash-2.05b# lilo
Added Slacki10 *
Fatal: First sector of /dev/hda1 doesn't have a valid boot signature
*********************************************************
Here is my lilo.conf:
**********************************************************
bash-2.05b# more lilo.conf
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
lba32 # Allow booting past 1024th cylinder with a recent BIOS
boot = /dev/hda3
#compact # faster, but won't work on all systems.
prompt
timeout = 50
# Normal VGA console
vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# ramdisk = 0 # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda3
label = Slacki10
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/hda1
label = FreeDOS
table = /dev/hda
# Windows bootable partition config ends
***********************************************************
I`ve installed FreeDOS on /dev/hda1.
Can anybody help me ?
|
|
|
08-12-2004, 10:06 AM
|
#2
|
Senior Member
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357
Rep:
|
I would replace the "boot = /dev/hda3" to "boot = /dev/hda", so that
lilo is installed to MBR.
|
|
|
08-12-2004, 10:09 AM
|
#3
|
Senior Member
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140
|
try ' /sbin/lilo -P ignore ' if it works
|
|
|
08-12-2004, 11:02 AM
|
#4
|
LQ Newbie
Registered: Aug 2004
Posts: 8
Original Poster
Rep:
|
I tried both solutions, but none of them seems to work. I get the same lilo error output.
Any suggestions?
THX
Sonic Traveler
|
|
|
08-12-2004, 01:03 PM
|
#5
|
Member
Registered: Jul 2004
Distribution: Slackware Current
Posts: 308
Rep:
|
Can you try commenting out the lines for your freedos
then execute /sbin/lilo
then please paste the output here. if something still goes wrong
|
|
|
08-12-2004, 01:12 PM
|
#6
|
Senior Member
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140
|
and ' /sbin/lilo -F ' ?
man lilo :
-F Override boot sector check for filesystems (e.g.,
swap, XFS, ...) which might be destroyed by the
installation of the LILO boot sector on the first
sector of the partition. These filesystems use the
first sector as a superblock.
Compare with "-P ignore", which bypasses certain
partition table checks.
|
|
|
08-12-2004, 05:40 PM
|
#7
|
LQ Newbie
Registered: Aug 2004
Posts: 8
Original Poster
Rep:
|
@insyte
Hello
I commented out the whole FreeDOS stuff... it works now.
`lilo`
Added Slacki10
But now, I cannot boot FreeDOS anymore.
Should I reinstall FreeDOS, don`t know if that fix the bootsector.
Greetings Sonic
|
|
|
08-12-2004, 10:19 PM
|
#8
|
Member
Registered: Jul 2004
Distribution: Slackware Current
Posts: 308
Rep:
|
can you run cfdisk, just check if if your freedos partition is marked as bootable
|
|
|
08-12-2004, 10:30 PM
|
#9
|
Member
Registered: Jul 2004
Distribution: Slackware Current
Posts: 308
Rep:
|
Next uncomment the first two lines for freedos
Quote:
other = /dev/hda1
label = FreeDOS
|
then add
Quote:
chainloader=/boot/fdosboot.bin
|
copy fdosboot.bin into your /boot directory
then /sbin/lilo
hope that works
If it still doesn't
try uncommenting
and see if it works
|
|
|
All times are GMT -5. The time now is 09:26 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
|
|