SlackwareThis 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.
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.
/dev/sda3 on / type ext3 (rw)
proc on /proc type proc (rw)
/dev/sda2 on /boot type ext3 (rw)
/dev/sda5 on /var/log type ext3 (rw,noexec,nosuid,nodev)
/dev/sda6 on /tmp type ext3 (rw,noexec,nosuid,nodev)
/dev/sda7 on /home type ext3 (rw,nodev)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)
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/sda
Fatal: VolumeID read error: sector 0 of /dev/sdb not readable
? I had a strange problem with lilo too in Slackware 10.2 where I had a microdrive (/dev/hde) inserted in the PCMCIA slot of my laptop, and did not have it mounted.
Lilo refused to install a new bootloader and gave weird errors, unless I mounted the microdrive... even though /dev/hde was nowhere mentioned in /etc/lilo.conf
Originally posted by Alien Bob What is the output of
Code:
fdisk -l
? I had a strange problem with lilo too in Slackware 10.2 where I had a microdrive (/dev/hde) inserted in the PCMCIA slot of my laptop, and did not have it mounted.
Lilo refused to install a new bootloader and gave weird errors, unless I mounted the microdrive... even though /dev/hde was nowhere mentioned in /etc/lilo.conf
Eric
fdisk -l output follows:
Code:
Disk /dev/sda: 72.8 GB, 72802631680 bytes
254 heads, 63 sectors/track, 8885 cylinders
Units = cylinders of 16002 * 512 = 8193024 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 122 976090+ 82 Linux swap
/dev/sda2 * 123 128 48006 83 Linux
/dev/sda3 129 494 2928366 83 Linux
/dev/sda4 495 8885 67136391 5 Extended
/dev/sda5 495 561 536035+ 83 Linux
/dev/sda6 562 579 143986+ 83 Linux
/dev/sda7 678 8885 65672176+ 83 Linux
Here is direct output from /proc/partitions
Notice those sdb partitions listed. Which are unknown to me.
Indeed it was sdb, and somewhat similar to your microdrive issue. I sat down and checked some old logs for issues regarding sdb, and behold:
Code:
Jul 14 15:01:34 mx03 kernel: hub.c: new USB device 00:1d.7-2, assigned address 2
Jul 14 15:01:37 mx03 kernel: Initializing USB Mass Storage driver...
Jul 14 15:01:37 mx03 kernel: usb.c: registered new driver usb-storage
Jul 14 15:01:37 mx03 kernel: scsi2 : SCSI emulation for USB Mass Storage devices
Jul 14 15:01:37 mx03 kernel: sdb: sdb1
Jul 14 15:01:37 mx03 kernel: USB Mass Storage support registered.
Jul 14 15:05:52 mx03 kernel: usb.c: USB disconnect on device 00:1d.7-2 address 2
Someone connected a usb drive (I did think the 156290904 block size in the partition table was rather large..) to the server without my knowledge. (the server is remotely hosted.)
The sdb device was still known in the active partition table and caused problems as it obviously ain't mounted. That left two solutions, mount it or remove it. The latter would be my choice.
I reloaded slackwares hotplug system which smoothly removed the sdb device from the partition table and lilo worked just fine and dandy.
As far as I am concerned this is either a bug in lilo or an undesired feature. But I have not delved too deep into the problem after I found out I could get away with mounting the microdrive before running lilo. There might be something I have overlooked.
Comments, anyone?
It's maybe more likely to be a issue with the usb subsystem in the 2.4 kernel than lilo. It obviously didn't cleanly remove the drive, as it was left in /proc/partitions as a "zombie".
Originally posted by PurpleMotion It's maybe more likely to be a issue with the usb subsystem in the 2.4 kernel than lilo. It obviously didn't cleanly remove the drive, as it was left in /proc/partitions as a "zombie".
Well.... I have only experienced this with 2.6 kernels. When booting the same hardware with a 2.4 kernel, I do not have this problem. In fact, before I discovered how I could circumvent the problem by mounting my microdrive, I rebooted to a 2.4 kernel just to run lilo!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.