Slackware - InstallationThis forum is for the discussion of installation issues with Slackware.
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.
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.
I just upgraded to Slack 10.0 from 9.1 following the instructions in UPGRADE.TXT. As per that document I ran lilo and got the following error message:
root@slack:~# lilo
Fatal: VolumeID read error: sector 0 of /dev/sda not readable
I'm not sure what this means since linux is on /dev/hda4 on my system and /dev/sda is not mentioned anywhere in /etc/lilo.conf.
For more info I ran lilo -v and got:
root@slack:~# lilo -v
LILO version 22.5.9, Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2004 John Coffman
Released 08-Apr-2004 and compiled at 00:18:50 on May 21 2004.
Warning: LBA32 addressing assumed
Reading boot sector from /dev/hda4
Fatal: VolumeID read error: sector 0 of /dev/sda not readable
I'm not sure what any of this means and so I don't want to reboot for fear of not being able to boot linux. Anyone have any advice - are my fears ungrounded, or is this something I should fix before shutting down??
Thanks,
geomatt
And here's the uncommented parts of my /etc/lilo.conf in case it helps diagnose what's going on here:
# Start LILO global section
boot="/dev/hda4"
vga="773"
image="/boot/vmlinuz"
root="/dev/hda4"
label="linux"
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
append="hdc=ide-scsi"
masand,
Thanks for the reply. The reason it is hda4 is because I am dual booting with windows xp and my linux lives on hda4. I tried getting rid of the quotes, but it didn't have any effect.
I do have some new info that may be helpful. Googling on the error message got me the advice that I should add the line
disk=/dev/sda inaccessible
to /etc/lilo.conf. I did this and then ran lilo and got:
root@slack:~# lilo -v
LILO version 22.5.9, Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2004 John Coffman
Released 08-Apr-2004 and compiled at 00:18:50 on May 21 2004.
Warning: LBA32 addressing assumed
Reading boot sector from /dev/hda4
Warning: bypassing VolumeID scan of drive flagged INACCESSIBLE: /dev/sda
Using MENU secondary loader
Calling map_insert_data
Boot image: /boot/vmlinuz -> vmlinuz-ide-2.4.26
Added linux *
Seems better. But I am still worried about booting with warnings from lilo. Maybe I am being paranoid but I had a bit of a scare a couple weeks ago with lilo and now I'm not taking any chances.
Hey thanks for the reply.
I ended up doing a clean new installation of Slack 10.0 since I had lots of other issues to deal with. So far so good. Now I gotta try reinstalling some stuff that is not in the standard Slack distro.
Cheers,
geomatt
Makes no difference, I have the same problem and i have:
boot=/dev/hda
Lilo still complains about being unable to read sector 0 of sda (which is quite normal as the sda it's referring to is a removable usb harddrive that is kilometers away from the machine at the moment, I would be amazed if it would be accessible). I will try
disk=/dev/sda inaccessible
trick in lilo.conf as soon as I get home. What I do not understand is why lilo is so worried about the absense of sda since the drive in question has absolutely nothing to do whatsoever with the boot process. This is by far the most stupid bug (or misfeature) I've ever run into.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.